public interface CqnStructuredLiteral extends CqnLiteral<Map<String,Object>>
Modifier and Type | Method and Description |
---|---|
default void |
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a given
visitor . |
default boolean |
isStructured()
Returns
true if this is a CqnStructuredLiteral . |
Map<String,Object> |
value()
Returns the literal value.
|
asBoolean, asLiteral, asNumber, asString, asStructured, asTemporal, isBoolean, isConstant, isLiteral, isNumeric, isString, isTemporal
as, asExpression, asFunction, asList, asNullValue, asParameter, asPlain, asRef, isExpression, isFunction, isList, isNullValue, isParameter, isPlain, isRef, ofRef, type
toJson
Map<String,Object> value()
CqnLiteral
value
in interface CqnLiteral<Map<String,Object>>
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
default boolean isStructured()
CqnLiteral
true
if this is a CqnStructuredLiteral
.isStructured
in interface CqnLiteral<Map<String,Object>>
true
if this is a structured literal, otherwise false
Copyright © 2023 SAP. All rights reserved.