com.threerings.tudey.config
Class ExpressionConfig.Parsed

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.tudey.config.ExpressionConfig
          extended by com.threerings.tudey.config.ExpressionConfig.Parsed
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
ExpressionConfig

public static class ExpressionConfig.Parsed
extends ExpressionConfig

An expression entered as a string to be parsed.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.tudey.config.ExpressionConfig
ExpressionConfig.Add, ExpressionConfig.And, ExpressionConfig.BinaryOperation, ExpressionConfig.Constant, ExpressionConfig.Decrement, ExpressionConfig.Divide, ExpressionConfig.Equals, ExpressionConfig.Greater, ExpressionConfig.GreaterEquals, ExpressionConfig.Increment, ExpressionConfig.Less, ExpressionConfig.LessEquals, ExpressionConfig.Multiply, ExpressionConfig.Negate, ExpressionConfig.Not, ExpressionConfig.NumTargets, ExpressionConfig.Or, ExpressionConfig.Parsed, ExpressionConfig.Previous, ExpressionConfig.Reference, ExpressionConfig.Remainder, ExpressionConfig.Subtract, ExpressionConfig.UnaryOperation, ExpressionConfig.Xor
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Field Summary
 String expression
          The expression to parse.
 
Constructor Summary
ExpressionConfig.Parsed()
           
 
Method Summary
 ExpressionConfig getExpression()
          Returns the cached, parsed expression.
 String getLogicClassName()
          Returns the name of the server-side logic class for this expression.
 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

ExpressionConfig.Parsed

public ExpressionConfig.Parsed()
Method Detail

getExpression

public ExpressionConfig getExpression()
Returns the cached, parsed expression.


getLogicClassName

public String getLogicClassName()
Description copied from class: ExpressionConfig
Returns the name of the server-side logic class for this expression.

Specified by:
getLogicClassName in class ExpressionConfig

invalidate

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

Overrides:
invalidate in class ExpressionConfig


Copyright © 2011. All Rights Reserved.