public class Const extends Object implements ValueExpression
ValueExpression representing a constant value.
Const has a single operand value (a Value). When
evaluated, this value is returned.
| Modifier and Type | Method and Description |
|---|---|
ImmutableList<OptionalValue> |
eval(Environment environment,
Encoding encoding) |
String |
toString() |
public final Value value
public Const(Value value)
public ImmutableList<OptionalValue> eval(Environment environment, Encoding encoding)
eval in interface ValueExpressionCopyright © 2017. All rights reserved.