public class MessageParseListener extends AbstractProtoParserListener
| Modifier and Type | Field and Description |
|---|---|
static String |
MAP_ENTRY_KEY |
static String |
MAP_ENTRY_VALUE |
static String |
OPTION_MAP_ENTRY |
context| Constructor and Description |
|---|
MessageParseListener(org.antlr.v4.runtime.BufferedTokenStream tokens,
ProtoContext context) |
attachComments, getSourceCodeLocation, getTextFromLineCommentToken, trimenterEnumBlock, enterEnumField, enterEnumFieldName, enterEnumFieldValue, enterEnumName, enterEveryRule, enterExtendBlockEntry, enterExtensions, enterFieldModifier, enterFieldName, enterFieldOptions, enterFileReference, enterFullIdent, enterGroupName, enterIdent, enterImportStatement, enterMapKey, enterMapValue, enterMessageName, enterOneofName, enterOption, enterOptionEntry, enterOptionName, enterOptionValue, enterPackageName, enterPackageStatement, enterProto, enterRange, enterRangeFrom, enterRangeTo, enterReservedFieldName, enterReservedFieldNames, enterReservedFieldRanges, enterRpcMethod, enterRpcName, enterRpcType, enterServiceBlock, enterServiceName, enterSyntax, enterTag, enterTextFormat, enterTextFormatEntry, enterTextFormatOptionName, enterTextFormatOptionValue, enterTypeReference, exitEnumBlock, exitEnumField, exitEnumFieldName, exitEnumFieldValue, exitEnumName, exitEveryRule, exitExtendBlockEntry, exitFieldModifier, exitFieldName, exitFieldOptions, exitFileReference, exitFullIdent, exitGroupName, exitIdent, exitImportStatement, exitMapKey, exitMapValue, exitMessageName, exitOneofName, exitOption, exitOptionEntry, exitOptionName, exitOptionValue, exitPackageName, exitPackageStatement, exitProto, exitRange, exitRangeFrom, exitRangeTo, exitReservedFieldName, exitRpcMethod, exitRpcName, exitRpcType, exitServiceBlock, exitServiceName, exitSyntax, exitTag, exitTextFormat, exitTextFormatEntry, exitTextFormatOptionName, exitTextFormatOptionValue, exitTypeReference, visitErrorNode, visitTerminalpublic static final String OPTION_MAP_ENTRY
public static final String MAP_ENTRY_KEY
public static final String MAP_ENTRY_VALUE
public MessageParseListener(org.antlr.v4.runtime.BufferedTokenStream tokens,
ProtoContext context)
public void enterMessageBlock(ProtoParser.MessageBlockContext ctx)
ProtoParserBaseListenerProtoParser.messageBlock().
The default implementation does nothing.
enterMessageBlock in interface ProtoParserListenerenterMessageBlock in class ProtoParserBaseListenerctx - the parse treepublic void exitMessageBlock(ProtoParser.MessageBlockContext ctx)
ProtoParserBaseListenerProtoParser.messageBlock().
The default implementation does nothing.
exitMessageBlock in interface ProtoParserListenerexitMessageBlock in class ProtoParserBaseListenerctx - the parse treepublic void exitReservedFieldRanges(ProtoParser.ReservedFieldRangesContext ctx)
ProtoParserBaseListenerProtoParser.reservedFieldRanges().
The default implementation does nothing.
exitReservedFieldRanges in interface ProtoParserListenerexitReservedFieldRanges in class ProtoParserBaseListenerctx - the parse treepublic void exitReservedFieldNames(ProtoParser.ReservedFieldNamesContext ctx)
ProtoParserBaseListenerProtoParser.reservedFieldNames().
The default implementation does nothing.
exitReservedFieldNames in interface ProtoParserListenerexitReservedFieldNames in class ProtoParserBaseListenerctx - the parse treepublic void enterField(ProtoParser.FieldContext ctx)
ProtoParserBaseListenerProtoParser.field().
The default implementation does nothing.
enterField in interface ProtoParserListenerenterField in class ProtoParserBaseListenerctx - the parse treepublic void exitField(ProtoParser.FieldContext ctx)
ProtoParserBaseListenerProtoParser.field().
The default implementation does nothing.
exitField in interface ProtoParserListenerexitField in class ProtoParserBaseListenerctx - the parse treepublic void enterExtendBlock(ProtoParser.ExtendBlockContext ctx)
ProtoParserBaseListenerProtoParser.extendBlock().
The default implementation does nothing.
enterExtendBlock in interface ProtoParserListenerenterExtendBlock in class ProtoParserBaseListenerctx - the parse treepublic void exitExtendBlock(ProtoParser.ExtendBlockContext ctx)
ProtoParserBaseListenerProtoParser.extendBlock().
The default implementation does nothing.
exitExtendBlock in interface ProtoParserListenerexitExtendBlock in class ProtoParserBaseListenerctx - the parse treepublic void enterGroupBlock(ProtoParser.GroupBlockContext ctx)
ProtoParserBaseListenerProtoParser.groupBlock().
The default implementation does nothing.
enterGroupBlock in interface ProtoParserListenerenterGroupBlock in class ProtoParserBaseListenerctx - the parse treepublic void exitGroupBlock(ProtoParser.GroupBlockContext ctx)
ProtoParserBaseListenerProtoParser.groupBlock().
The default implementation does nothing.
exitGroupBlock in interface ProtoParserListenerexitGroupBlock in class ProtoParserBaseListenerctx - the parse treepublic void enterOneof(ProtoParser.OneofContext ctx)
ProtoParserBaseListenerProtoParser.oneof().
The default implementation does nothing.
enterOneof in interface ProtoParserListenerenterOneof in class ProtoParserBaseListenerctx - the parse treepublic void exitOneof(ProtoParser.OneofContext ctx)
ProtoParserBaseListenerProtoParser.oneof().
The default implementation does nothing.
exitOneof in interface ProtoParserListenerexitOneof in class ProtoParserBaseListenerctx - the parse treepublic void enterOneofField(ProtoParser.OneofFieldContext ctx)
ProtoParserBaseListenerProtoParser.oneofField().
The default implementation does nothing.
enterOneofField in interface ProtoParserListenerenterOneofField in class ProtoParserBaseListenerctx - the parse treepublic void exitOneofField(ProtoParser.OneofFieldContext ctx)
ProtoParserBaseListenerProtoParser.oneofField().
The default implementation does nothing.
exitOneofField in interface ProtoParserListenerexitOneofField in class ProtoParserBaseListenerctx - the parse treepublic void enterOneofGroup(ProtoParser.OneofGroupContext ctx)
ProtoParserBaseListenerProtoParser.oneofGroup().
The default implementation does nothing.
enterOneofGroup in interface ProtoParserListenerenterOneofGroup in class ProtoParserBaseListenerctx - the parse treepublic void exitOneofGroup(ProtoParser.OneofGroupContext ctx)
ProtoParserBaseListenerProtoParser.oneofGroup().
The default implementation does nothing.
exitOneofGroup in interface ProtoParserListenerexitOneofGroup in class ProtoParserBaseListenerctx - the parse treepublic void enterMap(ProtoParser.MapContext ctx)
ProtoParserBaseListenerProtoParser.map().
The default implementation does nothing.
enterMap in interface ProtoParserListenerenterMap in class ProtoParserBaseListenerctx - the parse treepublic void exitMap(ProtoParser.MapContext ctx)
ProtoParserBaseListenerProtoParser.map().
The default implementation does nothing.
exitMap in interface ProtoParserListenerexitMap in class ProtoParserBaseListenerctx - the parse treepublic void exitExtensions(ProtoParser.ExtensionsContext ctx)
ProtoParserBaseListenerProtoParser.extensions().
The default implementation does nothing.
exitExtensions in interface ProtoParserListenerexitExtensions in class ProtoParserBaseListenerctx - the parse treeCopyright © 2015–2017. All rights reserved.