StringCodeBaseVisitor

open class StringCodeBaseVisitor<T> : AbstractParseTreeVisitor<T> , StringCodeVisitor<T>

This class provides an empty implementation of StringCodeVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Parameters

T

The return type of the visit operation. Use Unit for operations with no return type

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun visit(tree: ParseTree): T?
Link copied to clipboard
open override fun visitChildren(node: RuleNode): T?
Link copied to clipboard
open override fun visitErrorNode(node: ErrorNode): T?
Link copied to clipboard

The default implementation returns the result of calling visitChildren on ctx.

Link copied to clipboard

The default implementation returns the result of calling visitChildren on ctx.

Link copied to clipboard

The default implementation returns the result of calling visitChildren on ctx.

Link copied to clipboard

The default implementation returns the result of calling visitChildren on ctx.

Link copied to clipboard

The default implementation returns the result of calling visitChildren on ctx.

Link copied to clipboard

The default implementation returns the result of calling visitChildren on ctx.

Link copied to clipboard

The default implementation returns the result of calling visitChildren on ctx.

Link copied to clipboard
open override fun visitTerminal(node: TerminalNode): T?