Interface IHTMLParserVisitor<Result>
This interface defines a complete generic visitor for a parse tree produced by HTMLParser.
Namespace: GCore.Antlr.Grammers.Html
Assembly: Html.dll
Syntax
public interface IHTMLParserVisitor<Result> : IParseTreeVisitor<Result>
Type Parameters
| Name | Description |
|---|---|
| Result | The return type of the visit operation. |
Methods
| Improve this Doc View SourceVisitHtmlAttribute(HTMLParser.HtmlAttributeContext)
Visit a parse tree produced by htmlAttribute().
Declaration
Result VisitHtmlAttribute(HTMLParser.HtmlAttributeContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlAttributeContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitHtmlChardata(HTMLParser.HtmlChardataContext)
Visit a parse tree produced by htmlChardata().
Declaration
Result VisitHtmlChardata(HTMLParser.HtmlChardataContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlChardataContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitHtmlComment(HTMLParser.HtmlCommentContext)
Visit a parse tree produced by htmlComment().
Declaration
Result VisitHtmlComment(HTMLParser.HtmlCommentContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlCommentContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitHtmlContent(HTMLParser.HtmlContentContext)
Visit a parse tree produced by htmlContent().
Declaration
Result VisitHtmlContent(HTMLParser.HtmlContentContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlContentContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitHtmlDocument(HTMLParser.HtmlDocumentContext)
Visit a parse tree produced by htmlDocument().
Declaration
Result VisitHtmlDocument(HTMLParser.HtmlDocumentContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlDocumentContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitHtmlElement(HTMLParser.HtmlElementContext)
Visit a parse tree produced by htmlElement().
Declaration
Result VisitHtmlElement(HTMLParser.HtmlElementContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlElementContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitHtmlElements(HTMLParser.HtmlElementsContext)
Visit a parse tree produced by htmlElements().
Declaration
Result VisitHtmlElements(HTMLParser.HtmlElementsContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlElementsContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitHtmlMisc(HTMLParser.HtmlMiscContext)
Visit a parse tree produced by htmlMisc().
Declaration
Result VisitHtmlMisc(HTMLParser.HtmlMiscContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.HtmlMiscContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitScript(HTMLParser.ScriptContext)
Visit a parse tree produced by script().
Declaration
Result VisitScript(HTMLParser.ScriptContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.ScriptContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitScriptletOrSeaWs(HTMLParser.ScriptletOrSeaWsContext)
Visit a parse tree produced by scriptletOrSeaWs().
Declaration
Result VisitScriptletOrSeaWs(HTMLParser.ScriptletOrSeaWsContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.ScriptletOrSeaWsContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |
VisitStyle(HTMLParser.StyleContext)
Visit a parse tree produced by style().
Declaration
Result VisitStyle(HTMLParser.StyleContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| HTMLParser.StyleContext | context | The parse tree. |
Returns
| Type | Description |
|---|---|
| Result |