Interface IXMLParserVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by XMLParser.
Namespace: GCore.Antlr.Grammers.Xml
Assembly: Xml.dll
Syntax
public interface IXMLParserVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
| Name | Description |
|---|---|
| Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitAttribute(XMLParser.AttributeContext)
Visit a parse tree produced by attribute().
Declaration
Result VisitAttribute(XMLParser.AttributeContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.AttributeContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitChardata(XMLParser.ChardataContext)
Visit a parse tree produced by chardata().
Declaration
Result VisitChardata(XMLParser.ChardataContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.ChardataContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitContent(XMLParser.ContentContext)
Visit a parse tree produced by content().
Declaration
Result VisitContent(XMLParser.ContentContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.ContentContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitDocument(XMLParser.DocumentContext)
Visit a parse tree produced by document().
Declaration
Result VisitDocument(XMLParser.DocumentContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.DocumentContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitElement(XMLParser.ElementContext)
Visit a parse tree produced by element().
Declaration
Result VisitElement(XMLParser.ElementContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.ElementContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitMisc(XMLParser.MiscContext)
Visit a parse tree produced by misc().
Declaration
Result VisitMisc(XMLParser.MiscContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.MiscContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitProlog(XMLParser.PrologContext)
Visit a parse tree produced by prolog().
Declaration
Result VisitProlog(XMLParser.PrologContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.PrologContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitReference(XMLParser.ReferenceContext)
Visit a parse tree produced by reference().
Declaration
Result VisitReference(XMLParser.ReferenceContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| XMLParser.ReferenceContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |