mirror of
https://github.com/github/codeql.git
synced 2026-02-20 00:43:44 +01:00
Add AstNode::getParent
This commit is contained in:
@@ -11,6 +11,8 @@ class AstNode extends @ast_node {
|
||||
|
||||
Location getLocation() { none() }
|
||||
|
||||
AstNode getParent() { this = result.getAFieldOrChild() }
|
||||
|
||||
AstNode getAFieldOrChild() { none() }
|
||||
|
||||
string describeQlClass() { result = "???" }
|
||||
|
||||
Reference in New Issue
Block a user