Class DsmrBaseVisitor<T>

  • Type Parameters:
    T - The return type of the visit operation. Use Void for operations with no return type.
    All Implemented Interfaces:
    DsmrVisitor<T>, org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
    Direct Known Subclasses:
    ParseDsmrTelegram

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

      • DsmrBaseVisitor

        public DsmrBaseVisitor()
    • Method Detail

      • visitTelegram

        public T visitTelegram​(DsmrParser.TelegramContext ctx)
        Visit a parse tree produced by DsmrParser.telegram().

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

        Specified by:
        visitTelegram in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitP1Version

        public T visitP1Version​(DsmrParser.P1VersionContext ctx)
        Visit a parse tree produced by the p1Version labeled alternative in DsmrParser.field().

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

        Specified by:
        visitP1Version in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitTimestamp

        public T visitTimestamp​(DsmrParser.TimestampContext ctx)
        Visit a parse tree produced by the timestamp labeled alternative in DsmrParser.field().

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

        Specified by:
        visitTimestamp in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitEquipmentId

        public T visitEquipmentId​(DsmrParser.EquipmentIdContext ctx)
        Visit a parse tree produced by the equipmentId labeled alternative in DsmrParser.field().

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

        Specified by:
        visitEquipmentId in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerFailures

        public T visitPowerFailures​(DsmrParser.PowerFailuresContext ctx)
        Visit a parse tree produced by the powerFailures labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerFailures in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitLongPowerFailures

        public T visitLongPowerFailures​(DsmrParser.LongPowerFailuresContext ctx)
        Visit a parse tree produced by the longPowerFailures labeled alternative in DsmrParser.field().

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

        Specified by:
        visitLongPowerFailures in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerFailureEventLog

        public T visitPowerFailureEventLog​(DsmrParser.PowerFailureEventLogContext ctx)
        Visit a parse tree produced by the powerFailureEventLog labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerFailureEventLog in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageSagsPhaseL1

        public T visitVoltageSagsPhaseL1​(DsmrParser.VoltageSagsPhaseL1Context ctx)
        Visit a parse tree produced by the voltageSagsPhaseL1 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageSagsPhaseL1 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageSagsPhaseL2

        public T visitVoltageSagsPhaseL2​(DsmrParser.VoltageSagsPhaseL2Context ctx)
        Visit a parse tree produced by the voltageSagsPhaseL2 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageSagsPhaseL2 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageSagsPhaseL3

        public T visitVoltageSagsPhaseL3​(DsmrParser.VoltageSagsPhaseL3Context ctx)
        Visit a parse tree produced by the voltageSagsPhaseL3 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageSagsPhaseL3 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageSwellsPhaseL1

        public T visitVoltageSwellsPhaseL1​(DsmrParser.VoltageSwellsPhaseL1Context ctx)
        Visit a parse tree produced by the voltageSwellsPhaseL1 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageSwellsPhaseL1 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageSwellsPhaseL2

        public T visitVoltageSwellsPhaseL2​(DsmrParser.VoltageSwellsPhaseL2Context ctx)
        Visit a parse tree produced by the voltageSwellsPhaseL2 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageSwellsPhaseL2 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageSwellsPhaseL3

        public T visitVoltageSwellsPhaseL3​(DsmrParser.VoltageSwellsPhaseL3Context ctx)
        Visit a parse tree produced by the voltageSwellsPhaseL3 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageSwellsPhaseL3 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageL1

        public T visitVoltageL1​(DsmrParser.VoltageL1Context ctx)
        Visit a parse tree produced by the voltageL1 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageL1 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageL2

        public T visitVoltageL2​(DsmrParser.VoltageL2Context ctx)
        Visit a parse tree produced by the voltageL2 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageL2 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitVoltageL3

        public T visitVoltageL3​(DsmrParser.VoltageL3Context ctx)
        Visit a parse tree produced by the voltageL3 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitVoltageL3 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCurrentL1

        public T visitCurrentL1​(DsmrParser.CurrentL1Context ctx)
        Visit a parse tree produced by the currentL1 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitCurrentL1 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCurrentL2

        public T visitCurrentL2​(DsmrParser.CurrentL2Context ctx)
        Visit a parse tree produced by the currentL2 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitCurrentL2 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitCurrentL3

        public T visitCurrentL3​(DsmrParser.CurrentL3Context ctx)
        Visit a parse tree produced by the currentL3 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitCurrentL3 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerReceivedL1

        public T visitPowerReceivedL1​(DsmrParser.PowerReceivedL1Context ctx)
        Visit a parse tree produced by the powerReceivedL1 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerReceivedL1 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerReceivedL2

        public T visitPowerReceivedL2​(DsmrParser.PowerReceivedL2Context ctx)
        Visit a parse tree produced by the powerReceivedL2 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerReceivedL2 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerReceivedL3

        public T visitPowerReceivedL3​(DsmrParser.PowerReceivedL3Context ctx)
        Visit a parse tree produced by the powerReceivedL3 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerReceivedL3 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerReturnedL1

        public T visitPowerReturnedL1​(DsmrParser.PowerReturnedL1Context ctx)
        Visit a parse tree produced by the powerReturnedL1 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerReturnedL1 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerReturnedL2

        public T visitPowerReturnedL2​(DsmrParser.PowerReturnedL2Context ctx)
        Visit a parse tree produced by the powerReturnedL2 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerReturnedL2 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitPowerReturnedL3

        public T visitPowerReturnedL3​(DsmrParser.PowerReturnedL3Context ctx)
        Visit a parse tree produced by the powerReturnedL3 labeled alternative in DsmrParser.field().

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

        Specified by:
        visitPowerReturnedL3 in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMessageCodes

        public T visitMessageCodes​(DsmrParser.MessageCodesContext ctx)
        Visit a parse tree produced by the messageCodes labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMessageCodes in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMessage

        public T visitMessage​(DsmrParser.MessageContext ctx)
        Visit a parse tree produced by the message labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMessage in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus1Type

        public T visitMBus1Type​(DsmrParser.MBus1TypeContext ctx)
        Visit a parse tree produced by the mBus1Type labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus1Type in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus1EquipmentId

        public T visitMBus1EquipmentId​(DsmrParser.MBus1EquipmentIdContext ctx)
        Visit a parse tree produced by the mBus1EquipmentId labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus1EquipmentId in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus1Usage

        public T visitMBus1Usage​(DsmrParser.MBus1UsageContext ctx)
        Visit a parse tree produced by the mBus1Usage labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus1Usage in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus2Type

        public T visitMBus2Type​(DsmrParser.MBus2TypeContext ctx)
        Visit a parse tree produced by the mBus2Type labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus2Type in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus2EquipmentId

        public T visitMBus2EquipmentId​(DsmrParser.MBus2EquipmentIdContext ctx)
        Visit a parse tree produced by the mBus2EquipmentId labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus2EquipmentId in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus2Usage

        public T visitMBus2Usage​(DsmrParser.MBus2UsageContext ctx)
        Visit a parse tree produced by the mBus2Usage labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus2Usage in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus3Type

        public T visitMBus3Type​(DsmrParser.MBus3TypeContext ctx)
        Visit a parse tree produced by the mBus3Type labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus3Type in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus3EquipmentId

        public T visitMBus3EquipmentId​(DsmrParser.MBus3EquipmentIdContext ctx)
        Visit a parse tree produced by the mBus3EquipmentId labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus3EquipmentId in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus3Usage

        public T visitMBus3Usage​(DsmrParser.MBus3UsageContext ctx)
        Visit a parse tree produced by the mBus3Usage labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus3Usage in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus4Type

        public T visitMBus4Type​(DsmrParser.MBus4TypeContext ctx)
        Visit a parse tree produced by the mBus4Type labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus4Type in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus4EquipmentId

        public T visitMBus4EquipmentId​(DsmrParser.MBus4EquipmentIdContext ctx)
        Visit a parse tree produced by the mBus4EquipmentId labeled alternative in DsmrParser.field().

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

        Specified by:
        visitMBus4EquipmentId in interface DsmrVisitor<T>
        Parameters:
        ctx - the parse tree
        Returns:
        the visitor result
      • visitMBus4Usage

        public T visitMBus4Usage​(DsmrParser.MBus4UsageContext ctx)
        Visit a parse tree produced by the mBus4Usage labeled alternative in DsmrParser.field().

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

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