public interface CqnListValue 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 CqnListValue |
asList()
Casts this value to
CqnListValue . |
default boolean |
isList()
Returns
true if this is a CqnListValue value. |
Stream<CqnValue> |
values() |
as, asExpression, asFunction, asLiteral, asNullValue, asParameter, asPlain, asRef, isExpression, isFunction, isLiteral, isNullValue, isParameter, isPlain, isRef, ofRef, type
toJson
default boolean isList()
CqnValue
true
if this is a CqnListValue
value.default CqnListValue asList()
CqnValue
CqnListValue
.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.