com.threerings.expr
Class IntegerExpression.Constant
java.lang.Object
com.threerings.util.DeepObject
com.threerings.expr.IntegerExpression
com.threerings.expr.IntegerExpression.Constant
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- IntegerExpression
public static class IntegerExpression.Constant
- extends IntegerExpression
A constant expression.
|
Field Summary |
int |
value
The value of the constant. |
value
@Editable
public int value
- The value of the constant.
IntegerExpression.Constant
public IntegerExpression.Constant(int value)
- Creates a new constant expression with the specified value.
IntegerExpression.Constant
public IntegerExpression.Constant()
- Creates a new constant expression with a value of zero.
createEvaluator
public IntegerExpression.Evaluator createEvaluator(Scope scope)
- Description copied from class:
IntegerExpression
- Creates an expression evaluator for the supplied context.
- Specified by:
createEvaluator in class IntegerExpression
Copyright © 2011. All Rights Reserved.