Class IrpBaseVisitor<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>,IrpVisitor<T>
IrpVisitor,
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 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_bitfieldlabeled 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_bitfieldlabeled 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, 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
-
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:
visitProtocolin 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:
visitGeneralspecin 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_listin 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_itemin 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_itemin 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_itemin 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_itemin 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_itemin 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:
visitDurationin 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:
visitFlashin 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:
visitGapin 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_numberin 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:
visitExtentin interfaceIrpVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFinite_bitfield
Visit a parse tree produced by thefinite_bitfieldlabeled alternative inIrpParser.bitfield().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFinite_bitfieldin interfaceIrpVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInfinite_bitfield
Visit a parse tree produced by theinfinite_bitfieldlabeled alternative inIrpParser.bitfield().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInfinite_bitfieldin 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_itemin 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:
visitIrstreamin 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_irstreamin 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_itemin 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:
visitBitspecin 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_markerin 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_irstreamin 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_expressionin 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:
visitExpressionin 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:
visitExpressionEOFin 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:
visitDefinitionsin 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_listin 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:
visitDefinitionin 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:
visitAssignmentin 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:
visitVariationin 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:
visitAlternativein 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:
visitNumberin 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_decimalsin 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:
visitNamein 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_specsin 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_specin 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_numberin interfaceIrpVisitor<T>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-