public interface CqnArithmeticExpression extends CqnExpression
Modifier and Type | Interface and Description |
---|---|
static class |
CqnArithmeticExpression.Operator |
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a given
visitor . |
default CqnArithmeticExpression |
asArithmeticExpression()
Casts this expression to a
CqnArithmeticExpression . |
default boolean |
isArithmeticExpression()
Returns
true if this is a CqnArithmeticExpression . |
CqnValue |
left() |
CqnArithmeticExpression.Operator |
operator() |
CqnValue |
right() |
asExpression, asNegation, asPredicate, isExpression, isNegation, isPredicate, toJson
as, asFunction, asList, asLiteral, asNullValue, asParameter, asPlain, asRef, isFunction, isList, isLiteral, isNullValue, isParameter, isPlain, isRef, ofRef, type
CqnValue left()
CqnValue right()
CqnArithmeticExpression.Operator operator()
default boolean isArithmeticExpression()
CqnExpression
true
if this is a CqnArithmeticExpression
.isArithmeticExpression
in interface CqnExpression
true
if this is an arithmetic expression, otherwise
false
default CqnArithmeticExpression asArithmeticExpression()
CqnExpression
CqnArithmeticExpression
.asArithmeticExpression
in interface CqnExpression
default void accept(CqnVisitor visitor)
CqnToken
visitor
. The traversal order is depth-first. If this token has
child nodes they are traversed first by dispatching the visitor to the
children's accept
methods.
Afterwards this token is passed to the visitor's visit
method
specific for this token's type.accept
in interface CqnExpression
accept
in interface CqnToken
visitor
- the CqnVisitor
Copyright © 2022 SAP. All rights reserved.