com.threerings.expr
Class ExpressionParser.Identifier
java.lang.Object
com.threerings.expr.ExpressionParser.Identifier
- Direct Known Subclasses:
- ExpressionParser.ArrayIndex, ExpressionParser.FunctionCall, ExpressionParser.Operator
- Enclosing class:
- ExpressionParser<T>
protected static class ExpressionParser.Identifier
- extends Object
Wraps a string to identify it as an identifier.
|
Field Summary |
String |
name
The name of the identifier. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
public final String name
- The name of the identifier.
ExpressionParser.Identifier
public ExpressionParser.Identifier(String name)
- Creates a new identifier.
handle
public <T> T handle(ExpressionParser<T> parser)
throws Exception
- Calls the appropriate form of the handle method.
- Throws:
Exception