This pass enhances the call graph and call nodes by interpreting assignments of the form foo = require("module")
.
- Companion:
- object
Type members
Classlikes
Represents a local and all of its reference identifiers.
Represents a local and all of its reference identifiers.
- Value parameters:
- nodes
an AstNode list of a local and its reference identifiers.
Inherited types
Value members
Concrete methods
Inherited methods
- Definition Classes
- ForkJoinParallelCpgPass -> CpgPassBase
- Inherited from:
- ForkJoinParallelCpgPass
Name of the pass. By default it is inferred from the name of the class, override if needed.
Name of the pass. By default it is inferred from the name of the class, override if needed.
- Inherited from:
- CpgPassBase
Wraps runWithBuilder with logging, and swallows raised exceptions. Use with caution -- API is unstable. A return value of -1 indicates failure, otherwise the return value of runWithBuilder is passed through.
Wraps runWithBuilder with logging, and swallows raised exceptions. Use with caution -- API is unstable. A return value of -1 indicates failure, otherwise the return value of runWithBuilder is passed through.
- Inherited from:
- CpgPassBase
Concrete fields
A map from (filename, symbol) pairs to method full names based on export
statements.
A map from (filename, symbol) pairs to method full names based on export
statements.