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 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 enterEnumConstant(ProtoParser.EnumConstantContext ctx)
ProtoParser.enumConstant().
The default implementation does nothing.
enterEnumConstant in interface ProtoParserListenerctx - the parse treepublic void exitEnumConstant(ProtoParser.EnumConstantContext ctx)
ProtoParser.enumConstant().
The default implementation does nothing.
exitEnumConstant 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 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 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 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 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 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 enterRanges(ProtoParser.RangesContext ctx)
ProtoParser.ranges().
The default implementation does nothing.
enterRanges in interface ProtoParserListenerctx - the parse treepublic void exitRanges(ProtoParser.RangesContext ctx)
ProtoParser.ranges().
The default implementation does nothing.
exitRanges 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 enterReserved(ProtoParser.ReservedContext ctx)
ProtoParser.reserved().
The default implementation does nothing.
enterReserved in interface ProtoParserListenerctx - the parse treepublic void exitReserved(ProtoParser.ReservedContext ctx)
ProtoParser.reserved().
The default implementation does nothing.
exitReserved in interface ProtoParserListenerctx - the parse treepublic void enterFieldNames(ProtoParser.FieldNamesContext ctx)
ProtoParser.fieldNames().
The default implementation does nothing.
enterFieldNames in interface ProtoParserListenerctx - the parse treepublic void exitFieldNames(ProtoParser.FieldNamesContext ctx)
ProtoParser.fieldNames().
The default implementation does nothing.
exitFieldNames 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 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 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 enterName(ProtoParser.NameContext ctx)
ProtoParser.name().
The default implementation does nothing.
enterName in interface ProtoParserListenerctx - the parse treepublic void exitName(ProtoParser.NameContext ctx)
ProtoParser.name().
The default implementation does nothing.
exitName 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–2016. All rights reserved.