com.threerings.expr
Class BooleanExpression.Parsed

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.expr.BooleanExpression
          extended by com.threerings.expr.BooleanExpression.Parsed
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
BooleanExpression

public static class BooleanExpression.Parsed
extends BooleanExpression

An expression entered as a string to be parsed.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.expr.BooleanExpression
BooleanExpression.And, BooleanExpression.BinaryOperation, BooleanExpression.BooleanEquals, BooleanExpression.Constant, BooleanExpression.Evaluator, BooleanExpression.FloatBinaryOperation, BooleanExpression.FloatEquals, BooleanExpression.FloatGreater, BooleanExpression.FloatGreaterEquals, BooleanExpression.FloatLess, BooleanExpression.FloatLessEquals, BooleanExpression.Not, BooleanExpression.Or, BooleanExpression.Parsed, BooleanExpression.Reference, BooleanExpression.StringEquals, BooleanExpression.Xor
 
Field Summary
 String expression
          The expression to parse.
 
Constructor Summary
BooleanExpression.Parsed()
           
 
Method Summary
 BooleanExpression.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
 

Field Detail

expression

@Editable(width=20)
public String expression
The expression to parse.

Constructor Detail

BooleanExpression.Parsed

public BooleanExpression.Parsed()
Method Detail

createEvaluator

public BooleanExpression.Evaluator createEvaluator(Scope scope)
Description copied from class: BooleanExpression
Creates an expression evaluator for the supplied context.

Specified by:
createEvaluator in class BooleanExpression

invalidate

public void invalidate()
Description copied from class: BooleanExpression
Invalidates any cached data.

Overrides:
invalidate in class BooleanExpression


Copyright © 2011. All Rights Reserved.