public static class Expression.Fixed extends Expression.Constant
Expression.Application, Expression.Base, Expression.BoolConstant, Expression.Constant, Expression.Fixed, Expression.Util, Expression.Valof, Expression.VariableFALSE, TRUE| Constructor and Description |
|---|
Expression.Fixed(Object value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getValue()
If this Expression is a literal, answer the value of that literal.
|
Valuator |
prepare(VariableIndexes vi)
Answer a Valuator which, when run with a set of index-to-value bindings,
evaluates this expression in the light of the given variable-to-index bindings
[ie as though the variables were bound to the corresponding values]
|
String |
toString() |
isConstantargCount, equals, getArg, getFun, getName, isApply, isVariablepublic Expression.Fixed(Object value)
public Object getValue()
ExpressiongetValue in interface ExpressiongetValue in class Expression.Constantpublic Valuator prepare(VariableIndexes vi)
ExpressionLicenced under the Apache License, Version 2.0