com.threerings.expr
Class StringExpression

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.expr.ObjectExpression<String>
          extended by com.threerings.expr.StringExpression
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
StringExpression.Constant, StringExpression.Parsed, StringExpression.Reference

@EditorTypes(value={StringExpression.Parsed.class,StringExpression.Constant.class,StringExpression.Reference.class})
public abstract class StringExpression
extends ObjectExpression<String>

A string-valued expression.


Nested Class Summary
static class StringExpression.Constant
          A constant expression.
static class StringExpression.Parsed
          An expression entered as a string to be parsed.
static class StringExpression.Reference
          A reference expression.
 
Nested classes/interfaces inherited from class com.threerings.expr.ObjectExpression
ObjectExpression.Evaluator<T>
 
Constructor Summary
StringExpression()
           
 
Method Summary
protected static StringExpression parseExpression(String expression)
          Parses the supplied string expression.
 
Methods inherited from class com.threerings.expr.ObjectExpression
createEvaluator, invalidate
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringExpression

public StringExpression()
Method Detail

parseExpression

protected static StringExpression parseExpression(String expression)
                                           throws Exception
Parses the supplied string expression.

Throws:
Exception