Package com.sap.cds.ql.cqn
Interface CqnToken
- All Superinterfaces:
JSONizable
- All Known Subinterfaces:
BooleanFunction,BooleanValue,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>,NullValue,Parameter<T>,Predicate,Source<T>,StructuredType<T>,StructuredTypeRef,Value<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(CqnVisitor visitor) Traverses the expression tree represented by this token with a givenvisitor.tokens()Methods inherited from interface com.sap.cds.JSONizable
toJson
-
Method Details
-
accept
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'sacceptmethods. Afterwards this token is passed to the visitor'svisitmethod specific for this token's type.- Parameters:
visitor- theCqnVisitor
-
tokens
-