mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Python: Make IterableSequenceNode LocalSourceNode
We do this to remove the inconsistencies, and to be ready for a future
where type-tracking support content tracker of depth > 1.
It works because targets of loadSteps needs to be LocalSourceNodes
predicate loadStep(Node nodeFrom, LocalSourceNode nodeTo, Content content) {
This commit is contained in:
@@ -74,6 +74,8 @@ class LocalSourceNode extends Node {
|
||||
this instanceof ScopeEntryDefinitionNode
|
||||
or
|
||||
this instanceof ParameterNode
|
||||
or
|
||||
this instanceof IterableSequenceNode
|
||||
}
|
||||
|
||||
/** Holds if this `LocalSourceNode` can flow to `nodeTo` in one or more local flow steps. */
|
||||
|
||||
Reference in New Issue
Block a user