Class MacrosBaseVisitor<T>
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>,MacrosVisitor<T>
- Direct Known Subclasses:
MacrosVisitorImpl
MacrosVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byMacrosParser.body().Visit a parse tree produced byMacrosParser.emptyMacros().Visit a parse tree produced byMacrosParser.macroArg().Visit a parse tree produced byMacrosParser.macroParam().Visit a parse tree produced byMacrosParser.macroParams().Visit a parse tree produced byMacrosParser.macros().Visit a parse tree produced byMacrosParser.macrosEnd().Visit a parse tree produced byMacrosParser.macrosStart().Visit a parse tree produced byMacrosParser.quote().Visit a parse tree produced byMacrosParser.slash().Visit a parse tree produced byMacrosParser.text().Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
MacrosBaseVisitor
public MacrosBaseVisitor()
-
-
Method Details
-
visitBody
Visit a parse tree produced byMacrosParser.body().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitBodyin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEmptyMacros
Visit a parse tree produced byMacrosParser.emptyMacros().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEmptyMacrosin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMacros
Visit a parse tree produced byMacrosParser.macros().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMacrosin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMacroParams
Visit a parse tree produced byMacrosParser.macroParams().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMacroParamsin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMacroParam
Visit a parse tree produced byMacrosParser.macroParam().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMacroParamin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMacroArg
Visit a parse tree produced byMacrosParser.macroArg().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMacroArgin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMacrosStart
Visit a parse tree produced byMacrosParser.macrosStart().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMacrosStartin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMacrosEnd
Visit a parse tree produced byMacrosParser.macrosEnd().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMacrosEndin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitQuote
Visit a parse tree produced byMacrosParser.quote().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitQuotein interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSlash
Visit a parse tree produced byMacrosParser.slash().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSlashin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitText
Visit a parse tree produced byMacrosParser.text().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTextin interfaceMacrosVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-