private class InlineFunctions.NamedFunction extends java.lang.Object implements InlineFunctions.Function
| Constructor and Description |
|---|
NamedFunction(Node fn) |
| Modifier and Type | Method and Description |
|---|---|
Node |
getDeclaringBlock() |
Node |
getFunctionNode()
Gets the function node
|
java.lang.String |
getName()
Gets the name of the function
|
void |
remove()
Removes itself from the JavaScript
|
private final Node fn
public NamedFunction(Node fn)
public java.lang.String getName()
InlineFunctions.FunctiongetName in interface InlineFunctions.Functionpublic Node getFunctionNode()
InlineFunctions.FunctiongetFunctionNode in interface InlineFunctions.Functionpublic void remove()
InlineFunctions.Functionremove in interface InlineFunctions.Functionpublic Node getDeclaringBlock()
getDeclaringBlock in interface InlineFunctions.Function