static interface AnonymousFunctionNamingCallback.FunctionNamer
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCombinedName(java.lang.String lhs,
java.lang.String rhs)
Generate a name by "concatenating" the output of multiple calls
to getName.
|
java.lang.String |
getName(Node node)
Generates a string representation of a node for use by
setFunctionName.
|
void |
setFunctionName(java.lang.String name,
Node fnNode)
Sets the name of an anonymous function.
|
java.lang.String getName(Node node)
void setFunctionName(java.lang.String name, Node fnNode)
fnNode
- The function node to updatename
- The namejava.lang.String getCombinedName(java.lang.String lhs, java.lang.String rhs)