Class Protobuf2ParserBaseListener
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeListener,Protobuf2ParserListener
Protobuf2ParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidEnter a parse tree produced byProtobuf2Parser.constant().voidEnter a parse tree produced byProtobuf2Parser.emptyStatement().voidEnter a parse tree produced byProtobuf2Parser.enumBody().voidEnter a parse tree produced byProtobuf2Parser.enumDefinition().voidEnter a parse tree produced byProtobuf2Parser.enumField().voidenterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidEnter a parse tree produced byProtobuf2Parser.extend().voidEnter a parse tree produced byProtobuf2Parser.field().voidEnter a parse tree produced byProtobuf2Parser.fieldNames().voidEnter a parse tree produced byProtobuf2Parser.fullIdent().voidEnter a parse tree produced by theFullyQualifiedTypelabeled alternative inProtobuf2Parser.type().voidEnter a parse tree produced byProtobuf2Parser.ident().voidEnter a parse tree produced byProtobuf2Parser.identOrReserved().voidEnter a parse tree produced byProtobuf2Parser.importStatement().voidEnter a parse tree produced byProtobuf2Parser.keyType().voidEnter a parse tree produced byProtobuf2Parser.mapField().voidEnter a parse tree produced byProtobuf2Parser.message().voidEnter a parse tree produced byProtobuf2Parser.messageBody().voidEnter a parse tree produced byProtobuf2Parser.messageField().voidEnter a parse tree produced byProtobuf2Parser.oneOf().voidEnter a parse tree produced byProtobuf2Parser.option().voidEnter a parse tree produced byProtobuf2Parser.optionDef().voidEnter a parse tree produced byProtobuf2Parser.optionList().voidEnter a parse tree produced byProtobuf2Parser.optionName().voidEnter a parse tree produced byProtobuf2Parser.packageStatement().voidEnter a parse tree produced by thePrimitiveTypelabeled alternative inProtobuf2Parser.type().voidEnter a parse tree produced byProtobuf2Parser.proto().voidEnter a parse tree produced byProtobuf2Parser.range().voidEnter a parse tree produced byProtobuf2Parser.ranges().voidEnter a parse tree produced byProtobuf2Parser.reserved().voidEnter a parse tree produced byProtobuf2Parser.reservedWord().voidEnter a parse tree produced byProtobuf2Parser.rpc().voidEnter a parse tree produced byProtobuf2Parser.rpcBody().voidEnter a parse tree produced byProtobuf2Parser.rpcInOut().voidEnter a parse tree produced byProtobuf2Parser.service().voidEnter a parse tree produced byProtobuf2Parser.serviceBody().voidEnter a parse tree produced byProtobuf2Parser.stringLiteral().voidEnter a parse tree produced byProtobuf2Parser.syntax().voidEnter a parse tree produced byProtobuf2Parser.topLevelDef().voidExit a parse tree produced byProtobuf2Parser.constant().voidExit a parse tree produced byProtobuf2Parser.emptyStatement().voidExit a parse tree produced byProtobuf2Parser.enumBody().voidExit a parse tree produced byProtobuf2Parser.enumDefinition().voidExit a parse tree produced byProtobuf2Parser.enumField().voidexitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) voidExit a parse tree produced byProtobuf2Parser.extend().voidExit a parse tree produced byProtobuf2Parser.field().voidExit a parse tree produced byProtobuf2Parser.fieldNames().voidExit a parse tree produced byProtobuf2Parser.fullIdent().voidExit a parse tree produced by theFullyQualifiedTypelabeled alternative inProtobuf2Parser.type().voidExit a parse tree produced byProtobuf2Parser.ident().voidExit a parse tree produced byProtobuf2Parser.identOrReserved().voidExit a parse tree produced byProtobuf2Parser.importStatement().voidExit a parse tree produced byProtobuf2Parser.keyType().voidExit a parse tree produced byProtobuf2Parser.mapField().voidExit a parse tree produced byProtobuf2Parser.message().voidExit a parse tree produced byProtobuf2Parser.messageBody().voidExit a parse tree produced byProtobuf2Parser.messageField().voidExit a parse tree produced byProtobuf2Parser.oneOf().voidExit a parse tree produced byProtobuf2Parser.option().voidExit a parse tree produced byProtobuf2Parser.optionDef().voidExit a parse tree produced byProtobuf2Parser.optionList().voidExit a parse tree produced byProtobuf2Parser.optionName().voidExit a parse tree produced byProtobuf2Parser.packageStatement().voidExit a parse tree produced by thePrimitiveTypelabeled alternative inProtobuf2Parser.type().voidExit a parse tree produced byProtobuf2Parser.proto().voidExit a parse tree produced byProtobuf2Parser.range().voidExit a parse tree produced byProtobuf2Parser.ranges().voidExit a parse tree produced byProtobuf2Parser.reserved().voidExit a parse tree produced byProtobuf2Parser.reservedWord().voidExit a parse tree produced byProtobuf2Parser.rpc().voidExit a parse tree produced byProtobuf2Parser.rpcBody().voidExit a parse tree produced byProtobuf2Parser.rpcInOut().voidExit a parse tree produced byProtobuf2Parser.service().voidExit a parse tree produced byProtobuf2Parser.serviceBody().voidExit a parse tree produced byProtobuf2Parser.stringLiteral().voidExit a parse tree produced byProtobuf2Parser.syntax().voidExit a parse tree produced byProtobuf2Parser.topLevelDef().voidvisitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) voidvisitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
Constructor Details
-
Protobuf2ParserBaseListener
public Protobuf2ParserBaseListener()
-
-
Method Details
-
enterProto
Enter a parse tree produced byProtobuf2Parser.proto().The default implementation does nothing.
- Specified by:
enterProtoin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitProto
Exit a parse tree produced byProtobuf2Parser.proto().The default implementation does nothing.
- Specified by:
exitProtoin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterStringLiteral
Enter a parse tree produced byProtobuf2Parser.stringLiteral().The default implementation does nothing.
- Specified by:
enterStringLiteralin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitStringLiteral
Exit a parse tree produced byProtobuf2Parser.stringLiteral().The default implementation does nothing.
- Specified by:
exitStringLiteralin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterIdentOrReserved
Enter a parse tree produced byProtobuf2Parser.identOrReserved().The default implementation does nothing.
- Specified by:
enterIdentOrReservedin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitIdentOrReserved
Exit a parse tree produced byProtobuf2Parser.identOrReserved().The default implementation does nothing.
- Specified by:
exitIdentOrReservedin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterSyntax
Enter a parse tree produced byProtobuf2Parser.syntax().The default implementation does nothing.
- Specified by:
enterSyntaxin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitSyntax
Exit a parse tree produced byProtobuf2Parser.syntax().The default implementation does nothing.
- Specified by:
exitSyntaxin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterImportStatement
Enter a parse tree produced byProtobuf2Parser.importStatement().The default implementation does nothing.
- Specified by:
enterImportStatementin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitImportStatement
Exit a parse tree produced byProtobuf2Parser.importStatement().The default implementation does nothing.
- Specified by:
exitImportStatementin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterPackageStatement
Enter a parse tree produced byProtobuf2Parser.packageStatement().The default implementation does nothing.
- Specified by:
enterPackageStatementin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitPackageStatement
Exit a parse tree produced byProtobuf2Parser.packageStatement().The default implementation does nothing.
- Specified by:
exitPackageStatementin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterOptionName
Enter a parse tree produced byProtobuf2Parser.optionName().The default implementation does nothing.
- Specified by:
enterOptionNamein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitOptionName
Exit a parse tree produced byProtobuf2Parser.optionName().The default implementation does nothing.
- Specified by:
exitOptionNamein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterOption
Enter a parse tree produced byProtobuf2Parser.option().The default implementation does nothing.
- Specified by:
enterOptionin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitOption
Exit a parse tree produced byProtobuf2Parser.option().The default implementation does nothing.
- Specified by:
exitOptionin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterOptionDef
Enter a parse tree produced byProtobuf2Parser.optionDef().The default implementation does nothing.
- Specified by:
enterOptionDefin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitOptionDef
Exit a parse tree produced byProtobuf2Parser.optionDef().The default implementation does nothing.
- Specified by:
exitOptionDefin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterOptionList
Enter a parse tree produced byProtobuf2Parser.optionList().The default implementation does nothing.
- Specified by:
enterOptionListin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitOptionList
Exit a parse tree produced byProtobuf2Parser.optionList().The default implementation does nothing.
- Specified by:
exitOptionListin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterTopLevelDef
Enter a parse tree produced byProtobuf2Parser.topLevelDef().The default implementation does nothing.
- Specified by:
enterTopLevelDefin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitTopLevelDef
Exit a parse tree produced byProtobuf2Parser.topLevelDef().The default implementation does nothing.
- Specified by:
exitTopLevelDefin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterIdent
Enter a parse tree produced byProtobuf2Parser.ident().The default implementation does nothing.
- Specified by:
enterIdentin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitIdent
Exit a parse tree produced byProtobuf2Parser.ident().The default implementation does nothing.
- Specified by:
exitIdentin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterMessage
Enter a parse tree produced byProtobuf2Parser.message().The default implementation does nothing.
- Specified by:
enterMessagein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitMessage
Exit a parse tree produced byProtobuf2Parser.message().The default implementation does nothing.
- Specified by:
exitMessagein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterMessageField
Enter a parse tree produced byProtobuf2Parser.messageField().The default implementation does nothing.
- Specified by:
enterMessageFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitMessageField
Exit a parse tree produced byProtobuf2Parser.messageField().The default implementation does nothing.
- Specified by:
exitMessageFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterMessageBody
Enter a parse tree produced byProtobuf2Parser.messageBody().The default implementation does nothing.
- Specified by:
enterMessageBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitMessageBody
Exit a parse tree produced byProtobuf2Parser.messageBody().The default implementation does nothing.
- Specified by:
exitMessageBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterExtend
Enter a parse tree produced byProtobuf2Parser.extend().The default implementation does nothing.
- Specified by:
enterExtendin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitExtend
Exit a parse tree produced byProtobuf2Parser.extend().The default implementation does nothing.
- Specified by:
exitExtendin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterEnumDefinition
Enter a parse tree produced byProtobuf2Parser.enumDefinition().The default implementation does nothing.
- Specified by:
enterEnumDefinitionin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitEnumDefinition
Exit a parse tree produced byProtobuf2Parser.enumDefinition().The default implementation does nothing.
- Specified by:
exitEnumDefinitionin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterEnumBody
Enter a parse tree produced byProtobuf2Parser.enumBody().The default implementation does nothing.
- Specified by:
enterEnumBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitEnumBody
Exit a parse tree produced byProtobuf2Parser.enumBody().The default implementation does nothing.
- Specified by:
exitEnumBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterEnumField
Enter a parse tree produced byProtobuf2Parser.enumField().The default implementation does nothing.
- Specified by:
enterEnumFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitEnumField
Exit a parse tree produced byProtobuf2Parser.enumField().The default implementation does nothing.
- Specified by:
exitEnumFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterService
Enter a parse tree produced byProtobuf2Parser.service().The default implementation does nothing.
- Specified by:
enterServicein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitService
Exit a parse tree produced byProtobuf2Parser.service().The default implementation does nothing.
- Specified by:
exitServicein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterServiceBody
Enter a parse tree produced byProtobuf2Parser.serviceBody().The default implementation does nothing.
- Specified by:
enterServiceBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitServiceBody
Exit a parse tree produced byProtobuf2Parser.serviceBody().The default implementation does nothing.
- Specified by:
exitServiceBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterRpc
Enter a parse tree produced byProtobuf2Parser.rpc().The default implementation does nothing.
- Specified by:
enterRpcin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitRpc
Exit a parse tree produced byProtobuf2Parser.rpc().The default implementation does nothing.
- Specified by:
exitRpcin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterRpcInOut
Enter a parse tree produced byProtobuf2Parser.rpcInOut().The default implementation does nothing.
- Specified by:
enterRpcInOutin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitRpcInOut
Exit a parse tree produced byProtobuf2Parser.rpcInOut().The default implementation does nothing.
- Specified by:
exitRpcInOutin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterRpcBody
Enter a parse tree produced byProtobuf2Parser.rpcBody().The default implementation does nothing.
- Specified by:
enterRpcBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitRpcBody
Exit a parse tree produced byProtobuf2Parser.rpcBody().The default implementation does nothing.
- Specified by:
exitRpcBodyin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterReserved
Enter a parse tree produced byProtobuf2Parser.reserved().The default implementation does nothing.
- Specified by:
enterReservedin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitReserved
Exit a parse tree produced byProtobuf2Parser.reserved().The default implementation does nothing.
- Specified by:
exitReservedin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterRanges
Enter a parse tree produced byProtobuf2Parser.ranges().The default implementation does nothing.
- Specified by:
enterRangesin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitRanges
Exit a parse tree produced byProtobuf2Parser.ranges().The default implementation does nothing.
- Specified by:
exitRangesin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterRange
Enter a parse tree produced byProtobuf2Parser.range().The default implementation does nothing.
- Specified by:
enterRangein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitRange
Exit a parse tree produced byProtobuf2Parser.range().The default implementation does nothing.
- Specified by:
exitRangein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterFieldNames
Enter a parse tree produced byProtobuf2Parser.fieldNames().The default implementation does nothing.
- Specified by:
enterFieldNamesin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitFieldNames
Exit a parse tree produced byProtobuf2Parser.fieldNames().The default implementation does nothing.
- Specified by:
exitFieldNamesin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterPrimitiveType
Enter a parse tree produced by thePrimitiveTypelabeled alternative inProtobuf2Parser.type().The default implementation does nothing.
- Specified by:
enterPrimitiveTypein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitPrimitiveType
Exit a parse tree produced by thePrimitiveTypelabeled alternative inProtobuf2Parser.type().The default implementation does nothing.
- Specified by:
exitPrimitiveTypein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterFullyQualifiedType
Enter a parse tree produced by theFullyQualifiedTypelabeled alternative inProtobuf2Parser.type().The default implementation does nothing.
- Specified by:
enterFullyQualifiedTypein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitFullyQualifiedType
Exit a parse tree produced by theFullyQualifiedTypelabeled alternative inProtobuf2Parser.type().The default implementation does nothing.
- Specified by:
exitFullyQualifiedTypein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterField
Enter a parse tree produced byProtobuf2Parser.field().The default implementation does nothing.
- Specified by:
enterFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitField
Exit a parse tree produced byProtobuf2Parser.field().The default implementation does nothing.
- Specified by:
exitFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterOneOf
Enter a parse tree produced byProtobuf2Parser.oneOf().The default implementation does nothing.
- Specified by:
enterOneOfin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitOneOf
Exit a parse tree produced byProtobuf2Parser.oneOf().The default implementation does nothing.
- Specified by:
exitOneOfin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterMapField
Enter a parse tree produced byProtobuf2Parser.mapField().The default implementation does nothing.
- Specified by:
enterMapFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitMapField
Exit a parse tree produced byProtobuf2Parser.mapField().The default implementation does nothing.
- Specified by:
exitMapFieldin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterKeyType
Enter a parse tree produced byProtobuf2Parser.keyType().The default implementation does nothing.
- Specified by:
enterKeyTypein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitKeyType
Exit a parse tree produced byProtobuf2Parser.keyType().The default implementation does nothing.
- Specified by:
exitKeyTypein interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterReservedWord
Enter a parse tree produced byProtobuf2Parser.reservedWord().The default implementation does nothing.
- Specified by:
enterReservedWordin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitReservedWord
Exit a parse tree produced byProtobuf2Parser.reservedWord().The default implementation does nothing.
- Specified by:
exitReservedWordin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterFullIdent
Enter a parse tree produced byProtobuf2Parser.fullIdent().The default implementation does nothing.
- Specified by:
enterFullIdentin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitFullIdent
Exit a parse tree produced byProtobuf2Parser.fullIdent().The default implementation does nothing.
- Specified by:
exitFullIdentin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterEmptyStatement
Enter a parse tree produced byProtobuf2Parser.emptyStatement().The default implementation does nothing.
- Specified by:
enterEmptyStatementin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitEmptyStatement
Exit a parse tree produced byProtobuf2Parser.emptyStatement().The default implementation does nothing.
- Specified by:
exitEmptyStatementin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterConstant
Enter a parse tree produced byProtobuf2Parser.constant().The default implementation does nothing.
- Specified by:
enterConstantin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
exitConstant
Exit a parse tree produced byProtobuf2Parser.constant().The default implementation does nothing.
- Specified by:
exitConstantin interfaceProtobuf2ParserListener- Parameters:
ctx- the parse tree
-
enterEveryRule
public void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
enterEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
exitEveryRule
public void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx) The default implementation does nothing.
- Specified by:
exitEveryRulein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitTerminal
public void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) The default implementation does nothing.
- Specified by:
visitTerminalin interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-
visitErrorNode
public void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node) The default implementation does nothing.
- Specified by:
visitErrorNodein interfaceorg.antlr.v4.runtime.tree.ParseTreeListener
-