Class IrpBaseVisitor<T>

java.lang.Object
org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
org.harctoolbox.irp.IrpBaseVisitor<T>
Type Parameters:
T - The return type of the visit operation. Use Void for operations with no return type.
All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>, IrpVisitor<T>

public class IrpBaseVisitor<T> extends org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T> implements IrpVisitor<T>
This class provides an empty implementation of IrpVisitor, which can be extended to create a visitor which only needs to handle a subset of the available methods.
  • Constructor Details

    • IrpBaseVisitor

      public IrpBaseVisitor()
  • Method Details

    • visitProtocol

      public T visitProtocol(IrpParser.ProtocolContext ctx)
      Visit a parse tree produced by IrpParser.protocol().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitProtocol in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGeneralspec

      public T visitGeneralspec(IrpParser.GeneralspecContext ctx)
      Visit a parse tree produced by IrpParser.generalspec().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitGeneralspec in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGeneralspec_list

      public T visitGeneralspec_list(IrpParser.Generalspec_listContext ctx)
      Visit a parse tree produced by IrpParser.generalspec_list().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitGeneralspec_list in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGeneralspec_item

      public T visitGeneralspec_item(IrpParser.Generalspec_itemContext ctx)
      Visit a parse tree produced by IrpParser.generalspec_item().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitGeneralspec_item in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFrequency_item

      public T visitFrequency_item(IrpParser.Frequency_itemContext ctx)
      Visit a parse tree produced by IrpParser.frequency_item().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFrequency_item in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDutycycle_item

      public T visitDutycycle_item(IrpParser.Dutycycle_itemContext ctx)
      Visit a parse tree produced by IrpParser.dutycycle_item().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDutycycle_item in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitUnit_item

      public T visitUnit_item(IrpParser.Unit_itemContext ctx)
      Visit a parse tree produced by IrpParser.unit_item().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitUnit_item in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitOrder_item

      public T visitOrder_item(IrpParser.Order_itemContext ctx)
      Visit a parse tree produced by IrpParser.order_item().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitOrder_item in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDuration

      public T visitDuration(IrpParser.DurationContext ctx)
      Visit a parse tree produced by IrpParser.duration().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDuration in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFlash

      public T visitFlash(IrpParser.FlashContext ctx)
      Visit a parse tree produced by IrpParser.flash().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFlash in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitGap

      public T visitGap(IrpParser.GapContext ctx)
      Visit a parse tree produced by IrpParser.gap().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitGap in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitName_or_number

      public T visitName_or_number(IrpParser.Name_or_numberContext ctx)
      Visit a parse tree produced by IrpParser.name_or_number().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitName_or_number in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitExtent

      public T visitExtent(IrpParser.ExtentContext ctx)
      Visit a parse tree produced by IrpParser.extent().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitExtent in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFinite_bitfield

      public T visitFinite_bitfield(IrpParser.Finite_bitfieldContext ctx)
      Visit a parse tree produced by the finite_bitfield labeled alternative in IrpParser.bitfield().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFinite_bitfield in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitInfinite_bitfield

      public T visitInfinite_bitfield(IrpParser.Infinite_bitfieldContext ctx)
      Visit a parse tree produced by the infinite_bitfield labeled alternative in IrpParser.bitfield().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitInfinite_bitfield in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPrimary_item

      public T visitPrimary_item(IrpParser.Primary_itemContext ctx)
      Visit a parse tree produced by IrpParser.primary_item().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPrimary_item in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitIrstream

      public T visitIrstream(IrpParser.IrstreamContext ctx)
      Visit a parse tree produced by IrpParser.irstream().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitIrstream in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBare_irstream

      public T visitBare_irstream(IrpParser.Bare_irstreamContext ctx)
      Visit a parse tree produced by IrpParser.bare_irstream().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitBare_irstream in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitIrstream_item

      public T visitIrstream_item(IrpParser.Irstream_itemContext ctx)
      Visit a parse tree produced by IrpParser.irstream_item().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitIrstream_item in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBitspec

      public T visitBitspec(IrpParser.BitspecContext ctx)
      Visit a parse tree produced by IrpParser.bitspec().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitBitspec in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitRepeat_marker

      public T visitRepeat_marker(IrpParser.Repeat_markerContext ctx)
      Visit a parse tree produced by IrpParser.repeat_marker().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitRepeat_marker in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitBitspec_irstream

      public T visitBitspec_irstream(IrpParser.Bitspec_irstreamContext ctx)
      Visit a parse tree produced by IrpParser.bitspec_irstream().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitBitspec_irstream in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitPara_expression

      public T visitPara_expression(IrpParser.Para_expressionContext ctx)
      Visit a parse tree produced by IrpParser.para_expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitPara_expression in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitExpression

      public T visitExpression(IrpParser.ExpressionContext ctx)
      Visit a parse tree produced by IrpParser.expression().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitExpression in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitExpressionEOF

      public T visitExpressionEOF(IrpParser.ExpressionEOFContext ctx)
      Visit a parse tree produced by IrpParser.expressionEOF().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitExpressionEOF in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDefinitions

      public T visitDefinitions(IrpParser.DefinitionsContext ctx)
      Visit a parse tree produced by IrpParser.definitions().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDefinitions in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDefinitions_list

      public T visitDefinitions_list(IrpParser.Definitions_listContext ctx)
      Visit a parse tree produced by IrpParser.definitions_list().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDefinitions_list in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitDefinition

      public T visitDefinition(IrpParser.DefinitionContext ctx)
      Visit a parse tree produced by IrpParser.definition().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitDefinition in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAssignment

      public T visitAssignment(IrpParser.AssignmentContext ctx)
      Visit a parse tree produced by IrpParser.assignment().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAssignment in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitVariation

      public T visitVariation(IrpParser.VariationContext ctx)
      Visit a parse tree produced by IrpParser.variation().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitVariation in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitAlternative

      public T visitAlternative(IrpParser.AlternativeContext ctx)
      Visit a parse tree produced by IrpParser.alternative().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitAlternative in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNumber

      public T visitNumber(IrpParser.NumberContext ctx)
      Visit a parse tree produced by IrpParser.number().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitNumber in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitNumber_with_decimals

      public T visitNumber_with_decimals(IrpParser.Number_with_decimalsContext ctx)
      Visit a parse tree produced by IrpParser.number_with_decimals().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitNumber_with_decimals in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitName

      public T visitName(IrpParser.NameContext ctx)
      Visit a parse tree produced by IrpParser.name().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitName in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitParameter_specs

      public T visitParameter_specs(IrpParser.Parameter_specsContext ctx)
      Visit a parse tree produced by IrpParser.parameter_specs().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitParameter_specs in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitParameter_spec

      public T visitParameter_spec(IrpParser.Parameter_specContext ctx)
      Visit a parse tree produced by IrpParser.parameter_spec().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitParameter_spec in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result
    • visitFloat_number

      public T visitFloat_number(IrpParser.Float_numberContext ctx)
      Visit a parse tree produced by IrpParser.float_number().

      The default implementation returns the result of calling AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode) on ctx.

      Specified by:
      visitFloat_number in interface IrpVisitor<T>
      Parameters:
      ctx - the parse tree
      Returns:
      the visitor result