Class CapnProtoBaseListener
This class provides an empty implementation of ICapnProtoListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Capnproto
Assembly: Capnproto.dll
Syntax
public class CapnProtoBaseListener : object, ICapnProtoListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAnnotation_def(CapnProtoParser.Annotation_defContext)
Enter a parse tree produced by annotation_def().
The default implementation does nothing.
Declaration
public virtual void EnterAnnotation_def(CapnProtoParser.Annotation_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_defContext | context | The parse tree. |
EnterAnnotation_parameters(CapnProtoParser.Annotation_parametersContext)
Enter a parse tree produced by annotation_parameters().
The default implementation does nothing.
Declaration
public virtual void EnterAnnotation_parameters(CapnProtoParser.Annotation_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_parametersContext | context | The parse tree. |
EnterAnnotation_reference(CapnProtoParser.Annotation_referenceContext)
Enter a parse tree produced by annotation_reference().
The default implementation does nothing.
Declaration
public virtual void EnterAnnotation_reference(CapnProtoParser.Annotation_referenceContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_referenceContext | context | The parse tree. |
EnterConst_def(CapnProtoParser.Const_defContext)
Enter a parse tree produced by const_def().
The default implementation does nothing.
Declaration
public virtual void EnterConst_def(CapnProtoParser.Const_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Const_defContext | context | The parse tree. |
EnterConst_value(CapnProtoParser.Const_valueContext)
Enter a parse tree produced by const_value().
The default implementation does nothing.
Declaration
public virtual void EnterConst_value(CapnProtoParser.Const_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Const_valueContext | context | The parse tree. |
EnterDocument(CapnProtoParser.DocumentContext)
Enter a parse tree produced by document().
The default implementation does nothing.
Declaration
public virtual void EnterDocument(CapnProtoParser.DocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.DocumentContext | context | The parse tree. |
EnterDocument_content(CapnProtoParser.Document_contentContext)
Enter a parse tree produced by document_content().
The default implementation does nothing.
Declaration
public virtual void EnterDocument_content(CapnProtoParser.Document_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Document_contentContext | context | The parse tree. |
EnterEnum_content(CapnProtoParser.Enum_contentContext)
Enter a parse tree produced by enum_content().
The default implementation does nothing.
Declaration
public virtual void EnterEnum_content(CapnProtoParser.Enum_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Enum_contentContext | context | The parse tree. |
EnterEnum_def(CapnProtoParser.Enum_defContext)
Enter a parse tree produced by enum_def().
The default implementation does nothing.
Declaration
public virtual void EnterEnum_def(CapnProtoParser.Enum_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Enum_defContext | context | The parse tree. |
EnterEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void EnterEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
EnterField_def(CapnProtoParser.Field_defContext)
Enter a parse tree produced by field_def().
The default implementation does nothing.
Declaration
public virtual void EnterField_def(CapnProtoParser.Field_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Field_defContext | context | The parse tree. |
EnterFile_identifier(CapnProtoParser.File_identifierContext)
Enter a parse tree produced by file_identifier().
The default implementation does nothing.
Declaration
public virtual void EnterFile_identifier(CapnProtoParser.File_identifierContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.File_identifierContext | context | The parse tree. |
EnterFunction_def(CapnProtoParser.Function_defContext)
Enter a parse tree produced by function_def().
The default implementation does nothing.
Declaration
public virtual void EnterFunction_def(CapnProtoParser.Function_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Function_defContext | context | The parse tree. |
EnterFunction_parameters(CapnProtoParser.Function_parametersContext)
Enter a parse tree produced by function_parameters().
The default implementation does nothing.
Declaration
public virtual void EnterFunction_parameters(CapnProtoParser.Function_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Function_parametersContext | context | The parse tree. |
EnterGeneric_type_parameters(CapnProtoParser.Generic_type_parametersContext)
Enter a parse tree produced by generic_type_parameters().
The default implementation does nothing.
Declaration
public virtual void EnterGeneric_type_parameters(CapnProtoParser.Generic_type_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Generic_type_parametersContext | context | The parse tree. |
EnterGroup_content(CapnProtoParser.Group_contentContext)
Enter a parse tree produced by group_content().
The default implementation does nothing.
Declaration
public virtual void EnterGroup_content(CapnProtoParser.Group_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Group_contentContext | context | The parse tree. |
EnterGroup_def(CapnProtoParser.Group_defContext)
Enter a parse tree produced by group_def().
The default implementation does nothing.
Declaration
public virtual void EnterGroup_def(CapnProtoParser.Group_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Group_defContext | context | The parse tree. |
EnterInner_type(CapnProtoParser.Inner_typeContext)
Enter a parse tree produced by inner_type().
The default implementation does nothing.
Declaration
public virtual void EnterInner_type(CapnProtoParser.Inner_typeContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Inner_typeContext | context | The parse tree. |
EnterInner_using(CapnProtoParser.Inner_usingContext)
Enter a parse tree produced by inner_using().
The default implementation does nothing.
Declaration
public virtual void EnterInner_using(CapnProtoParser.Inner_usingContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Inner_usingContext | context | The parse tree. |
EnterInterface_content(CapnProtoParser.Interface_contentContext)
Enter a parse tree produced by interface_content().
The default implementation does nothing.
Declaration
public virtual void EnterInterface_content(CapnProtoParser.Interface_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Interface_contentContext | context | The parse tree. |
EnterInterface_def(CapnProtoParser.Interface_defContext)
Enter a parse tree produced by interface_def().
The default implementation does nothing.
Declaration
public virtual void EnterInterface_def(CapnProtoParser.Interface_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Interface_defContext | context | The parse tree. |
EnterLiteral_bytes(CapnProtoParser.Literal_bytesContext)
Enter a parse tree produced by literal_bytes().
The default implementation does nothing.
Declaration
public virtual void EnterLiteral_bytes(CapnProtoParser.Literal_bytesContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_bytesContext | context | The parse tree. |
EnterLiteral_list(CapnProtoParser.Literal_listContext)
Enter a parse tree produced by literal_list().
The default implementation does nothing.
Declaration
public virtual void EnterLiteral_list(CapnProtoParser.Literal_listContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_listContext | context | The parse tree. |
EnterLiteral_union(CapnProtoParser.Literal_unionContext)
Enter a parse tree produced by literal_union().
The default implementation does nothing.
Declaration
public virtual void EnterLiteral_union(CapnProtoParser.Literal_unionContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_unionContext | context | The parse tree. |
EnterNamed_union_def(CapnProtoParser.Named_union_defContext)
Enter a parse tree produced by named_union_def().
The default implementation does nothing.
Declaration
public virtual void EnterNamed_union_def(CapnProtoParser.Named_union_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Named_union_defContext | context | The parse tree. |
EnterNamespace_(CapnProtoParser.Namespace_Context)
Enter a parse tree produced by namespace_().
The default implementation does nothing.
Declaration
public virtual void EnterNamespace_(CapnProtoParser.Namespace_Context context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Namespace_Context | context | The parse tree. |
EnterStruct_content(CapnProtoParser.Struct_contentContext)
Enter a parse tree produced by struct_content().
The default implementation does nothing.
Declaration
public virtual void EnterStruct_content(CapnProtoParser.Struct_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Struct_contentContext | context | The parse tree. |
EnterStruct_def(CapnProtoParser.Struct_defContext)
Enter a parse tree produced by struct_def().
The default implementation does nothing.
Declaration
public virtual void EnterStruct_def(CapnProtoParser.Struct_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Struct_defContext | context | The parse tree. |
EnterType_(CapnProtoParser.Type_Context)
Enter a parse tree produced by type_().
The default implementation does nothing.
Declaration
public virtual void EnterType_(CapnProtoParser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Type_Context | context | The parse tree. |
EnterUnion_content(CapnProtoParser.Union_contentContext)
Enter a parse tree produced by union_content().
The default implementation does nothing.
Declaration
public virtual void EnterUnion_content(CapnProtoParser.Union_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Union_contentContext | context | The parse tree. |
EnterUnion_mapping(CapnProtoParser.Union_mappingContext)
Enter a parse tree produced by union_mapping().
The default implementation does nothing.
Declaration
public virtual void EnterUnion_mapping(CapnProtoParser.Union_mappingContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Union_mappingContext | context | The parse tree. |
EnterUnnamed_union_def(CapnProtoParser.Unnamed_union_defContext)
Enter a parse tree produced by unnamed_union_def().
The default implementation does nothing.
Declaration
public virtual void EnterUnnamed_union_def(CapnProtoParser.Unnamed_union_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Unnamed_union_defContext | context | The parse tree. |
EnterUsing_import(CapnProtoParser.Using_importContext)
Enter a parse tree produced by using_import().
The default implementation does nothing.
Declaration
public virtual void EnterUsing_import(CapnProtoParser.Using_importContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Using_importContext | context | The parse tree. |
ExitAnnotation_def(CapnProtoParser.Annotation_defContext)
Exit a parse tree produced by annotation_def().
The default implementation does nothing.
Declaration
public virtual void ExitAnnotation_def(CapnProtoParser.Annotation_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_defContext | context | The parse tree. |
ExitAnnotation_parameters(CapnProtoParser.Annotation_parametersContext)
Exit a parse tree produced by annotation_parameters().
The default implementation does nothing.
Declaration
public virtual void ExitAnnotation_parameters(CapnProtoParser.Annotation_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_parametersContext | context | The parse tree. |
ExitAnnotation_reference(CapnProtoParser.Annotation_referenceContext)
Exit a parse tree produced by annotation_reference().
The default implementation does nothing.
Declaration
public virtual void ExitAnnotation_reference(CapnProtoParser.Annotation_referenceContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Annotation_referenceContext | context | The parse tree. |
ExitConst_def(CapnProtoParser.Const_defContext)
Exit a parse tree produced by const_def().
The default implementation does nothing.
Declaration
public virtual void ExitConst_def(CapnProtoParser.Const_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Const_defContext | context | The parse tree. |
ExitConst_value(CapnProtoParser.Const_valueContext)
Exit a parse tree produced by const_value().
The default implementation does nothing.
Declaration
public virtual void ExitConst_value(CapnProtoParser.Const_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Const_valueContext | context | The parse tree. |
ExitDocument(CapnProtoParser.DocumentContext)
Exit a parse tree produced by document().
The default implementation does nothing.
Declaration
public virtual void ExitDocument(CapnProtoParser.DocumentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.DocumentContext | context | The parse tree. |
ExitDocument_content(CapnProtoParser.Document_contentContext)
Exit a parse tree produced by document_content().
The default implementation does nothing.
Declaration
public virtual void ExitDocument_content(CapnProtoParser.Document_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Document_contentContext | context | The parse tree. |
ExitEnum_content(CapnProtoParser.Enum_contentContext)
Exit a parse tree produced by enum_content().
The default implementation does nothing.
Declaration
public virtual void ExitEnum_content(CapnProtoParser.Enum_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Enum_contentContext | context | The parse tree. |
ExitEnum_def(CapnProtoParser.Enum_defContext)
Exit a parse tree produced by enum_def().
The default implementation does nothing.
Declaration
public virtual void ExitEnum_def(CapnProtoParser.Enum_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Enum_defContext | context | The parse tree. |
ExitEveryRule(Antlr4.Runtime.ParserRuleContext)
Declaration
public virtual void ExitEveryRule(Antlr4.Runtime.ParserRuleContext context)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.ParserRuleContext | context |
Remarks
The default implementation does nothing.
ExitField_def(CapnProtoParser.Field_defContext)
Exit a parse tree produced by field_def().
The default implementation does nothing.
Declaration
public virtual void ExitField_def(CapnProtoParser.Field_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Field_defContext | context | The parse tree. |
ExitFile_identifier(CapnProtoParser.File_identifierContext)
Exit a parse tree produced by file_identifier().
The default implementation does nothing.
Declaration
public virtual void ExitFile_identifier(CapnProtoParser.File_identifierContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.File_identifierContext | context | The parse tree. |
ExitFunction_def(CapnProtoParser.Function_defContext)
Exit a parse tree produced by function_def().
The default implementation does nothing.
Declaration
public virtual void ExitFunction_def(CapnProtoParser.Function_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Function_defContext | context | The parse tree. |
ExitFunction_parameters(CapnProtoParser.Function_parametersContext)
Exit a parse tree produced by function_parameters().
The default implementation does nothing.
Declaration
public virtual void ExitFunction_parameters(CapnProtoParser.Function_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Function_parametersContext | context | The parse tree. |
ExitGeneric_type_parameters(CapnProtoParser.Generic_type_parametersContext)
Exit a parse tree produced by generic_type_parameters().
The default implementation does nothing.
Declaration
public virtual void ExitGeneric_type_parameters(CapnProtoParser.Generic_type_parametersContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Generic_type_parametersContext | context | The parse tree. |
ExitGroup_content(CapnProtoParser.Group_contentContext)
Exit a parse tree produced by group_content().
The default implementation does nothing.
Declaration
public virtual void ExitGroup_content(CapnProtoParser.Group_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Group_contentContext | context | The parse tree. |
ExitGroup_def(CapnProtoParser.Group_defContext)
Exit a parse tree produced by group_def().
The default implementation does nothing.
Declaration
public virtual void ExitGroup_def(CapnProtoParser.Group_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Group_defContext | context | The parse tree. |
ExitInner_type(CapnProtoParser.Inner_typeContext)
Exit a parse tree produced by inner_type().
The default implementation does nothing.
Declaration
public virtual void ExitInner_type(CapnProtoParser.Inner_typeContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Inner_typeContext | context | The parse tree. |
ExitInner_using(CapnProtoParser.Inner_usingContext)
Exit a parse tree produced by inner_using().
The default implementation does nothing.
Declaration
public virtual void ExitInner_using(CapnProtoParser.Inner_usingContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Inner_usingContext | context | The parse tree. |
ExitInterface_content(CapnProtoParser.Interface_contentContext)
Exit a parse tree produced by interface_content().
The default implementation does nothing.
Declaration
public virtual void ExitInterface_content(CapnProtoParser.Interface_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Interface_contentContext | context | The parse tree. |
ExitInterface_def(CapnProtoParser.Interface_defContext)
Exit a parse tree produced by interface_def().
The default implementation does nothing.
Declaration
public virtual void ExitInterface_def(CapnProtoParser.Interface_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Interface_defContext | context | The parse tree. |
ExitLiteral_bytes(CapnProtoParser.Literal_bytesContext)
Exit a parse tree produced by literal_bytes().
The default implementation does nothing.
Declaration
public virtual void ExitLiteral_bytes(CapnProtoParser.Literal_bytesContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_bytesContext | context | The parse tree. |
ExitLiteral_list(CapnProtoParser.Literal_listContext)
Exit a parse tree produced by literal_list().
The default implementation does nothing.
Declaration
public virtual void ExitLiteral_list(CapnProtoParser.Literal_listContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_listContext | context | The parse tree. |
ExitLiteral_union(CapnProtoParser.Literal_unionContext)
Exit a parse tree produced by literal_union().
The default implementation does nothing.
Declaration
public virtual void ExitLiteral_union(CapnProtoParser.Literal_unionContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Literal_unionContext | context | The parse tree. |
ExitNamed_union_def(CapnProtoParser.Named_union_defContext)
Exit a parse tree produced by named_union_def().
The default implementation does nothing.
Declaration
public virtual void ExitNamed_union_def(CapnProtoParser.Named_union_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Named_union_defContext | context | The parse tree. |
ExitNamespace_(CapnProtoParser.Namespace_Context)
Exit a parse tree produced by namespace_().
The default implementation does nothing.
Declaration
public virtual void ExitNamespace_(CapnProtoParser.Namespace_Context context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Namespace_Context | context | The parse tree. |
ExitStruct_content(CapnProtoParser.Struct_contentContext)
Exit a parse tree produced by struct_content().
The default implementation does nothing.
Declaration
public virtual void ExitStruct_content(CapnProtoParser.Struct_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Struct_contentContext | context | The parse tree. |
ExitStruct_def(CapnProtoParser.Struct_defContext)
Exit a parse tree produced by struct_def().
The default implementation does nothing.
Declaration
public virtual void ExitStruct_def(CapnProtoParser.Struct_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Struct_defContext | context | The parse tree. |
ExitType_(CapnProtoParser.Type_Context)
Exit a parse tree produced by type_().
The default implementation does nothing.
Declaration
public virtual void ExitType_(CapnProtoParser.Type_Context context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Type_Context | context | The parse tree. |
ExitUnion_content(CapnProtoParser.Union_contentContext)
Exit a parse tree produced by union_content().
The default implementation does nothing.
Declaration
public virtual void ExitUnion_content(CapnProtoParser.Union_contentContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Union_contentContext | context | The parse tree. |
ExitUnion_mapping(CapnProtoParser.Union_mappingContext)
Exit a parse tree produced by union_mapping().
The default implementation does nothing.
Declaration
public virtual void ExitUnion_mapping(CapnProtoParser.Union_mappingContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Union_mappingContext | context | The parse tree. |
ExitUnnamed_union_def(CapnProtoParser.Unnamed_union_defContext)
Exit a parse tree produced by unnamed_union_def().
The default implementation does nothing.
Declaration
public virtual void ExitUnnamed_union_def(CapnProtoParser.Unnamed_union_defContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Unnamed_union_defContext | context | The parse tree. |
ExitUsing_import(CapnProtoParser.Using_importContext)
Exit a parse tree produced by using_import().
The default implementation does nothing.
Declaration
public virtual void ExitUsing_import(CapnProtoParser.Using_importContext context)
Parameters
Type | Name | Description |
---|---|---|
CapnProtoParser.Using_importContext | context | The parse tree. |
VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode)
Declaration
public virtual void VisitErrorNode(Antlr4.Runtime.Tree.IErrorNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.IErrorNode | node |
Remarks
The default implementation does nothing.
VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode)
Declaration
public virtual void VisitTerminal(Antlr4.Runtime.Tree.ITerminalNode node)
Parameters
Type | Name | Description |
---|---|---|
Antlr4.Runtime.Tree.ITerminalNode | node |
Remarks
The default implementation does nothing.