Package com.sap.cds.ql.cqn
Interface CqnToken
-
- All Superinterfaces:
JSONizable
- All Known Subinterfaces:
BooleanFunction
,CqnArithmeticExpression
,CqnArithmeticNegation
,CqnBooleanLiteral
,CqnComparisonPredicate
,CqnConnectivePredicate
,CqnContainmentTest
,CqnElementRef
,CqnExistsSubquery
,CqnExpand
,CqnExpression
,CqnFunc
,CqnInline
,CqnInPredicate
,CqnJoin
,CqnListValue
,CqnLiteral<T>
,CqnMatchPredicate
,CqnNegation
,CqnNullValue
,CqnNumericLiteral<N>
,CqnParameter
,CqnPlain
,CqnPredicate
,CqnReference
,CqnSearchPredicate
,CqnSelect
,CqnSelectList
,CqnSelectListItem
,CqnSelectListValue
,CqnSortSpecification
,CqnSource
,CqnStringLiteral
,CqnStructuredLiteral
,CqnStructuredTypeRef
,CqnTemporalLiteral<E>
,CqnValue
,ElementRef<T>
,Expand<T>
,FunctionCall<T>
,Literal<T>
,Parameter<T>
,Predicate
,Source<T>
,StructuredType<T>
,StructuredTypeRef
,Value<T>
public interface CqnToken extends JSONizable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a givenvisitor
.default Stream<CqnToken>
tokens()
-
Methods inherited from interface com.sap.cds.JSONizable
toJson
-
-
-
-
Method Detail
-
accept
void accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a givenvisitor
. The traversal order is depth-first. If this token has child nodes they are traversed first by dispatching the visitor to the children'saccept
methods. Afterwards this token is passed to the visitor'svisit
method specific for this token's type.- Parameters:
visitor
- theCqnVisitor
-
-