Package nl.basjes.dsmr.parse
Interface DsmrVisitor<T>
-
- Type Parameters:
T- The return type of the visit operation. UseVoidfor operations with no return type.
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<T>
- All Known Implementing Classes:
DsmrBaseVisitor,ParseDsmrTelegram
public interface DsmrVisitor<T> extends org.antlr.v4.runtime.tree.ParseTreeVisitor<T>This interface defines a complete generic visitor for a parse tree produced byDsmrParser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TvisitCurrentL1(DsmrParser.CurrentL1Context ctx)Visit a parse tree produced by thecurrentL1labeled alternative inDsmrParser.field().TvisitCurrentL2(DsmrParser.CurrentL2Context ctx)Visit a parse tree produced by thecurrentL2labeled alternative inDsmrParser.field().TvisitCurrentL3(DsmrParser.CurrentL3Context ctx)Visit a parse tree produced by thecurrentL3labeled alternative inDsmrParser.field().TvisitElectricityPowerReceived(DsmrParser.ElectricityPowerReceivedContext ctx)Visit a parse tree produced by theelectricityPowerReceivedlabeled alternative inDsmrParser.field().TvisitElectricityPowerReturned(DsmrParser.ElectricityPowerReturnedContext ctx)Visit a parse tree produced by theelectricityPowerReturnedlabeled alternative inDsmrParser.field().TvisitElectricityReceivedLowTariff(DsmrParser.ElectricityReceivedLowTariffContext ctx)Visit a parse tree produced by theelectricityReceivedLowTarifflabeled alternative inDsmrParser.field().TvisitElectricityReceivedNormalTariff(DsmrParser.ElectricityReceivedNormalTariffContext ctx)Visit a parse tree produced by theelectricityReceivedNormalTarifflabeled alternative inDsmrParser.field().TvisitElectricityReturnedLowTariff(DsmrParser.ElectricityReturnedLowTariffContext ctx)Visit a parse tree produced by theelectricityReturnedLowTarifflabeled alternative inDsmrParser.field().TvisitElectricityReturnedNormalTariff(DsmrParser.ElectricityReturnedNormalTariffContext ctx)Visit a parse tree produced by theelectricityReturnedNormalTarifflabeled alternative inDsmrParser.field().TvisitElectricityTariffIndicator(DsmrParser.ElectricityTariffIndicatorContext ctx)Visit a parse tree produced by theelectricityTariffIndicatorlabeled alternative inDsmrParser.field().TvisitEquipmentId(DsmrParser.EquipmentIdContext ctx)Visit a parse tree produced by theequipmentIdlabeled alternative inDsmrParser.field().TvisitLongPowerFailures(DsmrParser.LongPowerFailuresContext ctx)Visit a parse tree produced by thelongPowerFailureslabeled alternative inDsmrParser.field().TvisitMBus1EquipmentId(DsmrParser.MBus1EquipmentIdContext ctx)Visit a parse tree produced by themBus1EquipmentIdlabeled alternative inDsmrParser.field().TvisitMBus1Type(DsmrParser.MBus1TypeContext ctx)Visit a parse tree produced by themBus1Typelabeled alternative inDsmrParser.field().TvisitMBus1Usage(DsmrParser.MBus1UsageContext ctx)Visit a parse tree produced by themBus1Usagelabeled alternative inDsmrParser.field().TvisitMBus2EquipmentId(DsmrParser.MBus2EquipmentIdContext ctx)Visit a parse tree produced by themBus2EquipmentIdlabeled alternative inDsmrParser.field().TvisitMBus2Type(DsmrParser.MBus2TypeContext ctx)Visit a parse tree produced by themBus2Typelabeled alternative inDsmrParser.field().TvisitMBus2Usage(DsmrParser.MBus2UsageContext ctx)Visit a parse tree produced by themBus2Usagelabeled alternative inDsmrParser.field().TvisitMBus3EquipmentId(DsmrParser.MBus3EquipmentIdContext ctx)Visit a parse tree produced by themBus3EquipmentIdlabeled alternative inDsmrParser.field().TvisitMBus3Type(DsmrParser.MBus3TypeContext ctx)Visit a parse tree produced by themBus3Typelabeled alternative inDsmrParser.field().TvisitMBus3Usage(DsmrParser.MBus3UsageContext ctx)Visit a parse tree produced by themBus3Usagelabeled alternative inDsmrParser.field().TvisitMBus4EquipmentId(DsmrParser.MBus4EquipmentIdContext ctx)Visit a parse tree produced by themBus4EquipmentIdlabeled alternative inDsmrParser.field().TvisitMBus4Type(DsmrParser.MBus4TypeContext ctx)Visit a parse tree produced by themBus4Typelabeled alternative inDsmrParser.field().TvisitMBus4Usage(DsmrParser.MBus4UsageContext ctx)Visit a parse tree produced by themBus4Usagelabeled alternative inDsmrParser.field().TvisitMessage(DsmrParser.MessageContext ctx)Visit a parse tree produced by themessagelabeled alternative inDsmrParser.field().TvisitMessageCodes(DsmrParser.MessageCodesContext ctx)Visit a parse tree produced by themessageCodeslabeled alternative inDsmrParser.field().TvisitP1Version(DsmrParser.P1VersionContext ctx)Visit a parse tree produced by thep1Versionlabeled alternative inDsmrParser.field().TvisitPowerFailureEvent(DsmrParser.PowerFailureEventContext ctx)Visit a parse tree produced byDsmrParser.powerFailureEvent().TvisitPowerFailureEventLog(DsmrParser.PowerFailureEventLogContext ctx)Visit a parse tree produced by thepowerFailureEventLoglabeled alternative inDsmrParser.field().TvisitPowerFailures(DsmrParser.PowerFailuresContext ctx)Visit a parse tree produced by thepowerFailureslabeled alternative inDsmrParser.field().TvisitPowerReceivedL1(DsmrParser.PowerReceivedL1Context ctx)Visit a parse tree produced by thepowerReceivedL1labeled alternative inDsmrParser.field().TvisitPowerReceivedL2(DsmrParser.PowerReceivedL2Context ctx)Visit a parse tree produced by thepowerReceivedL2labeled alternative inDsmrParser.field().TvisitPowerReceivedL3(DsmrParser.PowerReceivedL3Context ctx)Visit a parse tree produced by thepowerReceivedL3labeled alternative inDsmrParser.field().TvisitPowerReturnedL1(DsmrParser.PowerReturnedL1Context ctx)Visit a parse tree produced by thepowerReturnedL1labeled alternative inDsmrParser.field().TvisitPowerReturnedL2(DsmrParser.PowerReturnedL2Context ctx)Visit a parse tree produced by thepowerReturnedL2labeled alternative inDsmrParser.field().TvisitPowerReturnedL3(DsmrParser.PowerReturnedL3Context ctx)Visit a parse tree produced by thepowerReturnedL3labeled alternative inDsmrParser.field().TvisitTelegram(DsmrParser.TelegramContext ctx)Visit a parse tree produced byDsmrParser.telegram().TvisitTimestamp(DsmrParser.TimestampContext ctx)Visit a parse tree produced by thetimestamplabeled alternative inDsmrParser.field().TvisitVoltageL1(DsmrParser.VoltageL1Context ctx)Visit a parse tree produced by thevoltageL1labeled alternative inDsmrParser.field().TvisitVoltageL2(DsmrParser.VoltageL2Context ctx)Visit a parse tree produced by thevoltageL2labeled alternative inDsmrParser.field().TvisitVoltageL3(DsmrParser.VoltageL3Context ctx)Visit a parse tree produced by thevoltageL3labeled alternative inDsmrParser.field().TvisitVoltageSagsPhaseL1(DsmrParser.VoltageSagsPhaseL1Context ctx)Visit a parse tree produced by thevoltageSagsPhaseL1labeled alternative inDsmrParser.field().TvisitVoltageSagsPhaseL2(DsmrParser.VoltageSagsPhaseL2Context ctx)Visit a parse tree produced by thevoltageSagsPhaseL2labeled alternative inDsmrParser.field().TvisitVoltageSagsPhaseL3(DsmrParser.VoltageSagsPhaseL3Context ctx)Visit a parse tree produced by thevoltageSagsPhaseL3labeled alternative inDsmrParser.field().TvisitVoltageSwellsPhaseL1(DsmrParser.VoltageSwellsPhaseL1Context ctx)Visit a parse tree produced by thevoltageSwellsPhaseL1labeled alternative inDsmrParser.field().TvisitVoltageSwellsPhaseL2(DsmrParser.VoltageSwellsPhaseL2Context ctx)Visit a parse tree produced by thevoltageSwellsPhaseL2labeled alternative inDsmrParser.field().TvisitVoltageSwellsPhaseL3(DsmrParser.VoltageSwellsPhaseL3Context ctx)Visit a parse tree produced by thevoltageSwellsPhaseL3labeled alternative inDsmrParser.field().
-
-
-
Method Detail
-
visitTelegram
T visitTelegram(DsmrParser.TelegramContext ctx)
Visit a parse tree produced byDsmrParser.telegram().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerFailureEvent
T visitPowerFailureEvent(DsmrParser.PowerFailureEventContext ctx)
Visit a parse tree produced byDsmrParser.powerFailureEvent().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitP1Version
T visitP1Version(DsmrParser.P1VersionContext ctx)
Visit a parse tree produced by thep1Versionlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimestamp
T visitTimestamp(DsmrParser.TimestampContext ctx)
Visit a parse tree produced by thetimestamplabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEquipmentId
T visitEquipmentId(DsmrParser.EquipmentIdContext ctx)
Visit a parse tree produced by theequipmentIdlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElectricityTariffIndicator
T visitElectricityTariffIndicator(DsmrParser.ElectricityTariffIndicatorContext ctx)
Visit a parse tree produced by theelectricityTariffIndicatorlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElectricityReceivedLowTariff
T visitElectricityReceivedLowTariff(DsmrParser.ElectricityReceivedLowTariffContext ctx)
Visit a parse tree produced by theelectricityReceivedLowTarifflabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElectricityReceivedNormalTariff
T visitElectricityReceivedNormalTariff(DsmrParser.ElectricityReceivedNormalTariffContext ctx)
Visit a parse tree produced by theelectricityReceivedNormalTarifflabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElectricityReturnedLowTariff
T visitElectricityReturnedLowTariff(DsmrParser.ElectricityReturnedLowTariffContext ctx)
Visit a parse tree produced by theelectricityReturnedLowTarifflabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElectricityReturnedNormalTariff
T visitElectricityReturnedNormalTariff(DsmrParser.ElectricityReturnedNormalTariffContext ctx)
Visit a parse tree produced by theelectricityReturnedNormalTarifflabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElectricityPowerReceived
T visitElectricityPowerReceived(DsmrParser.ElectricityPowerReceivedContext ctx)
Visit a parse tree produced by theelectricityPowerReceivedlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitElectricityPowerReturned
T visitElectricityPowerReturned(DsmrParser.ElectricityPowerReturnedContext ctx)
Visit a parse tree produced by theelectricityPowerReturnedlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerFailures
T visitPowerFailures(DsmrParser.PowerFailuresContext ctx)
Visit a parse tree produced by thepowerFailureslabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLongPowerFailures
T visitLongPowerFailures(DsmrParser.LongPowerFailuresContext ctx)
Visit a parse tree produced by thelongPowerFailureslabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerFailureEventLog
T visitPowerFailureEventLog(DsmrParser.PowerFailureEventLogContext ctx)
Visit a parse tree produced by thepowerFailureEventLoglabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageSagsPhaseL1
T visitVoltageSagsPhaseL1(DsmrParser.VoltageSagsPhaseL1Context ctx)
Visit a parse tree produced by thevoltageSagsPhaseL1labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageSagsPhaseL2
T visitVoltageSagsPhaseL2(DsmrParser.VoltageSagsPhaseL2Context ctx)
Visit a parse tree produced by thevoltageSagsPhaseL2labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageSagsPhaseL3
T visitVoltageSagsPhaseL3(DsmrParser.VoltageSagsPhaseL3Context ctx)
Visit a parse tree produced by thevoltageSagsPhaseL3labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageSwellsPhaseL1
T visitVoltageSwellsPhaseL1(DsmrParser.VoltageSwellsPhaseL1Context ctx)
Visit a parse tree produced by thevoltageSwellsPhaseL1labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageSwellsPhaseL2
T visitVoltageSwellsPhaseL2(DsmrParser.VoltageSwellsPhaseL2Context ctx)
Visit a parse tree produced by thevoltageSwellsPhaseL2labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageSwellsPhaseL3
T visitVoltageSwellsPhaseL3(DsmrParser.VoltageSwellsPhaseL3Context ctx)
Visit a parse tree produced by thevoltageSwellsPhaseL3labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageL1
T visitVoltageL1(DsmrParser.VoltageL1Context ctx)
Visit a parse tree produced by thevoltageL1labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageL2
T visitVoltageL2(DsmrParser.VoltageL2Context ctx)
Visit a parse tree produced by thevoltageL2labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitVoltageL3
T visitVoltageL3(DsmrParser.VoltageL3Context ctx)
Visit a parse tree produced by thevoltageL3labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCurrentL1
T visitCurrentL1(DsmrParser.CurrentL1Context ctx)
Visit a parse tree produced by thecurrentL1labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCurrentL2
T visitCurrentL2(DsmrParser.CurrentL2Context ctx)
Visit a parse tree produced by thecurrentL2labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCurrentL3
T visitCurrentL3(DsmrParser.CurrentL3Context ctx)
Visit a parse tree produced by thecurrentL3labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerReceivedL1
T visitPowerReceivedL1(DsmrParser.PowerReceivedL1Context ctx)
Visit a parse tree produced by thepowerReceivedL1labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerReceivedL2
T visitPowerReceivedL2(DsmrParser.PowerReceivedL2Context ctx)
Visit a parse tree produced by thepowerReceivedL2labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerReceivedL3
T visitPowerReceivedL3(DsmrParser.PowerReceivedL3Context ctx)
Visit a parse tree produced by thepowerReceivedL3labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerReturnedL1
T visitPowerReturnedL1(DsmrParser.PowerReturnedL1Context ctx)
Visit a parse tree produced by thepowerReturnedL1labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerReturnedL2
T visitPowerReturnedL2(DsmrParser.PowerReturnedL2Context ctx)
Visit a parse tree produced by thepowerReturnedL2labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPowerReturnedL3
T visitPowerReturnedL3(DsmrParser.PowerReturnedL3Context ctx)
Visit a parse tree produced by thepowerReturnedL3labeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessageCodes
T visitMessageCodes(DsmrParser.MessageCodesContext ctx)
Visit a parse tree produced by themessageCodeslabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMessage
T visitMessage(DsmrParser.MessageContext ctx)
Visit a parse tree produced by themessagelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus1Type
T visitMBus1Type(DsmrParser.MBus1TypeContext ctx)
Visit a parse tree produced by themBus1Typelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus1EquipmentId
T visitMBus1EquipmentId(DsmrParser.MBus1EquipmentIdContext ctx)
Visit a parse tree produced by themBus1EquipmentIdlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus1Usage
T visitMBus1Usage(DsmrParser.MBus1UsageContext ctx)
Visit a parse tree produced by themBus1Usagelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus2Type
T visitMBus2Type(DsmrParser.MBus2TypeContext ctx)
Visit a parse tree produced by themBus2Typelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus2EquipmentId
T visitMBus2EquipmentId(DsmrParser.MBus2EquipmentIdContext ctx)
Visit a parse tree produced by themBus2EquipmentIdlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus2Usage
T visitMBus2Usage(DsmrParser.MBus2UsageContext ctx)
Visit a parse tree produced by themBus2Usagelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus3Type
T visitMBus3Type(DsmrParser.MBus3TypeContext ctx)
Visit a parse tree produced by themBus3Typelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus3EquipmentId
T visitMBus3EquipmentId(DsmrParser.MBus3EquipmentIdContext ctx)
Visit a parse tree produced by themBus3EquipmentIdlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus3Usage
T visitMBus3Usage(DsmrParser.MBus3UsageContext ctx)
Visit a parse tree produced by themBus3Usagelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus4Type
T visitMBus4Type(DsmrParser.MBus4TypeContext ctx)
Visit a parse tree produced by themBus4Typelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus4EquipmentId
T visitMBus4EquipmentId(DsmrParser.MBus4EquipmentIdContext ctx)
Visit a parse tree produced by themBus4EquipmentIdlabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMBus4Usage
T visitMBus4Usage(DsmrParser.MBus4UsageContext ctx)
Visit a parse tree produced by themBus4Usagelabeled alternative inDsmrParser.field().- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
-