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.SymbolgetRootVar in interface AnalyzePrototypeProperties.Symbolpublic void remove(AbstractCompiler compiler)
AnalyzePrototypeProperties.Symbolremove in interface AnalyzePrototypeProperties.Symbolpublic JSModule getModule()
AnalyzePrototypeProperties.SymbolgetModule in interface AnalyzePrototypeProperties.Symbol