Files
codeql/python/ql/test/library-tests/comprehensions/AST.ql
2018-11-19 15:15:54 +00:00

6 lines
181 B
Plaintext

import python
from AstNode child, AstNode parent
where child.getParentNode() = parent
select child.getLocation().getStartLine(), child, parent.getLocation().getStartLine(), parent