private static class InlineFunctions.FunctionExpression extends java.lang.Object implements InlineFunctions.Function
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
fakeName |
private Node |
fn |
Constructor and Description |
---|
FunctionExpression(Node fn,
int index) |
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
private final java.lang.String fakeName
public FunctionExpression(Node fn, int index)
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