T - The return type of the visit operation. Use Void for
operations with no return type.public class DirectivesBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements DirectivesVisitor<T>
DirectivesVisitor,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
DirectivesBaseVisitor() |
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminalpublic T visitRecipe(DirectivesParser.RecipeContext ctx)
DirectivesParser.recipe().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitRecipe in interface DirectivesVisitor<T>ctx - the parse treepublic T visitStatements(DirectivesParser.StatementsContext ctx)
DirectivesParser.statements().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStatements in interface DirectivesVisitor<T>ctx - the parse treepublic T visitDirective(DirectivesParser.DirectiveContext ctx)
DirectivesParser.directive().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitDirective in interface DirectivesVisitor<T>ctx - the parse treepublic T visitIfStatement(DirectivesParser.IfStatementContext ctx)
DirectivesParser.ifStatement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIfStatement in interface DirectivesVisitor<T>ctx - the parse treepublic T visitIfStat(DirectivesParser.IfStatContext ctx)
DirectivesParser.ifStat().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIfStat in interface DirectivesVisitor<T>ctx - the parse treepublic T visitElseIfStat(DirectivesParser.ElseIfStatContext ctx)
DirectivesParser.elseIfStat().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitElseIfStat in interface DirectivesVisitor<T>ctx - the parse treepublic T visitElseStat(DirectivesParser.ElseStatContext ctx)
DirectivesParser.elseStat().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitElseStat in interface DirectivesVisitor<T>ctx - the parse treepublic T visitExpression(DirectivesParser.ExpressionContext ctx)
DirectivesParser.expression().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitExpression in interface DirectivesVisitor<T>ctx - the parse treepublic T visitForStatement(DirectivesParser.ForStatementContext ctx)
DirectivesParser.forStatement().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitForStatement in interface DirectivesVisitor<T>ctx - the parse treepublic T visitMacro(DirectivesParser.MacroContext ctx)
DirectivesParser.macro().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitMacro in interface DirectivesVisitor<T>ctx - the parse treepublic T visitPragma(DirectivesParser.PragmaContext ctx)
DirectivesParser.pragma().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPragma in interface DirectivesVisitor<T>ctx - the parse treepublic T visitPragmaLoadDirective(DirectivesParser.PragmaLoadDirectiveContext ctx)
DirectivesParser.pragmaLoadDirective().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPragmaLoadDirective in interface DirectivesVisitor<T>ctx - the parse treepublic T visitPragmaVersion(DirectivesParser.PragmaVersionContext ctx)
DirectivesParser.pragmaVersion().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPragmaVersion in interface DirectivesVisitor<T>ctx - the parse treepublic T visitCodeblock(DirectivesParser.CodeblockContext ctx)
DirectivesParser.codeblock().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCodeblock in interface DirectivesVisitor<T>ctx - the parse treepublic T visitIdentifier(DirectivesParser.IdentifierContext ctx)
DirectivesParser.identifier().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIdentifier in interface DirectivesVisitor<T>ctx - the parse treepublic T visitProperties(DirectivesParser.PropertiesContext ctx)
DirectivesParser.properties().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitProperties in interface DirectivesVisitor<T>ctx - the parse treepublic T visitPropertyList(DirectivesParser.PropertyListContext ctx)
DirectivesParser.propertyList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitPropertyList in interface DirectivesVisitor<T>ctx - the parse treepublic T visitProperty(DirectivesParser.PropertyContext ctx)
DirectivesParser.property().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitProperty in interface DirectivesVisitor<T>ctx - the parse treepublic T visitNumberRanges(DirectivesParser.NumberRangesContext ctx)
DirectivesParser.numberRanges().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNumberRanges in interface DirectivesVisitor<T>ctx - the parse treepublic T visitNumberRange(DirectivesParser.NumberRangeContext ctx)
DirectivesParser.numberRange().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNumberRange in interface DirectivesVisitor<T>ctx - the parse treepublic T visitValue(DirectivesParser.ValueContext ctx)
DirectivesParser.value().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitValue in interface DirectivesVisitor<T>ctx - the parse treepublic T visitEcommand(DirectivesParser.EcommandContext ctx)
DirectivesParser.ecommand().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitEcommand in interface DirectivesVisitor<T>ctx - the parse treepublic T visitConfig(DirectivesParser.ConfigContext ctx)
DirectivesParser.config().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitConfig in interface DirectivesVisitor<T>ctx - the parse treepublic T visitColumn(DirectivesParser.ColumnContext ctx)
DirectivesParser.column().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitColumn in interface DirectivesVisitor<T>ctx - the parse treepublic T visitText(DirectivesParser.TextContext ctx)
DirectivesParser.text().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitText in interface DirectivesVisitor<T>ctx - the parse treepublic T visitNumber(DirectivesParser.NumberContext ctx)
DirectivesParser.number().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNumber in interface DirectivesVisitor<T>ctx - the parse treepublic T visitBool(DirectivesParser.BoolContext ctx)
DirectivesParser.bool().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBool in interface DirectivesVisitor<T>ctx - the parse treepublic T visitCondition(DirectivesParser.ConditionContext ctx)
DirectivesParser.condition().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCondition in interface DirectivesVisitor<T>ctx - the parse treepublic T visitCommand(DirectivesParser.CommandContext ctx)
DirectivesParser.command().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitCommand in interface DirectivesVisitor<T>ctx - the parse treepublic T visitColList(DirectivesParser.ColListContext ctx)
DirectivesParser.colList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitColList in interface DirectivesVisitor<T>ctx - the parse treepublic T visitNumberList(DirectivesParser.NumberListContext ctx)
DirectivesParser.numberList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitNumberList in interface DirectivesVisitor<T>ctx - the parse treepublic T visitBoolList(DirectivesParser.BoolListContext ctx)
DirectivesParser.boolList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitBoolList in interface DirectivesVisitor<T>ctx - the parse treepublic T visitStringList(DirectivesParser.StringListContext ctx)
DirectivesParser.stringList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitStringList in interface DirectivesVisitor<T>ctx - the parse treepublic T visitIdentifierList(DirectivesParser.IdentifierListContext ctx)
DirectivesParser.identifierList().
The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.
visitIdentifierList in interface DirectivesVisitor<T>ctx - the parse treeCopyright © 2022 CDAP Licensed under the Apache License, Version 2.0.