com.threerings.expr
Class ExpressionParser.FunctionCall

java.lang.Object
  extended by com.threerings.expr.ExpressionParser.Identifier
      extended by 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.
 
Fields inherited from class com.threerings.expr.ExpressionParser.Identifier
name
 
Constructor Summary
ExpressionParser.FunctionCall(String name)
          Creates a new function identifier.
 
Method Summary
<T> T
handle(ExpressionParser<T> parser)
          Calls the appropriate form of the handle method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

arity

public int arity
The arity of the function.

Constructor Detail

ExpressionParser.FunctionCall

public ExpressionParser.FunctionCall(String name)
Creates a new function identifier.

Method Detail

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