PrologParserBaseVisitor

open class PrologParserBaseVisitor<T> : AbstractParseTreeVisitor<T> , PrologParserVisitor<T>

This class provides an empty implementation of PrologParserVisitor, 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 Void for operations with no return type.

Functions

visit
Link copied to clipboard
open fun visit(tree: ParseTree): T
visitBlock
Link copied to clipboard
open fun visitBlock(ctx: PrologParser.BlockContext): T
Visit a parse tree produced by PrologParser#block.
visitChildren
Link copied to clipboard
open fun visitChildren(node: RuleNode): T
visitClause
Link copied to clipboard
open fun visitClause(ctx: PrologParser.ClauseContext): T
Visit a parse tree produced by PrologParser#clause.
visitErrorNode
Link copied to clipboard
open fun visitErrorNode(node: ErrorNode): T
visitExpression
Link copied to clipboard
open fun visitExpression(ctx: PrologParser.ExpressionContext): T
Visit a parse tree produced by PrologParser#expression.
visitInteger
Link copied to clipboard
open fun visitInteger(ctx: PrologParser.IntegerContext): T
Visit a parse tree produced by PrologParser#integer.
visitList
Link copied to clipboard
open fun visitList(ctx: PrologParser.ListContext): T
Visit a parse tree produced by PrologParser#list.
visitNumber
Link copied to clipboard
open fun visitNumber(ctx: PrologParser.NumberContext): T
Visit a parse tree produced by PrologParser#number.
visitOp
Link copied to clipboard
open fun visitOp(ctx: PrologParser.OpContext): T
Visit a parse tree produced by PrologParser#op.
visitOptClause
Link copied to clipboard
open fun visitOptClause(ctx: PrologParser.OptClauseContext): T
Visit a parse tree produced by PrologParser#optClause.
visitOptExpression
Link copied to clipboard
open fun visitOptExpression(ctx: PrologParser.OptExpressionContext): T
Visit a parse tree produced by PrologParser#optExpression.
visitOuter
Link copied to clipboard
open fun visitOuter(ctx: PrologParser.OuterContext): T
Visit a parse tree produced by PrologParser#outer.
visitReal
Link copied to clipboard
open fun visitReal(ctx: PrologParser.RealContext): T
Visit a parse tree produced by PrologParser#real.
visitSingletonExpression
Link copied to clipboard
open fun visitSingletonExpression(ctx: PrologParser.SingletonExpressionContext): T
Visit a parse tree produced by PrologParser#singletonExpression.
visitSingletonTerm
Link copied to clipboard
open fun visitSingletonTerm(ctx: PrologParser.SingletonTermContext): T
Visit a parse tree produced by PrologParser#singletonTerm.
visitStructure
Link copied to clipboard
open fun visitStructure(ctx: PrologParser.StructureContext): T
Visit a parse tree produced by PrologParser#structure.
visitTerm
Link copied to clipboard
open fun visitTerm(ctx: PrologParser.TermContext): T
Visit a parse tree produced by PrologParser#term.
visitTerminal
Link copied to clipboard
open fun visitTerminal(node: TerminalNode): T
visitTheory
Link copied to clipboard
open fun visitTheory(ctx: PrologParser.TheoryContext): T
Visit a parse tree produced by PrologParser#theory.
visitVariable
Link copied to clipboard
open fun visitVariable(ctx: PrologParser.VariableContext): T
Visit a parse tree produced by PrologParser#variable.