On this page

Source Code: lib/optimize/InnerGraph.js#L39
new TopLevelSymbol(name, pure?): TopLevelSymbol
Source Code: lib/optimize/InnerGraph.js#L45
Attributes
name:string
pure:boolean | ((compilation: Compilation, module: Module) => boolean)

Creates an instance of TopLevelSymbol.

Source Code: lib/optimize/InnerGraph.js#L50
Type:boolean
Source Code: lib/optimize/InnerGraph.js#L47
Type:string
topLevelSymbol.pureFn(compilation, module): boolean
Source Code: lib/optimize/InnerGraph.js#L54
Attributes
compilation:Compilation
module:Module
Returns:boolean
topLevelSymbol.isPure(compilation, module): boolean
Source Code: lib/optimize/InnerGraph.js#L75
Attributes
compilation:Compilation
module:Module
Returns:boolean
topLevelSymbol.setPure(pure): void
Source Code: lib/optimize/InnerGraph.js#L64
Attributes

Sets the pure condition