Interface ICapnProtoVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by CapnProtoParser.
Namespace: GCore.Antlr.Grammers.Capnproto
Assembly: Capnproto.dll
Syntax
public interface ICapnProtoVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
Name | Description |
---|---|
Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAnnotation_def(CapnProtoParser.Annotation_defContext)
Visit a parse tree produced by annotation_def().
Declaration
Result VisitAnnotation_def(CapnProtoParser.Annotation_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAnnotation_parameters(CapnProtoParser.Annotation_parametersContext)
Visit a parse tree produced by annotation_parameters().
Declaration
Result VisitAnnotation_parameters(CapnProtoParser.Annotation_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_parametersContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitAnnotation_reference(CapnProtoParser.Annotation_referenceContext)
Visit a parse tree produced by annotation_reference().
Declaration
Result VisitAnnotation_reference(CapnProtoParser.Annotation_referenceContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_referenceContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConst_def(CapnProtoParser.Const_defContext)
Visit a parse tree produced by const_def().
Declaration
Result VisitConst_def(CapnProtoParser.Const_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Const_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitConst_value(CapnProtoParser.Const_valueContext)
Visit a parse tree produced by const_value().
Declaration
Result VisitConst_value(CapnProtoParser.Const_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Const_valueContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDocument(CapnProtoParser.DocumentContext)
Visit a parse tree produced by document().
Declaration
Result VisitDocument(CapnProtoParser.DocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.DocumentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitDocument_content(CapnProtoParser.Document_contentContext)
Visit a parse tree produced by document_content().
Declaration
Result VisitDocument_content(CapnProtoParser.Document_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Document_contentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnum_content(CapnProtoParser.Enum_contentContext)
Visit a parse tree produced by enum_content().
Declaration
Result VisitEnum_content(CapnProtoParser.Enum_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Enum_contentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitEnum_def(CapnProtoParser.Enum_defContext)
Visit a parse tree produced by enum_def().
Declaration
Result VisitEnum_def(CapnProtoParser.Enum_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Enum_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitField_def(CapnProtoParser.Field_defContext)
Visit a parse tree produced by field_def().
Declaration
Result VisitField_def(CapnProtoParser.Field_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Field_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFile_identifier(CapnProtoParser.File_identifierContext)
Visit a parse tree produced by file_identifier().
Declaration
Result VisitFile_identifier(CapnProtoParser.File_identifierContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.File_identifierContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunction_def(CapnProtoParser.Function_defContext)
Visit a parse tree produced by function_def().
Declaration
Result VisitFunction_def(CapnProtoParser.Function_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Function_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitFunction_parameters(CapnProtoParser.Function_parametersContext)
Visit a parse tree produced by function_parameters().
Declaration
Result VisitFunction_parameters(CapnProtoParser.Function_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Function_parametersContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGeneric_type_parameters(CapnProtoParser.Generic_type_parametersContext)
Visit a parse tree produced by generic_type_parameters().
Declaration
Result VisitGeneric_type_parameters(CapnProtoParser.Generic_type_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Generic_type_parametersContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGroup_content(CapnProtoParser.Group_contentContext)
Visit a parse tree produced by group_content().
Declaration
Result VisitGroup_content(CapnProtoParser.Group_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Group_contentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitGroup_def(CapnProtoParser.Group_defContext)
Visit a parse tree produced by group_def().
Declaration
Result VisitGroup_def(CapnProtoParser.Group_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Group_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInner_type(CapnProtoParser.Inner_typeContext)
Visit a parse tree produced by inner_type().
Declaration
Result VisitInner_type(CapnProtoParser.Inner_typeContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Inner_typeContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInner_using(CapnProtoParser.Inner_usingContext)
Visit a parse tree produced by inner_using().
Declaration
Result VisitInner_using(CapnProtoParser.Inner_usingContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Inner_usingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInterface_content(CapnProtoParser.Interface_contentContext)
Visit a parse tree produced by interface_content().
Declaration
Result VisitInterface_content(CapnProtoParser.Interface_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Interface_contentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitInterface_def(CapnProtoParser.Interface_defContext)
Visit a parse tree produced by interface_def().
Declaration
Result VisitInterface_def(CapnProtoParser.Interface_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Interface_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteral_bytes(CapnProtoParser.Literal_bytesContext)
Visit a parse tree produced by literal_bytes().
Declaration
Result VisitLiteral_bytes(CapnProtoParser.Literal_bytesContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_bytesContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteral_list(CapnProtoParser.Literal_listContext)
Visit a parse tree produced by literal_list().
Declaration
Result VisitLiteral_list(CapnProtoParser.Literal_listContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_listContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitLiteral_union(CapnProtoParser.Literal_unionContext)
Visit a parse tree produced by literal_union().
Declaration
Result VisitLiteral_union(CapnProtoParser.Literal_unionContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_unionContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNamed_union_def(CapnProtoParser.Named_union_defContext)
Visit a parse tree produced by named_union_def().
Declaration
Result VisitNamed_union_def(CapnProtoParser.Named_union_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Named_union_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitNamespace_(CapnProtoParser.Namespace_Context)
Visit a parse tree produced by namespace_().
Declaration
Result VisitNamespace_(CapnProtoParser.Namespace_Context context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Namespace_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStruct_content(CapnProtoParser.Struct_contentContext)
Visit a parse tree produced by struct_content().
Declaration
Result VisitStruct_content(CapnProtoParser.Struct_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Struct_contentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitStruct_def(CapnProtoParser.Struct_defContext)
Visit a parse tree produced by struct_def().
Declaration
Result VisitStruct_def(CapnProtoParser.Struct_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Struct_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitType_(CapnProtoParser.Type_Context)
Visit a parse tree produced by type_().
Declaration
Result VisitType_(CapnProtoParser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Type_Context | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnion_content(CapnProtoParser.Union_contentContext)
Visit a parse tree produced by union_content().
Declaration
Result VisitUnion_content(CapnProtoParser.Union_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Union_contentContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnion_mapping(CapnProtoParser.Union_mappingContext)
Visit a parse tree produced by union_mapping().
Declaration
Result VisitUnion_mapping(CapnProtoParser.Union_mappingContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Union_mappingContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUnnamed_union_def(CapnProtoParser.Unnamed_union_defContext)
Visit a parse tree produced by unnamed_union_def().
Declaration
Result VisitUnnamed_union_def(CapnProtoParser.Unnamed_union_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Unnamed_union_defContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |
VisitUsing_import(CapnProtoParser.Using_importContext)
Visit a parse tree produced by using_import().
Declaration
Result VisitUsing_import(CapnProtoParser.Using_importContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Using_importContext | context | The parse tree. |
Returns
Type | Description |
---|---|
Result |