TokenVisitorAdapter
class TokenVisitorAdapter<T>(blockVisitor: BlockTokenVisitor<T>, inlineVisitor: InlineTokenVisitor<T>) : TokenVisitor<T> , BlockTokenVisitor<T> , InlineTokenVisitor<T>
A general TokenVisitor that delegates its visiting operations to one of its members.
Parameters
blockVisitor
visitor of block tokens
inlineVisitor
visitor of inline tokens
T
output type of the visit
methods