public abstract class ConstantExpression extends Object implements Expression
| Constructor and Description |
|---|
ConstantExpression() |
| Modifier and Type | Method and Description |
|---|---|
Expression |
copy()
Creates a deep copy of the expression which can be modified without affecting the original expression.
|
boolean |
isConstant()
Determines if the expression is constant.
|
Expression |
propagateVisitor(ExpressionVisitor visitor)
Visits all child nodes and then the node itself.
|
Expression |
reduce()
Reduces and optimizes the expression if possible.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waiteval, getTypepublic Expression propagateVisitor(ExpressionVisitor visitor)
ExpressionpropagateVisitor in interface Expressionvisitor - the visitor to invoke for all child nodes and on the node itselfpublic Expression reduce()
Expressionreduce in interface Expressionpublic boolean isConstant()
ExpressionisConstant in interface Expressionpublic Expression copy()
Expressioncopy in interface ExpressionCopyright © 2018. All rights reserved.