Files
codeql/python/ql/test/library-tests/exprs/ast/Child.ql
2020-03-30 11:59:10 +02:00

6 lines
156 B
Plaintext

import python
from AstNode p, AstNode c
where p.getAChildNode() = c
select p.getLocation().getStartLine(), p.toString(), c.getLocation().getStartLine(), c