Show / Hide Table of Contents

Class HTMLParserBaseListener

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

Inheritance
System.Object
HTMLParserBaseListener
Implements
IHTMLParserListener
Antlr4.Runtime.Tree.IParseTreeListener
Namespace: GCore.Antlr.Grammers.Html
Assembly: Html.dll
Syntax
public class HTMLParserBaseListener : object, IHTMLParserListener, Antlr4.Runtime.Tree.IParseTreeListener

Methods

| 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

EnterHtmlAttribute(HTMLParser.HtmlAttributeContext)

Enter a parse tree produced by htmlAttribute().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlAttribute(HTMLParser.HtmlAttributeContext context)
Parameters
Type Name Description
HTMLParser.HtmlAttributeContext context

The parse tree.

| Improve this Doc View Source

EnterHtmlChardata(HTMLParser.HtmlChardataContext)

Enter a parse tree produced by htmlChardata().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlChardata(HTMLParser.HtmlChardataContext context)
Parameters
Type Name Description
HTMLParser.HtmlChardataContext context

The parse tree.

| Improve this Doc View Source

EnterHtmlComment(HTMLParser.HtmlCommentContext)

Enter a parse tree produced by htmlComment().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlComment(HTMLParser.HtmlCommentContext context)
Parameters
Type Name Description
HTMLParser.HtmlCommentContext context

The parse tree.

| Improve this Doc View Source

EnterHtmlContent(HTMLParser.HtmlContentContext)

Enter a parse tree produced by htmlContent().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlContent(HTMLParser.HtmlContentContext context)
Parameters
Type Name Description
HTMLParser.HtmlContentContext context

The parse tree.

| Improve this Doc View Source

EnterHtmlDocument(HTMLParser.HtmlDocumentContext)

Enter a parse tree produced by htmlDocument().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlDocument(HTMLParser.HtmlDocumentContext context)
Parameters
Type Name Description
HTMLParser.HtmlDocumentContext context

The parse tree.

| Improve this Doc View Source

EnterHtmlElement(HTMLParser.HtmlElementContext)

Enter a parse tree produced by htmlElement().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlElement(HTMLParser.HtmlElementContext context)
Parameters
Type Name Description
HTMLParser.HtmlElementContext context

The parse tree.

| Improve this Doc View Source

EnterHtmlElements(HTMLParser.HtmlElementsContext)

Enter a parse tree produced by htmlElements().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlElements(HTMLParser.HtmlElementsContext context)
Parameters
Type Name Description
HTMLParser.HtmlElementsContext context

The parse tree.

| Improve this Doc View Source

EnterHtmlMisc(HTMLParser.HtmlMiscContext)

Enter a parse tree produced by htmlMisc().

The default implementation does nothing.

Declaration
public virtual void EnterHtmlMisc(HTMLParser.HtmlMiscContext context)
Parameters
Type Name Description
HTMLParser.HtmlMiscContext context

The parse tree.

| Improve this Doc View Source

EnterScript(HTMLParser.ScriptContext)

Enter a parse tree produced by script().

The default implementation does nothing.

Declaration
public virtual void EnterScript(HTMLParser.ScriptContext context)
Parameters
Type Name Description
HTMLParser.ScriptContext context

The parse tree.

| Improve this Doc View Source

EnterScriptletOrSeaWs(HTMLParser.ScriptletOrSeaWsContext)

Enter a parse tree produced by scriptletOrSeaWs().

The default implementation does nothing.

Declaration
public virtual void EnterScriptletOrSeaWs(HTMLParser.ScriptletOrSeaWsContext context)
Parameters
Type Name Description
HTMLParser.ScriptletOrSeaWsContext context

The parse tree.

| Improve this Doc View Source

EnterStyle(HTMLParser.StyleContext)

Enter a parse tree produced by style().

The default implementation does nothing.

Declaration
public virtual void EnterStyle(HTMLParser.StyleContext context)
Parameters
Type Name Description
HTMLParser.StyleContext 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

ExitHtmlAttribute(HTMLParser.HtmlAttributeContext)

Exit a parse tree produced by htmlAttribute().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlAttribute(HTMLParser.HtmlAttributeContext context)
Parameters
Type Name Description
HTMLParser.HtmlAttributeContext context

The parse tree.

| Improve this Doc View Source

ExitHtmlChardata(HTMLParser.HtmlChardataContext)

Exit a parse tree produced by htmlChardata().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlChardata(HTMLParser.HtmlChardataContext context)
Parameters
Type Name Description
HTMLParser.HtmlChardataContext context

The parse tree.

| Improve this Doc View Source

ExitHtmlComment(HTMLParser.HtmlCommentContext)

Exit a parse tree produced by htmlComment().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlComment(HTMLParser.HtmlCommentContext context)
Parameters
Type Name Description
HTMLParser.HtmlCommentContext context

The parse tree.

| Improve this Doc View Source

ExitHtmlContent(HTMLParser.HtmlContentContext)

Exit a parse tree produced by htmlContent().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlContent(HTMLParser.HtmlContentContext context)
Parameters
Type Name Description
HTMLParser.HtmlContentContext context

The parse tree.

| Improve this Doc View Source

ExitHtmlDocument(HTMLParser.HtmlDocumentContext)

Exit a parse tree produced by htmlDocument().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlDocument(HTMLParser.HtmlDocumentContext context)
Parameters
Type Name Description
HTMLParser.HtmlDocumentContext context

The parse tree.

| Improve this Doc View Source

ExitHtmlElement(HTMLParser.HtmlElementContext)

Exit a parse tree produced by htmlElement().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlElement(HTMLParser.HtmlElementContext context)
Parameters
Type Name Description
HTMLParser.HtmlElementContext context

The parse tree.

| Improve this Doc View Source

ExitHtmlElements(HTMLParser.HtmlElementsContext)

Exit a parse tree produced by htmlElements().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlElements(HTMLParser.HtmlElementsContext context)
Parameters
Type Name Description
HTMLParser.HtmlElementsContext context

The parse tree.

| Improve this Doc View Source

ExitHtmlMisc(HTMLParser.HtmlMiscContext)

Exit a parse tree produced by htmlMisc().

The default implementation does nothing.

Declaration
public virtual void ExitHtmlMisc(HTMLParser.HtmlMiscContext context)
Parameters
Type Name Description
HTMLParser.HtmlMiscContext context

The parse tree.

| Improve this Doc View Source

ExitScript(HTMLParser.ScriptContext)

Exit a parse tree produced by script().

The default implementation does nothing.

Declaration
public virtual void ExitScript(HTMLParser.ScriptContext context)
Parameters
Type Name Description
HTMLParser.ScriptContext context

The parse tree.

| Improve this Doc View Source

ExitScriptletOrSeaWs(HTMLParser.ScriptletOrSeaWsContext)

Exit a parse tree produced by scriptletOrSeaWs().

The default implementation does nothing.

Declaration
public virtual void ExitScriptletOrSeaWs(HTMLParser.ScriptletOrSeaWsContext context)
Parameters
Type Name Description
HTMLParser.ScriptletOrSeaWsContext context

The parse tree.

| Improve this Doc View Source

ExitStyle(HTMLParser.StyleContext)

Exit a parse tree produced by style().

The default implementation does nothing.

Declaration
public virtual void ExitStyle(HTMLParser.StyleContext context)
Parameters
Type Name Description
HTMLParser.StyleContext 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

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