new TopLevelSymbol(name, pure?): TopLevelSymbol
Attributes
name:
stringpure:
boolean | ((compilation: Compilation, module: Module) => boolean)Returns:
TopLevelSymbolCreates an instance of TopLevelSymbol.
Source Code: lib/optimize/InnerGraph.js#L50Type:
booleanType:
stringtopLevelSymbol.pureFn(compilation, module): boolean
Attributes
topLevelSymbol.isPure(compilation, module): boolean
Attributes
topLevelSymbol.setPure(pure): void
Attributes
pure:
PureConditionSets the pure condition