mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Python: add location to node
This commit is contained in:
@@ -1768,6 +1768,12 @@ class SynthCompCapturedVariablesArgumentPostUpdateNode extends PostUpdateNodeImp
|
||||
this = TSynthCompCapturedVariablesArgumentPostUpdateNode(comp)
|
||||
}
|
||||
|
||||
override string toString() { result = "[post] Capturing closure argument (comp)" }
|
||||
|
||||
override Scope getScope() { result = comp.getScope() }
|
||||
|
||||
override Location getLocation() { result = comp.getLocation() }
|
||||
|
||||
override Node getPreUpdateNode() { result = TSynthCompCapturedVariablesArgumentNode(comp) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user