Interface IProtobuf3Visitor<Result>
This interface defines a complete generic visitor for a parse tree produced by Protobuf3Parser.
Namespace: GCore.Antlr.Grammers.Protobuf3
Assembly: Protobuf3.dll
Syntax
public interface IProtobuf3Visitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitBlockLit(Protobuf3Parser.BlockLitContext)
Visit a parse tree produced by blockLit().
Declaration
Result VisitBlockLit(Protobuf3Parser.BlockLitContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.BlockLitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitBoolLit(Protobuf3Parser.BoolLitContext)
Visit a parse tree produced by boolLit().
Declaration
Result VisitBoolLit(Protobuf3Parser.BoolLitContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.BoolLitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConstant(Protobuf3Parser.ConstantContext)
Visit a parse tree produced by constant().
Declaration
Result VisitConstant(Protobuf3Parser.ConstantContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ConstantContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEmptyStatement_(Protobuf3Parser.EmptyStatement_Context)
Visit a parse tree produced by emptyStatement_().
Declaration
Result VisitEmptyStatement_(Protobuf3Parser.EmptyStatement_Context context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EmptyStatement_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumBody(Protobuf3Parser.EnumBodyContext)
Visit a parse tree produced by enumBody().
Declaration
Result VisitEnumBody(Protobuf3Parser.EnumBodyContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumBodyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumDef(Protobuf3Parser.EnumDefContext)
Visit a parse tree produced by enumDef().
Declaration
Result VisitEnumDef(Protobuf3Parser.EnumDefContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumDefContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumElement(Protobuf3Parser.EnumElementContext)
Visit a parse tree produced by enumElement().
Declaration
Result VisitEnumElement(Protobuf3Parser.EnumElementContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumField(Protobuf3Parser.EnumFieldContext)
Visit a parse tree produced by enumField().
Declaration
Result VisitEnumField(Protobuf3Parser.EnumFieldContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumFieldContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumName(Protobuf3Parser.EnumNameContext)
Visit a parse tree produced by enumName().
Declaration
Result VisitEnumName(Protobuf3Parser.EnumNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumType(Protobuf3Parser.EnumTypeContext)
Visit a parse tree produced by enumType().
Declaration
Result VisitEnumType(Protobuf3Parser.EnumTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumValueOption(Protobuf3Parser.EnumValueOptionContext)
Visit a parse tree produced by enumValueOption().
Declaration
Result VisitEnumValueOption(Protobuf3Parser.EnumValueOptionContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumValueOptionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnumValueOptions(Protobuf3Parser.EnumValueOptionsContext)
Visit a parse tree produced by enumValueOptions().
Declaration
Result VisitEnumValueOptions(Protobuf3Parser.EnumValueOptionsContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.EnumValueOptionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitField(Protobuf3Parser.FieldContext)
Visit a parse tree produced by field().
Declaration
Result VisitField(Protobuf3Parser.FieldContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.FieldContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldName(Protobuf3Parser.FieldNameContext)
Visit a parse tree produced by fieldName().
Declaration
Result VisitFieldName(Protobuf3Parser.FieldNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.FieldNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldNumber(Protobuf3Parser.FieldNumberContext)
Visit a parse tree produced by fieldNumber().
Declaration
Result VisitFieldNumber(Protobuf3Parser.FieldNumberContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.FieldNumberContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldOption(Protobuf3Parser.FieldOptionContext)
Visit a parse tree produced by fieldOption().
Declaration
Result VisitFieldOption(Protobuf3Parser.FieldOptionContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.FieldOptionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFieldOptions(Protobuf3Parser.FieldOptionsContext)
Visit a parse tree produced by fieldOptions().
Declaration
Result VisitFieldOptions(Protobuf3Parser.FieldOptionsContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.FieldOptionsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFloatLit(Protobuf3Parser.FloatLitContext)
Visit a parse tree produced by floatLit().
Declaration
Result VisitFloatLit(Protobuf3Parser.FloatLitContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.FloatLitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFullIdent(Protobuf3Parser.FullIdentContext)
Visit a parse tree produced by fullIdent().
Declaration
Result VisitFullIdent(Protobuf3Parser.FullIdentContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.FullIdentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIdent(Protobuf3Parser.IdentContext)
Visit a parse tree produced by ident().
Declaration
Result VisitIdent(Protobuf3Parser.IdentContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.IdentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitImportStatement(Protobuf3Parser.ImportStatementContext)
Visit a parse tree produced by importStatement().
Declaration
Result VisitImportStatement(Protobuf3Parser.ImportStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ImportStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitIntLit(Protobuf3Parser.IntLitContext)
Visit a parse tree produced by intLit().
Declaration
Result VisitIntLit(Protobuf3Parser.IntLitContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.IntLitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeyType(Protobuf3Parser.KeyTypeContext)
Visit a parse tree produced by keyType().
Declaration
Result VisitKeyType(Protobuf3Parser.KeyTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.KeyTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitKeywords(Protobuf3Parser.KeywordsContext)
Visit a parse tree produced by keywords().
Declaration
Result VisitKeywords(Protobuf3Parser.KeywordsContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.KeywordsContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMapField(Protobuf3Parser.MapFieldContext)
Visit a parse tree produced by mapField().
Declaration
Result VisitMapField(Protobuf3Parser.MapFieldContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.MapFieldContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMapName(Protobuf3Parser.MapNameContext)
Visit a parse tree produced by mapName().
Declaration
Result VisitMapName(Protobuf3Parser.MapNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.MapNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessageBody(Protobuf3Parser.MessageBodyContext)
Visit a parse tree produced by messageBody().
Declaration
Result VisitMessageBody(Protobuf3Parser.MessageBodyContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.MessageBodyContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessageDef(Protobuf3Parser.MessageDefContext)
Visit a parse tree produced by messageDef().
Declaration
Result VisitMessageDef(Protobuf3Parser.MessageDefContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.MessageDefContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessageElement(Protobuf3Parser.MessageElementContext)
Visit a parse tree produced by messageElement().
Declaration
Result VisitMessageElement(Protobuf3Parser.MessageElementContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.MessageElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessageName(Protobuf3Parser.MessageNameContext)
Visit a parse tree produced by messageName().
Declaration
Result VisitMessageName(Protobuf3Parser.MessageNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.MessageNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitMessageType(Protobuf3Parser.MessageTypeContext)
Visit a parse tree produced by messageType().
Declaration
Result VisitMessageType(Protobuf3Parser.MessageTypeContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.MessageTypeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOneof(Protobuf3Parser.OneofContext)
Visit a parse tree produced by oneof().
Declaration
Result VisitOneof(Protobuf3Parser.OneofContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.OneofContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOneofField(Protobuf3Parser.OneofFieldContext)
Visit a parse tree produced by oneofField().
Declaration
Result VisitOneofField(Protobuf3Parser.OneofFieldContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.OneofFieldContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOneofName(Protobuf3Parser.OneofNameContext)
Visit a parse tree produced by oneofName().
Declaration
Result VisitOneofName(Protobuf3Parser.OneofNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.OneofNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOptionName(Protobuf3Parser.OptionNameContext)
Visit a parse tree produced by optionName().
Declaration
Result VisitOptionName(Protobuf3Parser.OptionNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.OptionNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitOptionStatement(Protobuf3Parser.OptionStatementContext)
Visit a parse tree produced by optionStatement().
Declaration
Result VisitOptionStatement(Protobuf3Parser.OptionStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.OptionStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitPackageStatement(Protobuf3Parser.PackageStatementContext)
Visit a parse tree produced by packageStatement().
Declaration
Result VisitPackageStatement(Protobuf3Parser.PackageStatementContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.PackageStatementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitProto(Protobuf3Parser.ProtoContext)
Visit a parse tree produced by proto().
Declaration
Result VisitProto(Protobuf3Parser.ProtoContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ProtoContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRange_(Protobuf3Parser.Range_Context)
Visit a parse tree produced by range_().
Declaration
Result VisitRange_(Protobuf3Parser.Range_Context context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.Range_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRanges(Protobuf3Parser.RangesContext)
Visit a parse tree produced by ranges().
Declaration
Result VisitRanges(Protobuf3Parser.RangesContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.RangesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReserved(Protobuf3Parser.ReservedContext)
Visit a parse tree produced by reserved().
Declaration
Result VisitReserved(Protobuf3Parser.ReservedContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ReservedContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitReservedFieldNames(Protobuf3Parser.ReservedFieldNamesContext)
Visit a parse tree produced by reservedFieldNames().
Declaration
Result VisitReservedFieldNames(Protobuf3Parser.ReservedFieldNamesContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ReservedFieldNamesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRpc(Protobuf3Parser.RpcContext)
Visit a parse tree produced by rpc().
Declaration
Result VisitRpc(Protobuf3Parser.RpcContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.RpcContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitRpcName(Protobuf3Parser.RpcNameContext)
Visit a parse tree produced by rpcName().
Declaration
Result VisitRpcName(Protobuf3Parser.RpcNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.RpcNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitServiceDef(Protobuf3Parser.ServiceDefContext)
Visit a parse tree produced by serviceDef().
Declaration
Result VisitServiceDef(Protobuf3Parser.ServiceDefContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ServiceDefContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitServiceElement(Protobuf3Parser.ServiceElementContext)
Visit a parse tree produced by serviceElement().
Declaration
Result VisitServiceElement(Protobuf3Parser.ServiceElementContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ServiceElementContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitServiceName(Protobuf3Parser.ServiceNameContext)
Visit a parse tree produced by serviceName().
Declaration
Result VisitServiceName(Protobuf3Parser.ServiceNameContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.ServiceNameContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStrLit(Protobuf3Parser.StrLitContext)
Visit a parse tree produced by strLit().
Declaration
Result VisitStrLit(Protobuf3Parser.StrLitContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.StrLitContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitSyntax(Protobuf3Parser.SyntaxContext)
Visit a parse tree produced by syntax().
Declaration
Result VisitSyntax(Protobuf3Parser.SyntaxContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.SyntaxContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitTopLevelDef(Protobuf3Parser.TopLevelDefContext)
Visit a parse tree produced by topLevelDef().
Declaration
Result VisitTopLevelDef(Protobuf3Parser.TopLevelDefContext context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.TopLevelDefContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitType_(Protobuf3Parser.Type_Context)
Visit a parse tree produced by type_().
Declaration
Result VisitType_(Protobuf3Parser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
Protobuf3Parser.Type_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |