Module Nodes
Provides classes representing particular kinds of data flow nodes, such as nodes corresponding to function definitions or nodes corresponding to parameters.
Import path
import semmle.javascript.dataflow.Nodes
Predicates
dependencyModuleImport |
Gets a (default) import of the given dependency |
globalObjectRef |
Gets a data flow node corresponding to an access to the global object, including |
globalVarRef |
Gets a data flow node corresponding to an access to global variable |
moduleImport |
Gets a (default) import of the module with the given path, such as |
moduleMember |
Gets a data flow node that either imports |
Classes
ArrayConstructorInvokeNode |
A data flow node corresponding to a |
ArrayCreationNode |
A data flow node corresponding to the creation or a new array, either through an array literal, an invocation of the |
ArrayLiteralNode |
A data flow node corresponding to an array literal expression. |
CallNode |
A data flow node corresponding to a function call without |
ClassNode |
A data flow node corresponding to a class definition or a function definition acting as a class. |
ExprNode |
A data flow node corresponding to an expression. |
FunctionNode |
A data flow node corresponding to a function definition. |
GlobalVarRefNode |
A data flow node corresponding to a global variable access through a simple identifier. |
InvokeNode |
A data flow node corresponding to a function invocation (with or without |
MemberKind |
The string |
MethodCallNode |
A data flow node corresponding to a method call, that is, a call of form |
ModuleImportNode |
A data flow node representing an import of a module, either through an |
NewNode |
A data flow node corresponding to a |
ObjectLiteralNode |
A data flow node corresponding to an object literal expression. |
ParameterNode |
A data flow node corresponding to a parameter. |
PartialInvokeNode |
A data flow node that performs a partial function application. |
RegExpConstructorInvokeNode |
An invocation of the |
RegExpCreationNode |
A data flow node corresponding to a regular expression literal or an invocation of the |
RegExpLiteralNode |
A data-flow node corresponding to a regular-expression literal. |
ThisNode |
A data flow node corresponding to the |