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.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