public interface CqnPlain extends CqnValue
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a given
visitor . |
default CqnPlain |
asPlain()
Casts this value to
CqnPlain . |
default boolean |
isPlain()
Returns
true if this is a CqnPlain value. |
String |
plain()
Returns the name plain value.
|
as, asExpression, asFunction, asList, asLiteral, asNullValue, asParameter, asRef, isExpression, isFunction, isList, isLiteral, isNullValue, isParameter, isRef, ofRef, type
toJson
String plain()
default boolean isPlain()
CqnValue
true
if this is a CqnPlain
value.default CqnPlain asPlain()
CqnValue
CqnPlain
.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 CqnToken
visitor
- the CqnVisitor
Copyright © 2022 SAP. All rights reserved.