com.threerings.expr
Class StringExpression.Constant

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.expr.ObjectExpression<String>
          extended by com.threerings.expr.StringExpression
              extended by com.threerings.expr.StringExpression.Constant
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
StringExpression

public static class StringExpression.Constant
extends StringExpression

A constant expression.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.expr.StringExpression
StringExpression.Constant, StringExpression.Parsed, StringExpression.Reference
 
Nested classes/interfaces inherited from class com.threerings.expr.ObjectExpression
ObjectExpression.Evaluator<T>
 
Field Summary
 String value
          The value of the constant.
 
Constructor Summary
StringExpression.Constant()
          Default constructor.
StringExpression.Constant(String value)
          Creates a new constant expression with the supplied value.
 
Method Summary
 ObjectExpression.Evaluator<String> createEvaluator(Scope scope)
          Creates an expression evaluator for the supplied context.
 
Methods inherited from class com.threerings.expr.ObjectExpression
invalidate
 
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

value

@Editable
public String value
The value of the constant.

Constructor Detail

StringExpression.Constant

public StringExpression.Constant(String value)
Creates a new constant expression with the supplied value.


StringExpression.Constant

public StringExpression.Constant()
Default constructor.

Method Detail

createEvaluator

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

Specified by:
createEvaluator in class ObjectExpression<String>


Copyright © 2011. All Rights Reserved.