Show / Hide Table of Contents

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
System.Object
gedcomBaseListener
Implements
IgedcomListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Gedcom
Assembly: Gedcom.dll
Syntax
public class gedcomBaseListener : object, IgedcomListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAlphanum(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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Implements

IgedcomListener
Antlr4.Runtime.Tree.IParseTreeListener
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX