Show / Hide Table of Contents

Class XMLParserBaseVisitor<Result>

This class provides an empty implementation of IXMLParserVisitor<Result>, which can be extended to create a visitor which only needs to handle a subset of the available methods.

Inheritance
System.Object
XMLParserBaseVisitor<Result>
Implements
IXMLParserVisitor<Result>
IParseTreeVisitor<Result>
Namespace: GCore.Antlr.Grammers.Xml
Assembly: Xml.dll
Syntax
public class XMLParserBaseVisitor<Result> : AbstractParseTreeVisitor<Result>, IXMLParserVisitor<Result>, IParseTreeVisitor<Result>
Type Parameters
Name Description
Result

The return type of the visit operation.

Methods

| Improve this Doc View Source

VisitAttribute(XMLParser.AttributeContext)

Visit a parse tree produced by attribute().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitAttribute(XMLParser.AttributeContext context)
Parameters
Type Name Description
XMLParser.AttributeContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitChardata(XMLParser.ChardataContext)

Visit a parse tree produced by chardata().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitChardata(XMLParser.ChardataContext context)
Parameters
Type Name Description
XMLParser.ChardataContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitContent(XMLParser.ContentContext)

Visit a parse tree produced by content().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitContent(XMLParser.ContentContext context)
Parameters
Type Name Description
XMLParser.ContentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitDocument(XMLParser.DocumentContext)

Visit a parse tree produced by document().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitDocument(XMLParser.DocumentContext context)
Parameters
Type Name Description
XMLParser.DocumentContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitElement(XMLParser.ElementContext)

Visit a parse tree produced by element().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitElement(XMLParser.ElementContext context)
Parameters
Type Name Description
XMLParser.ElementContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitMisc(XMLParser.MiscContext)

Visit a parse tree produced by misc().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitMisc(XMLParser.MiscContext context)
Parameters
Type Name Description
XMLParser.MiscContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitProlog(XMLParser.PrologContext)

Visit a parse tree produced by prolog().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitProlog(XMLParser.PrologContext context)
Parameters
Type Name Description
XMLParser.PrologContext context

The parse tree.

Returns
Type Description
Result
| Improve this Doc View Source

VisitReference(XMLParser.ReferenceContext)

Visit a parse tree produced by reference().

The default implementation returns the result of calling on context.

Declaration
public virtual Result VisitReference(XMLParser.ReferenceContext context)
Parameters
Type Name Description
XMLParser.ReferenceContext context

The parse tree.

Returns
Type Description
Result

Implements

IXMLParserVisitor<Result>
IParseTreeVisitor<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX