Package com.sap.cds.ql.cqn
Interface CqnToken
- All Superinterfaces:
JSONizable
- All Known Subinterfaces:
BooleanFunction,BooleanValue,CqnArithmeticExpression,CqnArithmeticNegation,CqnBetweenPredicate,CqnBooleanLiteral,CqnCaseExpression,CqnComparisonPredicate,CqnConnectivePredicate,CqnContainmentTest,CqnElementRef,CqnEtagPredicate,CqnExistsSubquery,CqnExpand,CqnExpression,CqnFunc,CqnHierarchy,CqnHierarchyGenerator,CqnHierarchySubset,CqnInline,CqnInPredicate,CqnInSubquery,CqnJoin,CqnListValue,CqnLiteral<T>,CqnMatchPredicate,CqnNegation,CqnNullValue,CqnNumericLiteral<N>,CqnParameter,CqnPassThroughSearchPredicate,CqnPlain,CqnPredicate,CqnReference,CqnSearchPredicate,CqnSearchTermPredicate,CqnSelect,CqnSelectList,CqnSelectListItem,CqnSelectListValue,CqnSortSpecification,CqnSource,CqnStringLiteral,CqnStructuredLiteral,CqnStructuredTypeRef,CqnTableFunction,CqnTemporalLiteral<E>,CqnValue,CqnVector,CqnWindowFunc,ElementRef<T>,Expand<T>,FunctionCall<T>,Hierarchy,HierarchySubset,Literal<T>,NullValue,Parameter<T>,Predicate,SelectableValue,Source<T>,StructuredType<T>,StructuredTypeRef,TableFunction,Value<T>,WindowFunctionCall<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
-