Show / Hide Table of Contents

Class XMLParserBaseListener

This class provides an empty implementation of IXMLParserListener, which can be extended to create a listener which only needs to handle a subset of the available methods.

Inheritance
System.Object
XMLParserBaseListener
Implements
IXMLParserListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Xml
Assembly: Xml.dll
Syntax
public class XMLParserBaseListener : object, IXMLParserListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| Improve this Doc View Source

EnterAttribute(XMLParser.AttributeContext)

Enter a parse tree produced by attribute().

The default implementation does nothing.

Declaration
public virtual void EnterAttribute(XMLParser.AttributeContext context)
Parameters
Type Name Description
XMLParser.AttributeContext context

The parse tree.

| Improve this Doc View Source

EnterChardata(XMLParser.ChardataContext)

Enter a parse tree produced by chardata().

The default implementation does nothing.

Declaration
public virtual void EnterChardata(XMLParser.ChardataContext context)
Parameters
Type Name Description
XMLParser.ChardataContext context

The parse tree.

| Improve this Doc View Source

EnterContent(XMLParser.ContentContext)

Enter a parse tree produced by content().

The default implementation does nothing.

Declaration
public virtual void EnterContent(XMLParser.ContentContext context)
Parameters
Type Name Description
XMLParser.ContentContext context

The parse tree.

| Improve this Doc View Source

EnterDocument(XMLParser.DocumentContext)

Enter a parse tree produced by document().

The default implementation does nothing.

Declaration
public virtual void EnterDocument(XMLParser.DocumentContext context)
Parameters
Type Name Description
XMLParser.DocumentContext context

The parse tree.

| Improve this Doc View Source

EnterElement(XMLParser.ElementContext)

Enter a parse tree produced by element().

The default implementation does nothing.

Declaration
public virtual void EnterElement(XMLParser.ElementContext context)
Parameters
Type Name Description
XMLParser.ElementContext 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

EnterMisc(XMLParser.MiscContext)

Enter a parse tree produced by misc().

The default implementation does nothing.

Declaration
public virtual void EnterMisc(XMLParser.MiscContext context)
Parameters
Type Name Description
XMLParser.MiscContext context

The parse tree.

| Improve this Doc View Source

EnterProlog(XMLParser.PrologContext)

Enter a parse tree produced by prolog().

The default implementation does nothing.

Declaration
public virtual void EnterProlog(XMLParser.PrologContext context)
Parameters
Type Name Description
XMLParser.PrologContext context

The parse tree.

| Improve this Doc View Source

EnterReference(XMLParser.ReferenceContext)

Enter a parse tree produced by reference().

The default implementation does nothing.

Declaration
public virtual void EnterReference(XMLParser.ReferenceContext context)
Parameters
Type Name Description
XMLParser.ReferenceContext context

The parse tree.

| Improve this Doc View Source

ExitAttribute(XMLParser.AttributeContext)

Exit a parse tree produced by attribute().

The default implementation does nothing.

Declaration
public virtual void ExitAttribute(XMLParser.AttributeContext context)
Parameters
Type Name Description
XMLParser.AttributeContext context

The parse tree.

| Improve this Doc View Source

ExitChardata(XMLParser.ChardataContext)

Exit a parse tree produced by chardata().

The default implementation does nothing.

Declaration
public virtual void ExitChardata(XMLParser.ChardataContext context)
Parameters
Type Name Description
XMLParser.ChardataContext context

The parse tree.

| Improve this Doc View Source

ExitContent(XMLParser.ContentContext)

Exit a parse tree produced by content().

The default implementation does nothing.

Declaration
public virtual void ExitContent(XMLParser.ContentContext context)
Parameters
Type Name Description
XMLParser.ContentContext context

The parse tree.

| Improve this Doc View Source

ExitDocument(XMLParser.DocumentContext)

Exit a parse tree produced by document().

The default implementation does nothing.

Declaration
public virtual void ExitDocument(XMLParser.DocumentContext context)
Parameters
Type Name Description
XMLParser.DocumentContext context

The parse tree.

| Improve this Doc View Source

ExitElement(XMLParser.ElementContext)

Exit a parse tree produced by element().

The default implementation does nothing.

Declaration
public virtual void ExitElement(XMLParser.ElementContext context)
Parameters
Type Name Description
XMLParser.ElementContext 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

ExitMisc(XMLParser.MiscContext)

Exit a parse tree produced by misc().

The default implementation does nothing.

Declaration
public virtual void ExitMisc(XMLParser.MiscContext context)
Parameters
Type Name Description
XMLParser.MiscContext context

The parse tree.

| Improve this Doc View Source

ExitProlog(XMLParser.PrologContext)

Exit a parse tree produced by prolog().

The default implementation does nothing.

Declaration
public virtual void ExitProlog(XMLParser.PrologContext context)
Parameters
Type Name Description
XMLParser.PrologContext context

The parse tree.

| Improve this Doc View Source

ExitReference(XMLParser.ReferenceContext)

Exit a parse tree produced by reference().

The default implementation does nothing.

Declaration
public virtual void ExitReference(XMLParser.ReferenceContext context)
Parameters
Type Name Description
XMLParser.ReferenceContext 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

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