public class ProtoParserBaseListener extends Object implements ProtoParserListener
ProtoParserListener,
which can be extended to create a listener which only needs to handle a subset
of the available methods.| Constructor and Description |
|---|
ProtoParserBaseListener() |
public void enterProto(ProtoParser.ProtoContext ctx)
ProtoParser.proto().
The default implementation does nothing.
enterProto in interface ProtoParserListenerctx - the parse treepublic void exitProto(ProtoParser.ProtoContext ctx)
ProtoParser.proto().
The default implementation does nothing.
exitProto in interface ProtoParserListenerctx - the parse treepublic void enterSyntax(ProtoParser.SyntaxContext ctx)
ProtoParser.syntax().
The default implementation does nothing.
enterSyntax in interface ProtoParserListenerctx - the parse treepublic void exitSyntax(ProtoParser.SyntaxContext ctx)
ProtoParser.syntax().
The default implementation does nothing.
exitSyntax in interface ProtoParserListenerctx - the parse treepublic void enterPackageStatement(ProtoParser.PackageStatementContext ctx)
ProtoParser.packageStatement().
The default implementation does nothing.
enterPackageStatement in interface ProtoParserListenerctx - the parse treepublic void exitPackageStatement(ProtoParser.PackageStatementContext ctx)
ProtoParser.packageStatement().
The default implementation does nothing.
exitPackageStatement in interface ProtoParserListenerctx - the parse treepublic void enterPackageName(ProtoParser.PackageNameContext ctx)
ProtoParser.packageName().
The default implementation does nothing.
enterPackageName in interface ProtoParserListenerctx - the parse treepublic void exitPackageName(ProtoParser.PackageNameContext ctx)
ProtoParser.packageName().
The default implementation does nothing.
exitPackageName in interface ProtoParserListenerctx - the parse treepublic void enterImportStatement(ProtoParser.ImportStatementContext ctx)
ProtoParser.importStatement().
The default implementation does nothing.
enterImportStatement in interface ProtoParserListenerctx - the parse treepublic void exitImportStatement(ProtoParser.ImportStatementContext ctx)
ProtoParser.importStatement().
The default implementation does nothing.
exitImportStatement in interface ProtoParserListenerctx - the parse treepublic void enterFileReference(ProtoParser.FileReferenceContext ctx)
ProtoParser.fileReference().
The default implementation does nothing.
enterFileReference in interface ProtoParserListenerctx - the parse treepublic void exitFileReference(ProtoParser.FileReferenceContext ctx)
ProtoParser.fileReference().
The default implementation does nothing.
exitFileReference in interface ProtoParserListenerctx - the parse treepublic void enterOptionEntry(ProtoParser.OptionEntryContext ctx)
ProtoParser.optionEntry().
The default implementation does nothing.
enterOptionEntry in interface ProtoParserListenerctx - the parse treepublic void exitOptionEntry(ProtoParser.OptionEntryContext ctx)
ProtoParser.optionEntry().
The default implementation does nothing.
exitOptionEntry in interface ProtoParserListenerctx - the parse treepublic void enterEnumBlock(ProtoParser.EnumBlockContext ctx)
ProtoParser.enumBlock().
The default implementation does nothing.
enterEnumBlock in interface ProtoParserListenerctx - the parse treepublic void exitEnumBlock(ProtoParser.EnumBlockContext ctx)
ProtoParser.enumBlock().
The default implementation does nothing.
exitEnumBlock in interface ProtoParserListenerctx - the parse treepublic void enterEnumName(ProtoParser.EnumNameContext ctx)
ProtoParser.enumName().
The default implementation does nothing.
enterEnumName in interface ProtoParserListenerctx - the parse treepublic void exitEnumName(ProtoParser.EnumNameContext ctx)
ProtoParser.enumName().
The default implementation does nothing.
exitEnumName in interface ProtoParserListenerctx - the parse treepublic void enterEnumField(ProtoParser.EnumFieldContext ctx)
ProtoParser.enumField().
The default implementation does nothing.
enterEnumField in interface ProtoParserListenerctx - the parse treepublic void exitEnumField(ProtoParser.EnumFieldContext ctx)
ProtoParser.enumField().
The default implementation does nothing.
exitEnumField in interface ProtoParserListenerctx - the parse treepublic void enterEnumFieldName(ProtoParser.EnumFieldNameContext ctx)
ProtoParser.enumFieldName().
The default implementation does nothing.
enterEnumFieldName in interface ProtoParserListenerctx - the parse treepublic void exitEnumFieldName(ProtoParser.EnumFieldNameContext ctx)
ProtoParser.enumFieldName().
The default implementation does nothing.
exitEnumFieldName in interface ProtoParserListenerctx - the parse treepublic void enterEnumFieldValue(ProtoParser.EnumFieldValueContext ctx)
ProtoParser.enumFieldValue().
The default implementation does nothing.
enterEnumFieldValue in interface ProtoParserListenerctx - the parse treepublic void exitEnumFieldValue(ProtoParser.EnumFieldValueContext ctx)
ProtoParser.enumFieldValue().
The default implementation does nothing.
exitEnumFieldValue in interface ProtoParserListenerctx - the parse treepublic void enterExtendBlock(ProtoParser.ExtendBlockContext ctx)
ProtoParser.extendBlock().
The default implementation does nothing.
enterExtendBlock in interface ProtoParserListenerctx - the parse treepublic void exitExtendBlock(ProtoParser.ExtendBlockContext ctx)
ProtoParser.extendBlock().
The default implementation does nothing.
exitExtendBlock in interface ProtoParserListenerctx - the parse treepublic void enterExtendBlockEntry(ProtoParser.ExtendBlockEntryContext ctx)
ProtoParser.extendBlockEntry().
The default implementation does nothing.
enterExtendBlockEntry in interface ProtoParserListenerctx - the parse treepublic void exitExtendBlockEntry(ProtoParser.ExtendBlockEntryContext ctx)
ProtoParser.extendBlockEntry().
The default implementation does nothing.
exitExtendBlockEntry in interface ProtoParserListenerctx - the parse treepublic void enterServiceBlock(ProtoParser.ServiceBlockContext ctx)
ProtoParser.serviceBlock().
The default implementation does nothing.
enterServiceBlock in interface ProtoParserListenerctx - the parse treepublic void exitServiceBlock(ProtoParser.ServiceBlockContext ctx)
ProtoParser.serviceBlock().
The default implementation does nothing.
exitServiceBlock in interface ProtoParserListenerctx - the parse treepublic void enterServiceName(ProtoParser.ServiceNameContext ctx)
ProtoParser.serviceName().
The default implementation does nothing.
enterServiceName in interface ProtoParserListenerctx - the parse treepublic void exitServiceName(ProtoParser.ServiceNameContext ctx)
ProtoParser.serviceName().
The default implementation does nothing.
exitServiceName in interface ProtoParserListenerctx - the parse treepublic void enterRpcMethod(ProtoParser.RpcMethodContext ctx)
ProtoParser.rpcMethod().
The default implementation does nothing.
enterRpcMethod in interface ProtoParserListenerctx - the parse treepublic void exitRpcMethod(ProtoParser.RpcMethodContext ctx)
ProtoParser.rpcMethod().
The default implementation does nothing.
exitRpcMethod in interface ProtoParserListenerctx - the parse treepublic void enterRpcName(ProtoParser.RpcNameContext ctx)
ProtoParser.rpcName().
The default implementation does nothing.
enterRpcName in interface ProtoParserListenerctx - the parse treepublic void exitRpcName(ProtoParser.RpcNameContext ctx)
ProtoParser.rpcName().
The default implementation does nothing.
exitRpcName in interface ProtoParserListenerctx - the parse treepublic void enterRpcType(ProtoParser.RpcTypeContext ctx)
ProtoParser.rpcType().
The default implementation does nothing.
enterRpcType in interface ProtoParserListenerctx - the parse treepublic void exitRpcType(ProtoParser.RpcTypeContext ctx)
ProtoParser.rpcType().
The default implementation does nothing.
exitRpcType in interface ProtoParserListenerctx - the parse treepublic void enterMessageBlock(ProtoParser.MessageBlockContext ctx)
ProtoParser.messageBlock().
The default implementation does nothing.
enterMessageBlock in interface ProtoParserListenerctx - the parse treepublic void exitMessageBlock(ProtoParser.MessageBlockContext ctx)
ProtoParser.messageBlock().
The default implementation does nothing.
exitMessageBlock in interface ProtoParserListenerctx - the parse treepublic void enterMessageName(ProtoParser.MessageNameContext ctx)
ProtoParser.messageName().
The default implementation does nothing.
enterMessageName in interface ProtoParserListenerctx - the parse treepublic void exitMessageName(ProtoParser.MessageNameContext ctx)
ProtoParser.messageName().
The default implementation does nothing.
exitMessageName in interface ProtoParserListenerctx - the parse treepublic void enterOneof(ProtoParser.OneofContext ctx)
ProtoParser.oneof().
The default implementation does nothing.
enterOneof in interface ProtoParserListenerctx - the parse treepublic void exitOneof(ProtoParser.OneofContext ctx)
ProtoParser.oneof().
The default implementation does nothing.
exitOneof in interface ProtoParserListenerctx - the parse treepublic void enterOneofName(ProtoParser.OneofNameContext ctx)
ProtoParser.oneofName().
The default implementation does nothing.
enterOneofName in interface ProtoParserListenerctx - the parse treepublic void exitOneofName(ProtoParser.OneofNameContext ctx)
ProtoParser.oneofName().
The default implementation does nothing.
exitOneofName in interface ProtoParserListenerctx - the parse treepublic void enterOneofField(ProtoParser.OneofFieldContext ctx)
ProtoParser.oneofField().
The default implementation does nothing.
enterOneofField in interface ProtoParserListenerctx - the parse treepublic void exitOneofField(ProtoParser.OneofFieldContext ctx)
ProtoParser.oneofField().
The default implementation does nothing.
exitOneofField in interface ProtoParserListenerctx - the parse treepublic void enterOneofGroup(ProtoParser.OneofGroupContext ctx)
ProtoParser.oneofGroup().
The default implementation does nothing.
enterOneofGroup in interface ProtoParserListenerctx - the parse treepublic void exitOneofGroup(ProtoParser.OneofGroupContext ctx)
ProtoParser.oneofGroup().
The default implementation does nothing.
exitOneofGroup in interface ProtoParserListenerctx - the parse treepublic void enterMap(ProtoParser.MapContext ctx)
ProtoParser.map().
The default implementation does nothing.
enterMap in interface ProtoParserListenerctx - the parse treepublic void exitMap(ProtoParser.MapContext ctx)
ProtoParser.map().
The default implementation does nothing.
exitMap in interface ProtoParserListenerctx - the parse treepublic void enterMapKey(ProtoParser.MapKeyContext ctx)
ProtoParser.mapKey().
The default implementation does nothing.
enterMapKey in interface ProtoParserListenerctx - the parse treepublic void exitMapKey(ProtoParser.MapKeyContext ctx)
ProtoParser.mapKey().
The default implementation does nothing.
exitMapKey in interface ProtoParserListenerctx - the parse treepublic void enterMapValue(ProtoParser.MapValueContext ctx)
ProtoParser.mapValue().
The default implementation does nothing.
enterMapValue in interface ProtoParserListenerctx - the parse treepublic void exitMapValue(ProtoParser.MapValueContext ctx)
ProtoParser.mapValue().
The default implementation does nothing.
exitMapValue in interface ProtoParserListenerctx - the parse treepublic void enterTag(ProtoParser.TagContext ctx)
ProtoParser.tag().
The default implementation does nothing.
enterTag in interface ProtoParserListenerctx - the parse treepublic void exitTag(ProtoParser.TagContext ctx)
ProtoParser.tag().
The default implementation does nothing.
exitTag in interface ProtoParserListenerctx - the parse treepublic void enterGroupBlock(ProtoParser.GroupBlockContext ctx)
ProtoParser.groupBlock().
The default implementation does nothing.
enterGroupBlock in interface ProtoParserListenerctx - the parse treepublic void exitGroupBlock(ProtoParser.GroupBlockContext ctx)
ProtoParser.groupBlock().
The default implementation does nothing.
exitGroupBlock in interface ProtoParserListenerctx - the parse treepublic void enterGroupName(ProtoParser.GroupNameContext ctx)
ProtoParser.groupName().
The default implementation does nothing.
enterGroupName in interface ProtoParserListenerctx - the parse treepublic void exitGroupName(ProtoParser.GroupNameContext ctx)
ProtoParser.groupName().
The default implementation does nothing.
exitGroupName in interface ProtoParserListenerctx - the parse treepublic void enterExtensions(ProtoParser.ExtensionsContext ctx)
ProtoParser.extensions().
The default implementation does nothing.
enterExtensions in interface ProtoParserListenerctx - the parse treepublic void exitExtensions(ProtoParser.ExtensionsContext ctx)
ProtoParser.extensions().
The default implementation does nothing.
exitExtensions in interface ProtoParserListenerctx - the parse treepublic void enterRange(ProtoParser.RangeContext ctx)
ProtoParser.range().
The default implementation does nothing.
enterRange in interface ProtoParserListenerctx - the parse treepublic void exitRange(ProtoParser.RangeContext ctx)
ProtoParser.range().
The default implementation does nothing.
exitRange in interface ProtoParserListenerctx - the parse treepublic void enterRangeFrom(ProtoParser.RangeFromContext ctx)
ProtoParser.rangeFrom().
The default implementation does nothing.
enterRangeFrom in interface ProtoParserListenerctx - the parse treepublic void exitRangeFrom(ProtoParser.RangeFromContext ctx)
ProtoParser.rangeFrom().
The default implementation does nothing.
exitRangeFrom in interface ProtoParserListenerctx - the parse treepublic void enterRangeTo(ProtoParser.RangeToContext ctx)
ProtoParser.rangeTo().
The default implementation does nothing.
enterRangeTo in interface ProtoParserListenerctx - the parse treepublic void exitRangeTo(ProtoParser.RangeToContext ctx)
ProtoParser.rangeTo().
The default implementation does nothing.
exitRangeTo in interface ProtoParserListenerctx - the parse treepublic void enterReservedFieldRanges(ProtoParser.ReservedFieldRangesContext ctx)
ProtoParser.reservedFieldRanges().
The default implementation does nothing.
enterReservedFieldRanges in interface ProtoParserListenerctx - the parse treepublic void exitReservedFieldRanges(ProtoParser.ReservedFieldRangesContext ctx)
ProtoParser.reservedFieldRanges().
The default implementation does nothing.
exitReservedFieldRanges in interface ProtoParserListenerctx - the parse treepublic void enterReservedFieldNames(ProtoParser.ReservedFieldNamesContext ctx)
ProtoParser.reservedFieldNames().
The default implementation does nothing.
enterReservedFieldNames in interface ProtoParserListenerctx - the parse treepublic void exitReservedFieldNames(ProtoParser.ReservedFieldNamesContext ctx)
ProtoParser.reservedFieldNames().
The default implementation does nothing.
exitReservedFieldNames in interface ProtoParserListenerctx - the parse treepublic void enterReservedFieldName(ProtoParser.ReservedFieldNameContext ctx)
ProtoParser.reservedFieldName().
The default implementation does nothing.
enterReservedFieldName in interface ProtoParserListenerctx - the parse treepublic void exitReservedFieldName(ProtoParser.ReservedFieldNameContext ctx)
ProtoParser.reservedFieldName().
The default implementation does nothing.
exitReservedFieldName in interface ProtoParserListenerctx - the parse treepublic void enterField(ProtoParser.FieldContext ctx)
ProtoParser.field().
The default implementation does nothing.
enterField in interface ProtoParserListenerctx - the parse treepublic void exitField(ProtoParser.FieldContext ctx)
ProtoParser.field().
The default implementation does nothing.
exitField in interface ProtoParserListenerctx - the parse treepublic void enterFieldName(ProtoParser.FieldNameContext ctx)
ProtoParser.fieldName().
The default implementation does nothing.
enterFieldName in interface ProtoParserListenerctx - the parse treepublic void exitFieldName(ProtoParser.FieldNameContext ctx)
ProtoParser.fieldName().
The default implementation does nothing.
exitFieldName in interface ProtoParserListenerctx - the parse treepublic void enterFieldModifier(ProtoParser.FieldModifierContext ctx)
ProtoParser.fieldModifier().
The default implementation does nothing.
enterFieldModifier in interface ProtoParserListenerctx - the parse treepublic void exitFieldModifier(ProtoParser.FieldModifierContext ctx)
ProtoParser.fieldModifier().
The default implementation does nothing.
exitFieldModifier in interface ProtoParserListenerctx - the parse treepublic void enterTypeReference(ProtoParser.TypeReferenceContext ctx)
ProtoParser.typeReference().
The default implementation does nothing.
enterTypeReference in interface ProtoParserListenerctx - the parse treepublic void exitTypeReference(ProtoParser.TypeReferenceContext ctx)
ProtoParser.typeReference().
The default implementation does nothing.
exitTypeReference in interface ProtoParserListenerctx - the parse treepublic void enterFieldOptions(ProtoParser.FieldOptionsContext ctx)
ProtoParser.fieldOptions().
The default implementation does nothing.
enterFieldOptions in interface ProtoParserListenerctx - the parse treepublic void exitFieldOptions(ProtoParser.FieldOptionsContext ctx)
ProtoParser.fieldOptions().
The default implementation does nothing.
exitFieldOptions in interface ProtoParserListenerctx - the parse treepublic void enterOption(ProtoParser.OptionContext ctx)
ProtoParser.option().
The default implementation does nothing.
enterOption in interface ProtoParserListenerctx - the parse treepublic void exitOption(ProtoParser.OptionContext ctx)
ProtoParser.option().
The default implementation does nothing.
exitOption in interface ProtoParserListenerctx - the parse treepublic void enterOptionName(ProtoParser.OptionNameContext ctx)
ProtoParser.optionName().
The default implementation does nothing.
enterOptionName in interface ProtoParserListenerctx - the parse treepublic void exitOptionName(ProtoParser.OptionNameContext ctx)
ProtoParser.optionName().
The default implementation does nothing.
exitOptionName in interface ProtoParserListenerctx - the parse treepublic void enterOptionValue(ProtoParser.OptionValueContext ctx)
ProtoParser.optionValue().
The default implementation does nothing.
enterOptionValue in interface ProtoParserListenerctx - the parse treepublic void exitOptionValue(ProtoParser.OptionValueContext ctx)
ProtoParser.optionValue().
The default implementation does nothing.
exitOptionValue in interface ProtoParserListenerctx - the parse treepublic void enterTextFormat(ProtoParser.TextFormatContext ctx)
ProtoParser.textFormat().
The default implementation does nothing.
enterTextFormat in interface ProtoParserListenerctx - the parse treepublic void exitTextFormat(ProtoParser.TextFormatContext ctx)
ProtoParser.textFormat().
The default implementation does nothing.
exitTextFormat in interface ProtoParserListenerctx - the parse treepublic void enterTextFormatOptionName(ProtoParser.TextFormatOptionNameContext ctx)
ProtoParser.textFormatOptionName().
The default implementation does nothing.
enterTextFormatOptionName in interface ProtoParserListenerctx - the parse treepublic void exitTextFormatOptionName(ProtoParser.TextFormatOptionNameContext ctx)
ProtoParser.textFormatOptionName().
The default implementation does nothing.
exitTextFormatOptionName in interface ProtoParserListenerctx - the parse treepublic void enterTextFormatEntry(ProtoParser.TextFormatEntryContext ctx)
ProtoParser.textFormatEntry().
The default implementation does nothing.
enterTextFormatEntry in interface ProtoParserListenerctx - the parse treepublic void exitTextFormatEntry(ProtoParser.TextFormatEntryContext ctx)
ProtoParser.textFormatEntry().
The default implementation does nothing.
exitTextFormatEntry in interface ProtoParserListenerctx - the parse treepublic void enterTextFormatOptionValue(ProtoParser.TextFormatOptionValueContext ctx)
ProtoParser.textFormatOptionValue().
The default implementation does nothing.
enterTextFormatOptionValue in interface ProtoParserListenerctx - the parse treepublic void exitTextFormatOptionValue(ProtoParser.TextFormatOptionValueContext ctx)
ProtoParser.textFormatOptionValue().
The default implementation does nothing.
exitTextFormatOptionValue in interface ProtoParserListenerctx - the parse treepublic void enterFullIdent(ProtoParser.FullIdentContext ctx)
ProtoParser.fullIdent().
The default implementation does nothing.
enterFullIdent in interface ProtoParserListenerctx - the parse treepublic void exitFullIdent(ProtoParser.FullIdentContext ctx)
ProtoParser.fullIdent().
The default implementation does nothing.
exitFullIdent in interface ProtoParserListenerctx - the parse treepublic void enterIdent(ProtoParser.IdentContext ctx)
ProtoParser.ident().
The default implementation does nothing.
enterIdent in interface ProtoParserListenerctx - the parse treepublic void exitIdent(ProtoParser.IdentContext ctx)
ProtoParser.ident().
The default implementation does nothing.
exitIdent in interface ProtoParserListenerctx - the parse treepublic void enterEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
enterEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void exitEveryRule(org.antlr.v4.runtime.ParserRuleContext ctx)
The default implementation does nothing.
exitEveryRule in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
The default implementation does nothing.
visitTerminal in interface org.antlr.v4.runtime.tree.ParseTreeListenerpublic void visitErrorNode(org.antlr.v4.runtime.tree.ErrorNode node)
The default implementation does nothing.
visitErrorNode in interface org.antlr.v4.runtime.tree.ParseTreeListenerCopyright © 2015–2017. All rights reserved.