Module NameResolution
Provides name resolution and propagates type information.
Import path
import semmle.javascript.internal.NameResolutionPredicates
| append | Appends a name onto a qualified name |
| classHasGlobalName | |
| nodeRefersToClass | Holds if |
| nodeRefersToModule | Holds if |
| readStep | Holds if there is a read from |
Classes
| LocalVariableLike | A local variable, or a top-level variable that acts as a global variable due to an ambient declaration. |
| Node | A node in a graph which we use to perform name and type resolution. |
Aliases
| TypeFlow | Associates nodes with information about types. |
| ValueFlow | Associates information about values, such as references to a class, module, or namespace. |
| trackClassValue | Gets the set of nodes reachable from |
| trackFunctionValue | Gets the set of nodes reachable from |
| trackModule | Gets a node to which the given module flows. |