public interface CqnToken extends JSONizable
Modifier and Type | Method and Description |
---|---|
void |
accept(CqnVisitor visitor)
Traverses the expression tree represented by this token with a given
visitor . |
default Stream<CqnToken> |
tokens() |
toJson
void accept(CqnVisitor visitor)
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.visitor
- the CqnVisitor
Copyright © 2023 SAP. All rights reserved.