com.threerings.expr
Class ExpressionParser.FunctionCall
java.lang.Object
com.threerings.expr.ExpressionParser.Identifier
com.threerings.expr.ExpressionParser.FunctionCall
- Enclosing class:
- ExpressionParser<T>
protected static class ExpressionParser.FunctionCall
- extends ExpressionParser.Identifier
An function call identifier.
|
Field Summary |
int |
arity
The arity of the function. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
arity
public int arity
- The arity of the function.
ExpressionParser.FunctionCall
public ExpressionParser.FunctionCall(String name)
- Creates a new function identifier.
handle
public <T> T handle(ExpressionParser<T> parser)
throws Exception
- Description copied from class:
ExpressionParser.Identifier
- Calls the appropriate form of the handle method.
- Overrides:
handle in class ExpressionParser.Identifier
- Throws:
Exception