Package io.protostuff.compiler.parser
Interface ProtoParserListener
-
- All Superinterfaces:
org.antlr.v4.runtime.tree.ParseTreeListener
- All Known Implementing Classes:
AbstractProtoParserListener,EnumParseListener,MessageParseListener,OptionParseListener,ProtoParseListener,ProtoParserBaseListener,ServiceParseListener
public interface ProtoParserListener extends org.antlr.v4.runtime.tree.ParseTreeListenerThis interface defines a complete listener for a parse tree produced byProtoParser.
-
-
Method Summary
-
-
-
Method Detail
-
enterProto
void enterProto(ProtoParser.ProtoContext ctx)
Enter a parse tree produced byProtoParser.proto().- Parameters:
ctx- the parse tree
-
exitProto
void exitProto(ProtoParser.ProtoContext ctx)
Exit a parse tree produced byProtoParser.proto().- Parameters:
ctx- the parse tree
-
enterSyntaxStatement
void enterSyntaxStatement(ProtoParser.SyntaxStatementContext ctx)
Enter a parse tree produced byProtoParser.syntaxStatement().- Parameters:
ctx- the parse tree
-
exitSyntaxStatement
void exitSyntaxStatement(ProtoParser.SyntaxStatementContext ctx)
Exit a parse tree produced byProtoParser.syntaxStatement().- Parameters:
ctx- the parse tree
-
enterSyntaxName
void enterSyntaxName(ProtoParser.SyntaxNameContext ctx)
Enter a parse tree produced byProtoParser.syntaxName().- Parameters:
ctx- the parse tree
-
exitSyntaxName
void exitSyntaxName(ProtoParser.SyntaxNameContext ctx)
Exit a parse tree produced byProtoParser.syntaxName().- Parameters:
ctx- the parse tree
-
enterPackageStatement
void enterPackageStatement(ProtoParser.PackageStatementContext ctx)
Enter a parse tree produced byProtoParser.packageStatement().- Parameters:
ctx- the parse tree
-
exitPackageStatement
void exitPackageStatement(ProtoParser.PackageStatementContext ctx)
Exit a parse tree produced byProtoParser.packageStatement().- Parameters:
ctx- the parse tree
-
enterPackageName
void enterPackageName(ProtoParser.PackageNameContext ctx)
Enter a parse tree produced byProtoParser.packageName().- Parameters:
ctx- the parse tree
-
exitPackageName
void exitPackageName(ProtoParser.PackageNameContext ctx)
Exit a parse tree produced byProtoParser.packageName().- Parameters:
ctx- the parse tree
-
enterImportStatement
void enterImportStatement(ProtoParser.ImportStatementContext ctx)
Enter a parse tree produced byProtoParser.importStatement().- Parameters:
ctx- the parse tree
-
exitImportStatement
void exitImportStatement(ProtoParser.ImportStatementContext ctx)
Exit a parse tree produced byProtoParser.importStatement().- Parameters:
ctx- the parse tree
-
enterFileReference
void enterFileReference(ProtoParser.FileReferenceContext ctx)
Enter a parse tree produced byProtoParser.fileReference().- Parameters:
ctx- the parse tree
-
exitFileReference
void exitFileReference(ProtoParser.FileReferenceContext ctx)
Exit a parse tree produced byProtoParser.fileReference().- Parameters:
ctx- the parse tree
-
enterOptionEntry
void enterOptionEntry(ProtoParser.OptionEntryContext ctx)
Enter a parse tree produced byProtoParser.optionEntry().- Parameters:
ctx- the parse tree
-
exitOptionEntry
void exitOptionEntry(ProtoParser.OptionEntryContext ctx)
Exit a parse tree produced byProtoParser.optionEntry().- Parameters:
ctx- the parse tree
-
enterEnumBlock
void enterEnumBlock(ProtoParser.EnumBlockContext ctx)
Enter a parse tree produced byProtoParser.enumBlock().- Parameters:
ctx- the parse tree
-
exitEnumBlock
void exitEnumBlock(ProtoParser.EnumBlockContext ctx)
Exit a parse tree produced byProtoParser.enumBlock().- Parameters:
ctx- the parse tree
-
enterEnumName
void enterEnumName(ProtoParser.EnumNameContext ctx)
Enter a parse tree produced byProtoParser.enumName().- Parameters:
ctx- the parse tree
-
exitEnumName
void exitEnumName(ProtoParser.EnumNameContext ctx)
Exit a parse tree produced byProtoParser.enumName().- Parameters:
ctx- the parse tree
-
enterEnumField
void enterEnumField(ProtoParser.EnumFieldContext ctx)
Enter a parse tree produced byProtoParser.enumField().- Parameters:
ctx- the parse tree
-
exitEnumField
void exitEnumField(ProtoParser.EnumFieldContext ctx)
Exit a parse tree produced byProtoParser.enumField().- Parameters:
ctx- the parse tree
-
enterEnumFieldName
void enterEnumFieldName(ProtoParser.EnumFieldNameContext ctx)
Enter a parse tree produced byProtoParser.enumFieldName().- Parameters:
ctx- the parse tree
-
exitEnumFieldName
void exitEnumFieldName(ProtoParser.EnumFieldNameContext ctx)
Exit a parse tree produced byProtoParser.enumFieldName().- Parameters:
ctx- the parse tree
-
enterEnumFieldValue
void enterEnumFieldValue(ProtoParser.EnumFieldValueContext ctx)
Enter a parse tree produced byProtoParser.enumFieldValue().- Parameters:
ctx- the parse tree
-
exitEnumFieldValue
void exitEnumFieldValue(ProtoParser.EnumFieldValueContext ctx)
Exit a parse tree produced byProtoParser.enumFieldValue().- Parameters:
ctx- the parse tree
-
enterExtendBlock
void enterExtendBlock(ProtoParser.ExtendBlockContext ctx)
Enter a parse tree produced byProtoParser.extendBlock().- Parameters:
ctx- the parse tree
-
exitExtendBlock
void exitExtendBlock(ProtoParser.ExtendBlockContext ctx)
Exit a parse tree produced byProtoParser.extendBlock().- Parameters:
ctx- the parse tree
-
enterExtendBlockEntry
void enterExtendBlockEntry(ProtoParser.ExtendBlockEntryContext ctx)
Enter a parse tree produced byProtoParser.extendBlockEntry().- Parameters:
ctx- the parse tree
-
exitExtendBlockEntry
void exitExtendBlockEntry(ProtoParser.ExtendBlockEntryContext ctx)
Exit a parse tree produced byProtoParser.extendBlockEntry().- Parameters:
ctx- the parse tree
-
enterServiceBlock
void enterServiceBlock(ProtoParser.ServiceBlockContext ctx)
Enter a parse tree produced byProtoParser.serviceBlock().- Parameters:
ctx- the parse tree
-
exitServiceBlock
void exitServiceBlock(ProtoParser.ServiceBlockContext ctx)
Exit a parse tree produced byProtoParser.serviceBlock().- Parameters:
ctx- the parse tree
-
enterServiceName
void enterServiceName(ProtoParser.ServiceNameContext ctx)
Enter a parse tree produced byProtoParser.serviceName().- Parameters:
ctx- the parse tree
-
exitServiceName
void exitServiceName(ProtoParser.ServiceNameContext ctx)
Exit a parse tree produced byProtoParser.serviceName().- Parameters:
ctx- the parse tree
-
enterRpcMethod
void enterRpcMethod(ProtoParser.RpcMethodContext ctx)
Enter a parse tree produced byProtoParser.rpcMethod().- Parameters:
ctx- the parse tree
-
exitRpcMethod
void exitRpcMethod(ProtoParser.RpcMethodContext ctx)
Exit a parse tree produced byProtoParser.rpcMethod().- Parameters:
ctx- the parse tree
-
enterRpcName
void enterRpcName(ProtoParser.RpcNameContext ctx)
Enter a parse tree produced byProtoParser.rpcName().- Parameters:
ctx- the parse tree
-
exitRpcName
void exitRpcName(ProtoParser.RpcNameContext ctx)
Exit a parse tree produced byProtoParser.rpcName().- Parameters:
ctx- the parse tree
-
enterRpcType
void enterRpcType(ProtoParser.RpcTypeContext ctx)
Enter a parse tree produced byProtoParser.rpcType().- Parameters:
ctx- the parse tree
-
exitRpcType
void exitRpcType(ProtoParser.RpcTypeContext ctx)
Exit a parse tree produced byProtoParser.rpcType().- Parameters:
ctx- the parse tree
-
enterMessageBlock
void enterMessageBlock(ProtoParser.MessageBlockContext ctx)
Enter a parse tree produced byProtoParser.messageBlock().- Parameters:
ctx- the parse tree
-
exitMessageBlock
void exitMessageBlock(ProtoParser.MessageBlockContext ctx)
Exit a parse tree produced byProtoParser.messageBlock().- Parameters:
ctx- the parse tree
-
enterMessageName
void enterMessageName(ProtoParser.MessageNameContext ctx)
Enter a parse tree produced byProtoParser.messageName().- Parameters:
ctx- the parse tree
-
exitMessageName
void exitMessageName(ProtoParser.MessageNameContext ctx)
Exit a parse tree produced byProtoParser.messageName().- Parameters:
ctx- the parse tree
-
enterOneof
void enterOneof(ProtoParser.OneofContext ctx)
Enter a parse tree produced byProtoParser.oneof().- Parameters:
ctx- the parse tree
-
exitOneof
void exitOneof(ProtoParser.OneofContext ctx)
Exit a parse tree produced byProtoParser.oneof().- Parameters:
ctx- the parse tree
-
enterOneofName
void enterOneofName(ProtoParser.OneofNameContext ctx)
Enter a parse tree produced byProtoParser.oneofName().- Parameters:
ctx- the parse tree
-
exitOneofName
void exitOneofName(ProtoParser.OneofNameContext ctx)
Exit a parse tree produced byProtoParser.oneofName().- Parameters:
ctx- the parse tree
-
enterMap
void enterMap(ProtoParser.MapContext ctx)
Enter a parse tree produced byProtoParser.map().- Parameters:
ctx- the parse tree
-
exitMap
void exitMap(ProtoParser.MapContext ctx)
Exit a parse tree produced byProtoParser.map().- Parameters:
ctx- the parse tree
-
enterMapKey
void enterMapKey(ProtoParser.MapKeyContext ctx)
Enter a parse tree produced byProtoParser.mapKey().- Parameters:
ctx- the parse tree
-
exitMapKey
void exitMapKey(ProtoParser.MapKeyContext ctx)
Exit a parse tree produced byProtoParser.mapKey().- Parameters:
ctx- the parse tree
-
enterMapValue
void enterMapValue(ProtoParser.MapValueContext ctx)
Enter a parse tree produced byProtoParser.mapValue().- Parameters:
ctx- the parse tree
-
exitMapValue
void exitMapValue(ProtoParser.MapValueContext ctx)
Exit a parse tree produced byProtoParser.mapValue().- Parameters:
ctx- the parse tree
-
enterTag
void enterTag(ProtoParser.TagContext ctx)
Enter a parse tree produced byProtoParser.tag().- Parameters:
ctx- the parse tree
-
exitTag
void exitTag(ProtoParser.TagContext ctx)
Exit a parse tree produced byProtoParser.tag().- Parameters:
ctx- the parse tree
-
enterGroupBlock
void enterGroupBlock(ProtoParser.GroupBlockContext ctx)
Enter a parse tree produced byProtoParser.groupBlock().- Parameters:
ctx- the parse tree
-
exitGroupBlock
void exitGroupBlock(ProtoParser.GroupBlockContext ctx)
Exit a parse tree produced byProtoParser.groupBlock().- Parameters:
ctx- the parse tree
-
enterGroupName
void enterGroupName(ProtoParser.GroupNameContext ctx)
Enter a parse tree produced byProtoParser.groupName().- Parameters:
ctx- the parse tree
-
exitGroupName
void exitGroupName(ProtoParser.GroupNameContext ctx)
Exit a parse tree produced byProtoParser.groupName().- Parameters:
ctx- the parse tree
-
enterExtensions
void enterExtensions(ProtoParser.ExtensionsContext ctx)
Enter a parse tree produced byProtoParser.extensions().- Parameters:
ctx- the parse tree
-
exitExtensions
void exitExtensions(ProtoParser.ExtensionsContext ctx)
Exit a parse tree produced byProtoParser.extensions().- Parameters:
ctx- the parse tree
-
enterRange
void enterRange(ProtoParser.RangeContext ctx)
Enter a parse tree produced byProtoParser.range().- Parameters:
ctx- the parse tree
-
exitRange
void exitRange(ProtoParser.RangeContext ctx)
Exit a parse tree produced byProtoParser.range().- Parameters:
ctx- the parse tree
-
enterRangeFrom
void enterRangeFrom(ProtoParser.RangeFromContext ctx)
Enter a parse tree produced byProtoParser.rangeFrom().- Parameters:
ctx- the parse tree
-
exitRangeFrom
void exitRangeFrom(ProtoParser.RangeFromContext ctx)
Exit a parse tree produced byProtoParser.rangeFrom().- Parameters:
ctx- the parse tree
-
enterRangeTo
void enterRangeTo(ProtoParser.RangeToContext ctx)
Enter a parse tree produced byProtoParser.rangeTo().- Parameters:
ctx- the parse tree
-
exitRangeTo
void exitRangeTo(ProtoParser.RangeToContext ctx)
Exit a parse tree produced byProtoParser.rangeTo().- Parameters:
ctx- the parse tree
-
enterReservedFieldRanges
void enterReservedFieldRanges(ProtoParser.ReservedFieldRangesContext ctx)
Enter a parse tree produced byProtoParser.reservedFieldRanges().- Parameters:
ctx- the parse tree
-
exitReservedFieldRanges
void exitReservedFieldRanges(ProtoParser.ReservedFieldRangesContext ctx)
Exit a parse tree produced byProtoParser.reservedFieldRanges().- Parameters:
ctx- the parse tree
-
enterReservedFieldNames
void enterReservedFieldNames(ProtoParser.ReservedFieldNamesContext ctx)
Enter a parse tree produced byProtoParser.reservedFieldNames().- Parameters:
ctx- the parse tree
-
exitReservedFieldNames
void exitReservedFieldNames(ProtoParser.ReservedFieldNamesContext ctx)
Exit a parse tree produced byProtoParser.reservedFieldNames().- Parameters:
ctx- the parse tree
-
enterReservedFieldName
void enterReservedFieldName(ProtoParser.ReservedFieldNameContext ctx)
Enter a parse tree produced byProtoParser.reservedFieldName().- Parameters:
ctx- the parse tree
-
exitReservedFieldName
void exitReservedFieldName(ProtoParser.ReservedFieldNameContext ctx)
Exit a parse tree produced byProtoParser.reservedFieldName().- Parameters:
ctx- the parse tree
-
enterField
void enterField(ProtoParser.FieldContext ctx)
Enter a parse tree produced byProtoParser.field().- Parameters:
ctx- the parse tree
-
exitField
void exitField(ProtoParser.FieldContext ctx)
Exit a parse tree produced byProtoParser.field().- Parameters:
ctx- the parse tree
-
enterFieldName
void enterFieldName(ProtoParser.FieldNameContext ctx)
Enter a parse tree produced byProtoParser.fieldName().- Parameters:
ctx- the parse tree
-
exitFieldName
void exitFieldName(ProtoParser.FieldNameContext ctx)
Exit a parse tree produced byProtoParser.fieldName().- Parameters:
ctx- the parse tree
-
enterFieldModifier
void enterFieldModifier(ProtoParser.FieldModifierContext ctx)
Enter a parse tree produced byProtoParser.fieldModifier().- Parameters:
ctx- the parse tree
-
exitFieldModifier
void exitFieldModifier(ProtoParser.FieldModifierContext ctx)
Exit a parse tree produced byProtoParser.fieldModifier().- Parameters:
ctx- the parse tree
-
enterTypeReference
void enterTypeReference(ProtoParser.TypeReferenceContext ctx)
Enter a parse tree produced byProtoParser.typeReference().- Parameters:
ctx- the parse tree
-
exitTypeReference
void exitTypeReference(ProtoParser.TypeReferenceContext ctx)
Exit a parse tree produced byProtoParser.typeReference().- Parameters:
ctx- the parse tree
-
enterFieldOptions
void enterFieldOptions(ProtoParser.FieldOptionsContext ctx)
Enter a parse tree produced byProtoParser.fieldOptions().- Parameters:
ctx- the parse tree
-
exitFieldOptions
void exitFieldOptions(ProtoParser.FieldOptionsContext ctx)
Exit a parse tree produced byProtoParser.fieldOptions().- Parameters:
ctx- the parse tree
-
enterOption
void enterOption(ProtoParser.OptionContext ctx)
Enter a parse tree produced byProtoParser.option().- Parameters:
ctx- the parse tree
-
exitOption
void exitOption(ProtoParser.OptionContext ctx)
Exit a parse tree produced byProtoParser.option().- Parameters:
ctx- the parse tree
-
enterFieldRerefence
void enterFieldRerefence(ProtoParser.FieldRerefenceContext ctx)
Enter a parse tree produced byProtoParser.fieldRerefence().- Parameters:
ctx- the parse tree
-
exitFieldRerefence
void exitFieldRerefence(ProtoParser.FieldRerefenceContext ctx)
Exit a parse tree produced byProtoParser.fieldRerefence().- Parameters:
ctx- the parse tree
-
enterStandardFieldRerefence
void enterStandardFieldRerefence(ProtoParser.StandardFieldRerefenceContext ctx)
Enter a parse tree produced byProtoParser.standardFieldRerefence().- Parameters:
ctx- the parse tree
-
exitStandardFieldRerefence
void exitStandardFieldRerefence(ProtoParser.StandardFieldRerefenceContext ctx)
Exit a parse tree produced byProtoParser.standardFieldRerefence().- Parameters:
ctx- the parse tree
-
enterCustomFieldReference
void enterCustomFieldReference(ProtoParser.CustomFieldReferenceContext ctx)
Enter a parse tree produced byProtoParser.customFieldReference().- Parameters:
ctx- the parse tree
-
exitCustomFieldReference
void exitCustomFieldReference(ProtoParser.CustomFieldReferenceContext ctx)
Exit a parse tree produced byProtoParser.customFieldReference().- Parameters:
ctx- the parse tree
-
enterOptionValue
void enterOptionValue(ProtoParser.OptionValueContext ctx)
Enter a parse tree produced byProtoParser.optionValue().- Parameters:
ctx- the parse tree
-
exitOptionValue
void exitOptionValue(ProtoParser.OptionValueContext ctx)
Exit a parse tree produced byProtoParser.optionValue().- Parameters:
ctx- the parse tree
-
enterTextFormat
void enterTextFormat(ProtoParser.TextFormatContext ctx)
Enter a parse tree produced byProtoParser.textFormat().- Parameters:
ctx- the parse tree
-
exitTextFormat
void exitTextFormat(ProtoParser.TextFormatContext ctx)
Exit a parse tree produced byProtoParser.textFormat().- Parameters:
ctx- the parse tree
-
enterTextFormatOptionName
void enterTextFormatOptionName(ProtoParser.TextFormatOptionNameContext ctx)
Enter a parse tree produced byProtoParser.textFormatOptionName().- Parameters:
ctx- the parse tree
-
exitTextFormatOptionName
void exitTextFormatOptionName(ProtoParser.TextFormatOptionNameContext ctx)
Exit a parse tree produced byProtoParser.textFormatOptionName().- Parameters:
ctx- the parse tree
-
enterTextFormatEntry
void enterTextFormatEntry(ProtoParser.TextFormatEntryContext ctx)
Enter a parse tree produced byProtoParser.textFormatEntry().- Parameters:
ctx- the parse tree
-
exitTextFormatEntry
void exitTextFormatEntry(ProtoParser.TextFormatEntryContext ctx)
Exit a parse tree produced byProtoParser.textFormatEntry().- Parameters:
ctx- the parse tree
-
enterTextFormatOptionValue
void enterTextFormatOptionValue(ProtoParser.TextFormatOptionValueContext ctx)
Enter a parse tree produced byProtoParser.textFormatOptionValue().- Parameters:
ctx- the parse tree
-
exitTextFormatOptionValue
void exitTextFormatOptionValue(ProtoParser.TextFormatOptionValueContext ctx)
Exit a parse tree produced byProtoParser.textFormatOptionValue().- Parameters:
ctx- the parse tree
-
enterFullIdent
void enterFullIdent(ProtoParser.FullIdentContext ctx)
Enter a parse tree produced byProtoParser.fullIdent().- Parameters:
ctx- the parse tree
-
exitFullIdent
void exitFullIdent(ProtoParser.FullIdentContext ctx)
Exit a parse tree produced byProtoParser.fullIdent().- Parameters:
ctx- the parse tree
-
enterIdent
void enterIdent(ProtoParser.IdentContext ctx)
Enter a parse tree produced byProtoParser.ident().- Parameters:
ctx- the parse tree
-
exitIdent
void exitIdent(ProtoParser.IdentContext ctx)
Exit a parse tree produced byProtoParser.ident().- Parameters:
ctx- the parse tree
-
-