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.Function
getName
in interface InlineFunctions.Function
public Node getFunctionNode()
InlineFunctions.Function
getFunctionNode
in interface InlineFunctions.Function
public void remove()
InlineFunctions.Function
remove
in interface InlineFunctions.Function
public Node getDeclaringBlock()
getDeclaringBlock
in interface InlineFunctions.Function