public class OptionParseListener extends AbstractProtoParserListener
| Modifier and Type | Field and Description |
|---|---|
static int |
DECIMAL |
static int |
HEX |
static int |
OCT |
context| Modifier | Constructor and Description |
|---|---|
protected |
OptionParseListener(org.antlr.v4.runtime.BufferedTokenStream tokens,
ProtoContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
enterTextFormat(ProtoParser.TextFormatContext ctx)
Enter a parse tree produced by
ProtoParser.textFormat(). |
void |
exitOption(ProtoParser.OptionContext ctx)
Exit a parse tree produced by
ProtoParser.option(). |
void |
exitTextFormat(ProtoParser.TextFormatContext ctx)
Exit a parse tree produced by
ProtoParser.textFormat(). |
void |
exitTextFormatEntry(ProtoParser.TextFormatEntryContext ctx)
Exit a parse tree produced by
ProtoParser.textFormatEntry(). |
attachComments, getSourceCodeLocation, getTextFromLineCommentToken, trimenterEnumBlock, enterEnumConstant, enterEveryRule, enterExtendBlock, enterExtendBlockEntry, enterExtensions, enterField, enterFieldModifier, enterFieldName, enterFieldNames, enterFieldOptions, enterGroupBlock, enterImportStatement, enterMap, enterMapKey, enterMapValue, enterMessageBlock, enterName, enterOneof, enterOneofField, enterOneofGroup, enterOption, enterOptionEntry, enterOptionName, enterOptionValue, enterPackageName, enterPackageStatement, enterProto, enterRange, enterRanges, enterReserved, enterRpcMethod, enterRpcType, enterServiceBlock, enterSyntax, enterTag, enterTextFormatEntry, enterTextFormatOptionName, enterTextFormatOptionValue, enterTypeReference, exitEnumBlock, exitEnumConstant, exitEveryRule, exitExtendBlock, exitExtendBlockEntry, exitExtensions, exitField, exitFieldModifier, exitFieldName, exitFieldNames, exitFieldOptions, exitGroupBlock, exitImportStatement, exitMap, exitMapKey, exitMapValue, exitMessageBlock, exitName, exitOneof, exitOneofField, exitOneofGroup, exitOptionEntry, exitOptionName, exitOptionValue, exitPackageName, exitPackageStatement, exitProto, exitRange, exitRanges, exitReserved, exitRpcMethod, exitRpcType, exitServiceBlock, exitSyntax, exitTag, exitTextFormatOptionName, exitTextFormatOptionValue, exitTypeReference, visitErrorNode, visitTerminalpublic static final int HEX
public static final int OCT
public static final int DECIMAL
protected OptionParseListener(org.antlr.v4.runtime.BufferedTokenStream tokens,
ProtoContext context)
public void exitOption(ProtoParser.OptionContext ctx)
ProtoParserBaseListenerProtoParser.option().
The default implementation does nothing.
exitOption in interface ProtoParserListenerexitOption in class ProtoParserBaseListenerctx - the parse treepublic void enterTextFormat(ProtoParser.TextFormatContext ctx)
ProtoParserBaseListenerProtoParser.textFormat().
The default implementation does nothing.
enterTextFormat in interface ProtoParserListenerenterTextFormat in class ProtoParserBaseListenerctx - the parse treepublic void exitTextFormat(ProtoParser.TextFormatContext ctx)
ProtoParserBaseListenerProtoParser.textFormat().
The default implementation does nothing.
exitTextFormat in interface ProtoParserListenerexitTextFormat in class ProtoParserBaseListenerctx - the parse treepublic void exitTextFormatEntry(ProtoParser.TextFormatEntryContext ctx)
ProtoParserBaseListenerProtoParser.textFormatEntry().
The default implementation does nothing.
exitTextFormatEntry in interface ProtoParserListenerexitTextFormatEntry in class ProtoParserBaseListenerctx - the parse treeCopyright © 2015–2016. All rights reserved.