Class IrpBaseVisitor<T>
- Type Parameters:
T
- The return type of the visit operation. UseVoid
for operations with no return type.
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
,IrpVisitor<T>
IrpVisitor
,
which can be extended to create a visitor which only needs to handle a subset
of the available methods.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionVisit a parse tree produced byIrpParser.alternative()
.Visit a parse tree produced byIrpParser.assignment()
.Visit a parse tree produced byIrpParser.bare_irstream()
.Visit a parse tree produced byIrpParser.bitspec()
.Visit a parse tree produced byIrpParser.bitspec_irstream()
.Visit a parse tree produced byIrpParser.definition()
.Visit a parse tree produced byIrpParser.definitions()
.Visit a parse tree produced byIrpParser.definitions_list()
.Visit a parse tree produced byIrpParser.duration()
.Visit a parse tree produced byIrpParser.dutycycle_item()
.Visit a parse tree produced byIrpParser.expression()
.Visit a parse tree produced byIrpParser.expressionEOF()
.Visit a parse tree produced byIrpParser.extent()
.Visit a parse tree produced by thefinite_bitfield
labeled alternative inIrpParser.bitfield()
.Visit a parse tree produced byIrpParser.flash()
.Visit a parse tree produced byIrpParser.float_number()
.Visit a parse tree produced byIrpParser.frequency_item()
.Visit a parse tree produced byIrpParser.gap()
.Visit a parse tree produced byIrpParser.generalspec()
.Visit a parse tree produced byIrpParser.generalspec_item()
.Visit a parse tree produced byIrpParser.generalspec_list()
.Visit a parse tree produced by theinfinite_bitfield
labeled alternative inIrpParser.bitfield()
.Visit a parse tree produced byIrpParser.irstream()
.Visit a parse tree produced byIrpParser.irstream_item()
.Visit a parse tree produced byIrpParser.name()
.Visit a parse tree produced byIrpParser.name_or_number()
.Visit a parse tree produced byIrpParser.number()
.Visit a parse tree produced byIrpParser.number_with_decimals()
.Visit a parse tree produced byIrpParser.order_item()
.Visit a parse tree produced byIrpParser.para_expression()
.Visit a parse tree produced byIrpParser.parameter_spec()
.Visit a parse tree produced byIrpParser.parameter_specs()
.Visit a parse tree produced byIrpParser.primary_item()
.Visit a parse tree produced byIrpParser.protocol()
.Visit a parse tree produced byIrpParser.repeat_marker()
.Visit a parse tree produced byIrpParser.unit_item()
.Visit a parse tree produced byIrpParser.variation()
.Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode, visitTerminal
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode, visitTerminal
-
Constructor Details
-
IrpBaseVisitor
public IrpBaseVisitor()
-
-
Method Details
-
visitProtocol
Visit a parse tree produced byIrpParser.protocol()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitProtocol
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGeneralspec
Visit a parse tree produced byIrpParser.generalspec()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGeneralspec
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGeneralspec_list
Visit a parse tree produced byIrpParser.generalspec_list()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGeneralspec_list
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGeneralspec_item
Visit a parse tree produced byIrpParser.generalspec_item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGeneralspec_item
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFrequency_item
Visit a parse tree produced byIrpParser.frequency_item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFrequency_item
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDutycycle_item
Visit a parse tree produced byIrpParser.dutycycle_item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDutycycle_item
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnit_item
Visit a parse tree produced byIrpParser.unit_item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnit_item
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrder_item
Visit a parse tree produced byIrpParser.order_item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrder_item
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDuration
Visit a parse tree produced byIrpParser.duration()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDuration
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFlash
Visit a parse tree produced byIrpParser.flash()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFlash
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGap
Visit a parse tree produced byIrpParser.gap()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGap
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitName_or_number
Visit a parse tree produced byIrpParser.name_or_number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitName_or_number
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExtent
Visit a parse tree produced byIrpParser.extent()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExtent
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFinite_bitfield
Visit a parse tree produced by thefinite_bitfield
labeled alternative inIrpParser.bitfield()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFinite_bitfield
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInfinite_bitfield
Visit a parse tree produced by theinfinite_bitfield
labeled alternative inIrpParser.bitfield()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInfinite_bitfield
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPrimary_item
Visit a parse tree produced byIrpParser.primary_item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPrimary_item
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIrstream
Visit a parse tree produced byIrpParser.irstream()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIrstream
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBare_irstream
Visit a parse tree produced byIrpParser.bare_irstream()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBare_irstream
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIrstream_item
Visit a parse tree produced byIrpParser.irstream_item()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIrstream_item
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBitspec
Visit a parse tree produced byIrpParser.bitspec()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBitspec
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRepeat_marker
Visit a parse tree produced byIrpParser.repeat_marker()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRepeat_marker
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBitspec_irstream
Visit a parse tree produced byIrpParser.bitspec_irstream()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBitspec_irstream
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPara_expression
Visit a parse tree produced byIrpParser.para_expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPara_expression
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpression
Visit a parse tree produced byIrpParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpression
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExpressionEOF
Visit a parse tree produced byIrpParser.expressionEOF()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExpressionEOF
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefinitions
Visit a parse tree produced byIrpParser.definitions()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDefinitions
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefinitions_list
Visit a parse tree produced byIrpParser.definitions_list()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDefinitions_list
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDefinition
Visit a parse tree produced byIrpParser.definition()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDefinition
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAssignment
Visit a parse tree produced byIrpParser.assignment()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAssignment
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariation
Visit a parse tree produced byIrpParser.variation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariation
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAlternative
Visit a parse tree produced byIrpParser.alternative()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAlternative
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumber
Visit a parse tree produced byIrpParser.number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNumber
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNumber_with_decimals
Visit a parse tree produced byIrpParser.number_with_decimals()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNumber_with_decimals
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitName
Visit a parse tree produced byIrpParser.name()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitName
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameter_specs
Visit a parse tree produced byIrpParser.parameter_specs()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParameter_specs
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameter_spec
Visit a parse tree produced byIrpParser.parameter_spec()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParameter_spec
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFloat_number
Visit a parse tree produced byIrpParser.float_number()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFloat_number
in interfaceIrpVisitor<T>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-