StringCodeVisitor

interface StringCodeVisitor<T> : ParseTreeVisitor<T>

This interface defines a complete generic visitor for a parse tree produced by StringCodeParser.

Parameters

T

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

Inheritors

Functions

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

Visit a parse tree produced by StringCodeParser.function.

Link copied to clipboard
Link copied to clipboard

Visit a parse tree produced by StringCodeParser.number.

Link copied to clipboard

Visit a parse tree produced by StringCodeParser.parameter.

Link copied to clipboard

Visit a parse tree produced by StringCodeParser.program.

Link copied to clipboard

Visit a parse tree produced by StringCodeParser.statement.

Link copied to clipboard

Visit a parse tree produced by StringCodeParser.string.

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