com.threerings.expr
Class IntegerExpression

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.expr.IntegerExpression
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
IntegerExpression.Constant, IntegerExpression.Reference

@EditorTypes(value={IntegerExpression.Constant.class,IntegerExpression.Reference.class})
public abstract class IntegerExpression
extends DeepObject
implements Exportable

An integer-valued expression.


Nested Class Summary
static class IntegerExpression.Constant
          A constant expression.
static class IntegerExpression.Evaluator
          Performs the actual evaluation of the expression.
static class IntegerExpression.Reference
          A reference expression.
 
Constructor Summary
IntegerExpression()
           
 
Method Summary
abstract  IntegerExpression.Evaluator createEvaluator(Scope scope)
          Creates an expression evaluator for the supplied context.
 void invalidate()
          Invalidates any cached data.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntegerExpression

public IntegerExpression()
Method Detail

createEvaluator

public abstract IntegerExpression.Evaluator createEvaluator(Scope scope)
Creates an expression evaluator for the supplied context.


invalidate

public void invalidate()
Invalidates any cached data.



Copyright © 2011. All Rights Reserved.