public abstract static class Expression.Constant extends Expression.Base
Expression.Application, Expression.Base, Expression.BoolConstant, Expression.Constant, Expression.Fixed, Expression.Util, Expression.Valof, Expression.VariableFALSE, TRUE| Constructor and Description |
|---|
Expression.Constant() |
| Modifier and Type | Method and Description |
|---|---|
abstract Object |
getValue()
If this Expression is a literal, answer the value of that literal.
|
boolean |
isConstant()
Answer true iff this Expression represents a literal [Java object] value.
|
argCount, equals, getArg, getFun, getName, isApply, isVariablegetClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreparepublic boolean isConstant()
ExpressionisConstant in interface ExpressionisConstant in class Expression.Basepublic abstract Object getValue()
ExpressiongetValue in interface ExpressiongetValue in class Expression.BaseLicenced under the Apache License, Version 2.0