mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
7 lines
205 B
Plaintext
7 lines
205 B
Plaintext
import python
|
|
|
|
from AstNode parent, AstNode child
|
|
where child.getParentNode() = parent
|
|
select parent.getLocation().getStartLine(), parent.toString(), child.getLocation().getStartLine(),
|
|
child.toString()
|