static class AnalyzePrototypeProperties.GlobalFunction extends java.lang.Object implements AnalyzePrototypeProperties.Symbol
Modifier and Type | Field and Description |
---|---|
private JSModule |
module |
private Node |
nameNode |
private Var |
var |
Constructor and Description |
---|
GlobalFunction(Node nameNode,
Var var,
JSModule module) |
Modifier and Type | Method and Description |
---|---|
JSModule |
getModule()
Returns the module where this appears.
|
Var |
getRootVar()
The variable for the root of this symbol.
|
void |
remove(AbstractCompiler compiler)
Remove the declaration from the AST.
|
private final Node nameNode
private final Var var
private final JSModule module
public Var getRootVar()
AnalyzePrototypeProperties.Symbol
getRootVar
in interface AnalyzePrototypeProperties.Symbol
public void remove(AbstractCompiler compiler)
AnalyzePrototypeProperties.Symbol
remove
in interface AnalyzePrototypeProperties.Symbol
public JSModule getModule()
AnalyzePrototypeProperties.Symbol
getModule
in interface AnalyzePrototypeProperties.Symbol