Class gedcomBaseListener
This class provides an empty implementation of IgedcomListener, which can be extended to create a listener which only needs to handle a subset of the available methods.
Inheritance
Namespace: GCore.Antlr.Grammers.Gedcom
Assembly: Gedcom.dll
Syntax
public class gedcomBaseListener : object, IgedcomListener, Antlr4.Runtime.Tree.IParseTreeListener
Methods
| Improve this Doc View SourceEnterAlphanum(gedcomParser.AlphanumContext)
Enter a parse tree produced by alphanum().
The default implementation does nothing.
Declaration
public virtual void EnterAlphanum(gedcomParser.AlphanumContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.AlphanumContext | context | The parse tree. |
EnterAnychar(gedcomParser.AnycharContext)
Enter a parse tree produced by anychar().
The default implementation does nothing.
Declaration
public virtual void EnterAnychar(gedcomParser.AnycharContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.AnycharContext | context | The parse tree. |
EnterEscape(gedcomParser.EscapeContext)
Enter a parse tree produced by escape().
The default implementation does nothing.
Declaration
public virtual void EnterEscape(gedcomParser.EscapeContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.EscapeContext | context | The parse tree. |
EnterEscape_text(gedcomParser.Escape_textContext)
Enter a parse tree produced by escape_text().
The default implementation does nothing.
Declaration
public virtual void EnterEscape_text(gedcomParser.Escape_textContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Escape_textContext | 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.
EnterGedcom(gedcomParser.GedcomContext)
Enter a parse tree produced by gedcom().
The default implementation does nothing.
Declaration
public virtual void EnterGedcom(gedcomParser.GedcomContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.GedcomContext | context | The parse tree. |
EnterLevel(gedcomParser.LevelContext)
Enter a parse tree produced by level().
The default implementation does nothing.
Declaration
public virtual void EnterLevel(gedcomParser.LevelContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.LevelContext | context | The parse tree. |
EnterLine(gedcomParser.LineContext)
Enter a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void EnterLine(gedcomParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.LineContext | context | The parse tree. |
EnterLine_item(gedcomParser.Line_itemContext)
Enter a parse tree produced by line_item().
The default implementation does nothing.
Declaration
public virtual void EnterLine_item(gedcomParser.Line_itemContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Line_itemContext | context | The parse tree. |
EnterLine_value(gedcomParser.Line_valueContext)
Enter a parse tree produced by line_value().
The default implementation does nothing.
Declaration
public virtual void EnterLine_value(gedcomParser.Line_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Line_valueContext | context | The parse tree. |
EnterNon_at(gedcomParser.Non_atContext)
Enter a parse tree produced by non_at().
The default implementation does nothing.
Declaration
public virtual void EnterNon_at(gedcomParser.Non_atContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Non_atContext | context | The parse tree. |
EnterOpt_xref_id(gedcomParser.Opt_xref_idContext)
Enter a parse tree produced by opt_xref_id().
The default implementation does nothing.
Declaration
public virtual void EnterOpt_xref_id(gedcomParser.Opt_xref_idContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Opt_xref_idContext | context | The parse tree. |
EnterOtherchar(gedcomParser.OthercharContext)
Enter a parse tree produced by otherchar().
The default implementation does nothing.
Declaration
public virtual void EnterOtherchar(gedcomParser.OthercharContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.OthercharContext | context | The parse tree. |
EnterPointer(gedcomParser.PointerContext)
Enter a parse tree produced by pointer().
The default implementation does nothing.
Declaration
public virtual void EnterPointer(gedcomParser.PointerContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.PointerContext | context | The parse tree. |
EnterPointer_char(gedcomParser.Pointer_charContext)
Enter a parse tree produced by pointer_char().
The default implementation does nothing.
Declaration
public virtual void EnterPointer_char(gedcomParser.Pointer_charContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Pointer_charContext | context | The parse tree. |
EnterPointer_string(gedcomParser.Pointer_stringContext)
Enter a parse tree produced by pointer_string().
The default implementation does nothing.
Declaration
public virtual void EnterPointer_string(gedcomParser.Pointer_stringContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Pointer_stringContext | context | The parse tree. |
EnterTag(gedcomParser.TagContext)
Enter a parse tree produced by tag().
The default implementation does nothing.
Declaration
public virtual void EnterTag(gedcomParser.TagContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.TagContext | context | The parse tree. |
ExitAlphanum(gedcomParser.AlphanumContext)
Exit a parse tree produced by alphanum().
The default implementation does nothing.
Declaration
public virtual void ExitAlphanum(gedcomParser.AlphanumContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.AlphanumContext | context | The parse tree. |
ExitAnychar(gedcomParser.AnycharContext)
Exit a parse tree produced by anychar().
The default implementation does nothing.
Declaration
public virtual void ExitAnychar(gedcomParser.AnycharContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.AnycharContext | context | The parse tree. |
ExitEscape(gedcomParser.EscapeContext)
Exit a parse tree produced by escape().
The default implementation does nothing.
Declaration
public virtual void ExitEscape(gedcomParser.EscapeContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.EscapeContext | context | The parse tree. |
ExitEscape_text(gedcomParser.Escape_textContext)
Exit a parse tree produced by escape_text().
The default implementation does nothing.
Declaration
public virtual void ExitEscape_text(gedcomParser.Escape_textContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Escape_textContext | 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.
ExitGedcom(gedcomParser.GedcomContext)
Exit a parse tree produced by gedcom().
The default implementation does nothing.
Declaration
public virtual void ExitGedcom(gedcomParser.GedcomContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.GedcomContext | context | The parse tree. |
ExitLevel(gedcomParser.LevelContext)
Exit a parse tree produced by level().
The default implementation does nothing.
Declaration
public virtual void ExitLevel(gedcomParser.LevelContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.LevelContext | context | The parse tree. |
ExitLine(gedcomParser.LineContext)
Exit a parse tree produced by line().
The default implementation does nothing.
Declaration
public virtual void ExitLine(gedcomParser.LineContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.LineContext | context | The parse tree. |
ExitLine_item(gedcomParser.Line_itemContext)
Exit a parse tree produced by line_item().
The default implementation does nothing.
Declaration
public virtual void ExitLine_item(gedcomParser.Line_itemContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Line_itemContext | context | The parse tree. |
ExitLine_value(gedcomParser.Line_valueContext)
Exit a parse tree produced by line_value().
The default implementation does nothing.
Declaration
public virtual void ExitLine_value(gedcomParser.Line_valueContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Line_valueContext | context | The parse tree. |
ExitNon_at(gedcomParser.Non_atContext)
Exit a parse tree produced by non_at().
The default implementation does nothing.
Declaration
public virtual void ExitNon_at(gedcomParser.Non_atContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Non_atContext | context | The parse tree. |
ExitOpt_xref_id(gedcomParser.Opt_xref_idContext)
Exit a parse tree produced by opt_xref_id().
The default implementation does nothing.
Declaration
public virtual void ExitOpt_xref_id(gedcomParser.Opt_xref_idContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Opt_xref_idContext | context | The parse tree. |
ExitOtherchar(gedcomParser.OthercharContext)
Exit a parse tree produced by otherchar().
The default implementation does nothing.
Declaration
public virtual void ExitOtherchar(gedcomParser.OthercharContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.OthercharContext | context | The parse tree. |
ExitPointer(gedcomParser.PointerContext)
Exit a parse tree produced by pointer().
The default implementation does nothing.
Declaration
public virtual void ExitPointer(gedcomParser.PointerContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.PointerContext | context | The parse tree. |
ExitPointer_char(gedcomParser.Pointer_charContext)
Exit a parse tree produced by pointer_char().
The default implementation does nothing.
Declaration
public virtual void ExitPointer_char(gedcomParser.Pointer_charContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Pointer_charContext | context | The parse tree. |
ExitPointer_string(gedcomParser.Pointer_stringContext)
Exit a parse tree produced by pointer_string().
The default implementation does nothing.
Declaration
public virtual void ExitPointer_string(gedcomParser.Pointer_stringContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.Pointer_stringContext | context | The parse tree. |
ExitTag(gedcomParser.TagContext)
Exit a parse tree produced by tag().
The default implementation does nothing.
Declaration
public virtual void ExitTag(gedcomParser.TagContext context)
Parameters
Type | Name | Description |
---|---|---|
gedcomParser.TagContext | 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.