Documentation ¶
Index ¶
- Constants
- type BaseHTMLParserListener
- func (s *BaseHTMLParserListener) EnterDtd(ctx *DtdContext)
- func (s *BaseHTMLParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseHTMLParserListener) EnterHtmlAttribute(ctx *HtmlAttributeContext)
- func (s *BaseHTMLParserListener) EnterHtmlAttributeName(ctx *HtmlAttributeNameContext)
- func (s *BaseHTMLParserListener) EnterHtmlAttributeValue(ctx *HtmlAttributeValueContext)
- func (s *BaseHTMLParserListener) EnterHtmlChardata(ctx *HtmlChardataContext)
- func (s *BaseHTMLParserListener) EnterHtmlComment(ctx *HtmlCommentContext)
- func (s *BaseHTMLParserListener) EnterHtmlContent(ctx *HtmlContentContext)
- func (s *BaseHTMLParserListener) EnterHtmlDocument(ctx *HtmlDocumentContext)
- func (s *BaseHTMLParserListener) EnterHtmlElement(ctx *HtmlElementContext)
- func (s *BaseHTMLParserListener) EnterHtmlElements(ctx *HtmlElementsContext)
- func (s *BaseHTMLParserListener) EnterHtmlMisc(ctx *HtmlMiscContext)
- func (s *BaseHTMLParserListener) EnterHtmlTagName(ctx *HtmlTagNameContext)
- func (s *BaseHTMLParserListener) EnterScript(ctx *ScriptContext)
- func (s *BaseHTMLParserListener) EnterScriptlet(ctx *ScriptletContext)
- func (s *BaseHTMLParserListener) EnterStyle(ctx *StyleContext)
- func (s *BaseHTMLParserListener) EnterXhtmlCDATA(ctx *XhtmlCDATAContext)
- func (s *BaseHTMLParserListener) EnterXml(ctx *XmlContext)
- func (s *BaseHTMLParserListener) ExitDtd(ctx *DtdContext)
- func (s *BaseHTMLParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BaseHTMLParserListener) ExitHtmlAttribute(ctx *HtmlAttributeContext)
- func (s *BaseHTMLParserListener) ExitHtmlAttributeName(ctx *HtmlAttributeNameContext)
- func (s *BaseHTMLParserListener) ExitHtmlAttributeValue(ctx *HtmlAttributeValueContext)
- func (s *BaseHTMLParserListener) ExitHtmlChardata(ctx *HtmlChardataContext)
- func (s *BaseHTMLParserListener) ExitHtmlComment(ctx *HtmlCommentContext)
- func (s *BaseHTMLParserListener) ExitHtmlContent(ctx *HtmlContentContext)
- func (s *BaseHTMLParserListener) ExitHtmlDocument(ctx *HtmlDocumentContext)
- func (s *BaseHTMLParserListener) ExitHtmlElement(ctx *HtmlElementContext)
- func (s *BaseHTMLParserListener) ExitHtmlElements(ctx *HtmlElementsContext)
- func (s *BaseHTMLParserListener) ExitHtmlMisc(ctx *HtmlMiscContext)
- func (s *BaseHTMLParserListener) ExitHtmlTagName(ctx *HtmlTagNameContext)
- func (s *BaseHTMLParserListener) ExitScript(ctx *ScriptContext)
- func (s *BaseHTMLParserListener) ExitScriptlet(ctx *ScriptletContext)
- func (s *BaseHTMLParserListener) ExitStyle(ctx *StyleContext)
- func (s *BaseHTMLParserListener) ExitXhtmlCDATA(ctx *XhtmlCDATAContext)
- func (s *BaseHTMLParserListener) ExitXml(ctx *XmlContext)
- func (s *BaseHTMLParserListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BaseHTMLParserListener) VisitTerminal(node antlr.TerminalNode)
- type DtdContext
- func (s *DtdContext) DTD() antlr.TerminalNode
- func (s *DtdContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DtdContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DtdContext) GetParser() antlr.Parser
- func (s *DtdContext) GetRuleContext() antlr.RuleContext
- func (*DtdContext) IsDtdContext()
- func (s *DtdContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HTMLLexer
- type HTMLParser
- func (p *HTMLParser) Dtd() (localctx IDtdContext)
- func (p *HTMLParser) HtmlAttribute() (localctx IHtmlAttributeContext)
- func (p *HTMLParser) HtmlAttributeName() (localctx IHtmlAttributeNameContext)
- func (p *HTMLParser) HtmlAttributeValue() (localctx IHtmlAttributeValueContext)
- func (p *HTMLParser) HtmlChardata() (localctx IHtmlChardataContext)
- func (p *HTMLParser) HtmlComment() (localctx IHtmlCommentContext)
- func (p *HTMLParser) HtmlContent() (localctx IHtmlContentContext)
- func (p *HTMLParser) HtmlDocument() (localctx IHtmlDocumentContext)
- func (p *HTMLParser) HtmlElement() (localctx IHtmlElementContext)
- func (p *HTMLParser) HtmlElements() (localctx IHtmlElementsContext)
- func (p *HTMLParser) HtmlMisc() (localctx IHtmlMiscContext)
- func (p *HTMLParser) HtmlTagName() (localctx IHtmlTagNameContext)
- func (p *HTMLParser) Script() (localctx IScriptContext)
- func (p *HTMLParser) Scriptlet() (localctx IScriptletContext)
- func (p *HTMLParser) Style() (localctx IStyleContext)
- func (p *HTMLParser) XhtmlCDATA() (localctx IXhtmlCDATAContext)
- func (p *HTMLParser) Xml() (localctx IXmlContext)
- type HTMLParserListener
- type HtmlAttributeContext
- func (s *HtmlAttributeContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlAttributeContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlAttributeContext) GetParser() antlr.Parser
- func (s *HtmlAttributeContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlAttributeContext) HtmlAttributeName() IHtmlAttributeNameContext
- func (s *HtmlAttributeContext) HtmlAttributeValue() IHtmlAttributeValueContext
- func (*HtmlAttributeContext) IsHtmlAttributeContext()
- func (s *HtmlAttributeContext) TAG_EQUALS() antlr.TerminalNode
- func (s *HtmlAttributeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlAttributeNameContext
- func (s *HtmlAttributeNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlAttributeNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlAttributeNameContext) GetParser() antlr.Parser
- func (s *HtmlAttributeNameContext) GetRuleContext() antlr.RuleContext
- func (*HtmlAttributeNameContext) IsHtmlAttributeNameContext()
- func (s *HtmlAttributeNameContext) TAG_NAME() antlr.TerminalNode
- func (s *HtmlAttributeNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlAttributeValueContext
- func (s *HtmlAttributeValueContext) ATTVALUE_VALUE() antlr.TerminalNode
- func (s *HtmlAttributeValueContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlAttributeValueContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlAttributeValueContext) GetParser() antlr.Parser
- func (s *HtmlAttributeValueContext) GetRuleContext() antlr.RuleContext
- func (*HtmlAttributeValueContext) IsHtmlAttributeValueContext()
- func (s *HtmlAttributeValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlChardataContext
- func (s *HtmlChardataContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlChardataContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlChardataContext) GetParser() antlr.Parser
- func (s *HtmlChardataContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlChardataContext) HTML_TEXT() antlr.TerminalNode
- func (*HtmlChardataContext) IsHtmlChardataContext()
- func (s *HtmlChardataContext) SEA_WS() antlr.TerminalNode
- func (s *HtmlChardataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlCommentContext
- func (s *HtmlCommentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlCommentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlCommentContext) GetParser() antlr.Parser
- func (s *HtmlCommentContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlCommentContext) HTML_COMMENT() antlr.TerminalNode
- func (s *HtmlCommentContext) HTML_CONDITIONAL_COMMENT() antlr.TerminalNode
- func (*HtmlCommentContext) IsHtmlCommentContext()
- func (s *HtmlCommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlContentContext
- func (s *HtmlContentContext) AllHtmlChardata() []IHtmlChardataContext
- func (s *HtmlContentContext) AllHtmlComment() []IHtmlCommentContext
- func (s *HtmlContentContext) AllHtmlElement() []IHtmlElementContext
- func (s *HtmlContentContext) AllXhtmlCDATA() []IXhtmlCDATAContext
- func (s *HtmlContentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlContentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlContentContext) GetParser() antlr.Parser
- func (s *HtmlContentContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlContentContext) HtmlChardata(i int) IHtmlChardataContext
- func (s *HtmlContentContext) HtmlComment(i int) IHtmlCommentContext
- func (s *HtmlContentContext) HtmlElement(i int) IHtmlElementContext
- func (*HtmlContentContext) IsHtmlContentContext()
- func (s *HtmlContentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *HtmlContentContext) XhtmlCDATA(i int) IXhtmlCDATAContext
- type HtmlDocumentContext
- func (s *HtmlDocumentContext) AllHtmlElements() []IHtmlElementsContext
- func (s *HtmlDocumentContext) AllSEA_WS() []antlr.TerminalNode
- func (s *HtmlDocumentContext) AllScriptlet() []IScriptletContext
- func (s *HtmlDocumentContext) Dtd() IDtdContext
- func (s *HtmlDocumentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlDocumentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlDocumentContext) GetParser() antlr.Parser
- func (s *HtmlDocumentContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlDocumentContext) HtmlElements(i int) IHtmlElementsContext
- func (*HtmlDocumentContext) IsHtmlDocumentContext()
- func (s *HtmlDocumentContext) SEA_WS(i int) antlr.TerminalNode
- func (s *HtmlDocumentContext) Scriptlet(i int) IScriptletContext
- func (s *HtmlDocumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *HtmlDocumentContext) Xml() IXmlContext
- type HtmlElementContext
- func (s *HtmlElementContext) AllHtmlAttribute() []IHtmlAttributeContext
- func (s *HtmlElementContext) AllHtmlTagName() []IHtmlTagNameContext
- func (s *HtmlElementContext) AllTAG_CLOSE() []antlr.TerminalNode
- func (s *HtmlElementContext) AllTAG_OPEN() []antlr.TerminalNode
- func (s *HtmlElementContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlElementContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlElementContext) GetParser() antlr.Parser
- func (s *HtmlElementContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlElementContext) HtmlAttribute(i int) IHtmlAttributeContext
- func (s *HtmlElementContext) HtmlContent() IHtmlContentContext
- func (s *HtmlElementContext) HtmlTagName(i int) IHtmlTagNameContext
- func (*HtmlElementContext) IsHtmlElementContext()
- func (s *HtmlElementContext) Script() IScriptContext
- func (s *HtmlElementContext) Scriptlet() IScriptletContext
- func (s *HtmlElementContext) Style() IStyleContext
- func (s *HtmlElementContext) TAG_CLOSE(i int) antlr.TerminalNode
- func (s *HtmlElementContext) TAG_OPEN(i int) antlr.TerminalNode
- func (s *HtmlElementContext) TAG_SLASH() antlr.TerminalNode
- func (s *HtmlElementContext) TAG_SLASH_CLOSE() antlr.TerminalNode
- func (s *HtmlElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlElementsContext
- func (s *HtmlElementsContext) AllHtmlMisc() []IHtmlMiscContext
- func (s *HtmlElementsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlElementsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlElementsContext) GetParser() antlr.Parser
- func (s *HtmlElementsContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlElementsContext) HtmlElement() IHtmlElementContext
- func (s *HtmlElementsContext) HtmlMisc(i int) IHtmlMiscContext
- func (*HtmlElementsContext) IsHtmlElementsContext()
- func (s *HtmlElementsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlMiscContext
- func (s *HtmlMiscContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlMiscContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlMiscContext) GetParser() antlr.Parser
- func (s *HtmlMiscContext) GetRuleContext() antlr.RuleContext
- func (s *HtmlMiscContext) HtmlComment() IHtmlCommentContext
- func (*HtmlMiscContext) IsHtmlMiscContext()
- func (s *HtmlMiscContext) SEA_WS() antlr.TerminalNode
- func (s *HtmlMiscContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HtmlTagNameContext
- func (s *HtmlTagNameContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HtmlTagNameContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HtmlTagNameContext) GetParser() antlr.Parser
- func (s *HtmlTagNameContext) GetRuleContext() antlr.RuleContext
- func (*HtmlTagNameContext) IsHtmlTagNameContext()
- func (s *HtmlTagNameContext) TAG_NAME() antlr.TerminalNode
- func (s *HtmlTagNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IDtdContext
- type IHtmlAttributeContext
- type IHtmlAttributeNameContext
- type IHtmlAttributeValueContext
- type IHtmlChardataContext
- type IHtmlCommentContext
- type IHtmlContentContext
- type IHtmlDocumentContext
- type IHtmlElementContext
- type IHtmlElementsContext
- type IHtmlMiscContext
- type IHtmlTagNameContext
- type IScriptContext
- type IScriptletContext
- type IStyleContext
- type IXhtmlCDATAContext
- type IXmlContext
- type ScriptContext
- func (s *ScriptContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ScriptContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ScriptContext) GetParser() antlr.Parser
- func (s *ScriptContext) GetRuleContext() antlr.RuleContext
- func (*ScriptContext) IsScriptContext()
- func (s *ScriptContext) SCRIPT_BODY() antlr.TerminalNode
- func (s *ScriptContext) SCRIPT_OPEN() antlr.TerminalNode
- func (s *ScriptContext) SCRIPT_SHORT_BODY() antlr.TerminalNode
- func (s *ScriptContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ScriptletContext
- func (s *ScriptletContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ScriptletContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ScriptletContext) GetParser() antlr.Parser
- func (s *ScriptletContext) GetRuleContext() antlr.RuleContext
- func (*ScriptletContext) IsScriptletContext()
- func (s *ScriptletContext) SCRIPTLET() antlr.TerminalNode
- func (s *ScriptletContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type StyleContext
- func (s *StyleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *StyleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *StyleContext) GetParser() antlr.Parser
- func (s *StyleContext) GetRuleContext() antlr.RuleContext
- func (*StyleContext) IsStyleContext()
- func (s *StyleContext) STYLE_BODY() antlr.TerminalNode
- func (s *StyleContext) STYLE_OPEN() antlr.TerminalNode
- func (s *StyleContext) STYLE_SHORT_BODY() antlr.TerminalNode
- func (s *StyleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type XhtmlCDATAContext
- func (s *XhtmlCDATAContext) CDATA() antlr.TerminalNode
- func (s *XhtmlCDATAContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *XhtmlCDATAContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *XhtmlCDATAContext) GetParser() antlr.Parser
- func (s *XhtmlCDATAContext) GetRuleContext() antlr.RuleContext
- func (*XhtmlCDATAContext) IsXhtmlCDATAContext()
- func (s *XhtmlCDATAContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type XmlContext
- func (s *XmlContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *XmlContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *XmlContext) GetParser() antlr.Parser
- func (s *XmlContext) GetRuleContext() antlr.RuleContext
- func (*XmlContext) IsXmlContext()
- func (s *XmlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *XmlContext) XML_DECLARATION() antlr.TerminalNode
Constants ¶
const ( HTMLLexerHTML_COMMENT = 1 HTMLLexerHTML_CONDITIONAL_COMMENT = 2 HTMLLexerXML_DECLARATION = 3 HTMLLexerCDATA = 4 HTMLLexerDTD = 5 HTMLLexerSCRIPTLET = 6 HTMLLexerSEA_WS = 7 HTMLLexerSCRIPT_OPEN = 8 HTMLLexerSTYLE_OPEN = 9 HTMLLexerTAG_OPEN = 10 HTMLLexerHTML_TEXT = 11 HTMLLexerTAG_CLOSE = 12 HTMLLexerTAG_SLASH_CLOSE = 13 HTMLLexerTAG_SLASH = 14 HTMLLexerTAG_EQUALS = 15 HTMLLexerTAG_NAME = 16 HTMLLexerTAG_WHITESPACE = 17 HTMLLexerSCRIPT_BODY = 18 HTMLLexerSCRIPT_SHORT_BODY = 19 HTMLLexerSTYLE_BODY = 20 HTMLLexerSTYLE_SHORT_BODY = 21 HTMLLexerATTVALUE_VALUE = 22 HTMLLexerATTRIBUTE = 23 )
HTMLLexer tokens.
const ( HTMLLexerTAG = iota + 1 HTMLLexerSCRIPT HTMLLexerSTYLE HTMLLexerATTVALUE )
HTMLLexer modes.
const ( HTMLParserEOF = antlr.TokenEOF HTMLParserHTML_COMMENT = 1 HTMLParserHTML_CONDITIONAL_COMMENT = 2 HTMLParserXML_DECLARATION = 3 HTMLParserCDATA = 4 HTMLParserDTD = 5 HTMLParserSCRIPTLET = 6 HTMLParserSEA_WS = 7 HTMLParserSCRIPT_OPEN = 8 HTMLParserSTYLE_OPEN = 9 HTMLParserTAG_OPEN = 10 HTMLParserHTML_TEXT = 11 HTMLParserTAG_CLOSE = 12 HTMLParserTAG_SLASH_CLOSE = 13 HTMLParserTAG_SLASH = 14 HTMLParserTAG_EQUALS = 15 HTMLParserTAG_NAME = 16 HTMLParserTAG_WHITESPACE = 17 HTMLParserSCRIPT_BODY = 18 HTMLParserSCRIPT_SHORT_BODY = 19 HTMLParserSTYLE_BODY = 20 HTMLParserSTYLE_SHORT_BODY = 21 HTMLParserATTVALUE_VALUE = 22 HTMLParserATTRIBUTE = 23 )
HTMLParser tokens.
const ( HTMLParserRULE_htmlDocument = 0 HTMLParserRULE_htmlElements = 1 HTMLParserRULE_htmlElement = 2 HTMLParserRULE_htmlContent = 3 HTMLParserRULE_htmlAttribute = 4 HTMLParserRULE_htmlAttributeName = 5 HTMLParserRULE_htmlAttributeValue = 6 HTMLParserRULE_htmlTagName = 7 HTMLParserRULE_htmlChardata = 8 HTMLParserRULE_htmlMisc = 9 HTMLParserRULE_htmlComment = 10 HTMLParserRULE_xhtmlCDATA = 11 HTMLParserRULE_dtd = 12 HTMLParserRULE_xml = 13 HTMLParserRULE_scriptlet = 14 HTMLParserRULE_script = 15 HTMLParserRULE_style = 16 )
HTMLParser rules.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BaseHTMLParserListener ¶
type BaseHTMLParserListener struct{}
BaseHTMLParserListener is a complete listener for a parse tree produced by HTMLParser.
func (*BaseHTMLParserListener) EnterDtd ¶
func (s *BaseHTMLParserListener) EnterDtd(ctx *DtdContext)
EnterDtd is called when production dtd is entered.
func (*BaseHTMLParserListener) EnterEveryRule ¶
func (s *BaseHTMLParserListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BaseHTMLParserListener) EnterHtmlAttribute ¶
func (s *BaseHTMLParserListener) EnterHtmlAttribute(ctx *HtmlAttributeContext)
EnterHtmlAttribute is called when production htmlAttribute is entered.
func (*BaseHTMLParserListener) EnterHtmlAttributeName ¶
func (s *BaseHTMLParserListener) EnterHtmlAttributeName(ctx *HtmlAttributeNameContext)
EnterHtmlAttributeName is called when production htmlAttributeName is entered.
func (*BaseHTMLParserListener) EnterHtmlAttributeValue ¶
func (s *BaseHTMLParserListener) EnterHtmlAttributeValue(ctx *HtmlAttributeValueContext)
EnterHtmlAttributeValue is called when production htmlAttributeValue is entered.
func (*BaseHTMLParserListener) EnterHtmlChardata ¶
func (s *BaseHTMLParserListener) EnterHtmlChardata(ctx *HtmlChardataContext)
EnterHtmlChardata is called when production htmlChardata is entered.
func (*BaseHTMLParserListener) EnterHtmlComment ¶
func (s *BaseHTMLParserListener) EnterHtmlComment(ctx *HtmlCommentContext)
EnterHtmlComment is called when production htmlComment is entered.
func (*BaseHTMLParserListener) EnterHtmlContent ¶
func (s *BaseHTMLParserListener) EnterHtmlContent(ctx *HtmlContentContext)
EnterHtmlContent is called when production htmlContent is entered.
func (*BaseHTMLParserListener) EnterHtmlDocument ¶
func (s *BaseHTMLParserListener) EnterHtmlDocument(ctx *HtmlDocumentContext)
EnterHtmlDocument is called when production htmlDocument is entered.
func (*BaseHTMLParserListener) EnterHtmlElement ¶
func (s *BaseHTMLParserListener) EnterHtmlElement(ctx *HtmlElementContext)
EnterHtmlElement is called when production htmlElement is entered.
func (*BaseHTMLParserListener) EnterHtmlElements ¶
func (s *BaseHTMLParserListener) EnterHtmlElements(ctx *HtmlElementsContext)
EnterHtmlElements is called when production htmlElements is entered.
func (*BaseHTMLParserListener) EnterHtmlMisc ¶
func (s *BaseHTMLParserListener) EnterHtmlMisc(ctx *HtmlMiscContext)
EnterHtmlMisc is called when production htmlMisc is entered.
func (*BaseHTMLParserListener) EnterHtmlTagName ¶
func (s *BaseHTMLParserListener) EnterHtmlTagName(ctx *HtmlTagNameContext)
EnterHtmlTagName is called when production htmlTagName is entered.
func (*BaseHTMLParserListener) EnterScript ¶
func (s *BaseHTMLParserListener) EnterScript(ctx *ScriptContext)
EnterScript is called when production script is entered.
func (*BaseHTMLParserListener) EnterScriptlet ¶
func (s *BaseHTMLParserListener) EnterScriptlet(ctx *ScriptletContext)
EnterScriptlet is called when production scriptlet is entered.
func (*BaseHTMLParserListener) EnterStyle ¶
func (s *BaseHTMLParserListener) EnterStyle(ctx *StyleContext)
EnterStyle is called when production style is entered.
func (*BaseHTMLParserListener) EnterXhtmlCDATA ¶
func (s *BaseHTMLParserListener) EnterXhtmlCDATA(ctx *XhtmlCDATAContext)
EnterXhtmlCDATA is called when production xhtmlCDATA is entered.
func (*BaseHTMLParserListener) EnterXml ¶
func (s *BaseHTMLParserListener) EnterXml(ctx *XmlContext)
EnterXml is called when production xml is entered.
func (*BaseHTMLParserListener) ExitDtd ¶
func (s *BaseHTMLParserListener) ExitDtd(ctx *DtdContext)
ExitDtd is called when production dtd is exited.
func (*BaseHTMLParserListener) ExitEveryRule ¶
func (s *BaseHTMLParserListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BaseHTMLParserListener) ExitHtmlAttribute ¶
func (s *BaseHTMLParserListener) ExitHtmlAttribute(ctx *HtmlAttributeContext)
ExitHtmlAttribute is called when production htmlAttribute is exited.
func (*BaseHTMLParserListener) ExitHtmlAttributeName ¶
func (s *BaseHTMLParserListener) ExitHtmlAttributeName(ctx *HtmlAttributeNameContext)
ExitHtmlAttributeName is called when production htmlAttributeName is exited.
func (*BaseHTMLParserListener) ExitHtmlAttributeValue ¶
func (s *BaseHTMLParserListener) ExitHtmlAttributeValue(ctx *HtmlAttributeValueContext)
ExitHtmlAttributeValue is called when production htmlAttributeValue is exited.
func (*BaseHTMLParserListener) ExitHtmlChardata ¶
func (s *BaseHTMLParserListener) ExitHtmlChardata(ctx *HtmlChardataContext)
ExitHtmlChardata is called when production htmlChardata is exited.
func (*BaseHTMLParserListener) ExitHtmlComment ¶
func (s *BaseHTMLParserListener) ExitHtmlComment(ctx *HtmlCommentContext)
ExitHtmlComment is called when production htmlComment is exited.
func (*BaseHTMLParserListener) ExitHtmlContent ¶
func (s *BaseHTMLParserListener) ExitHtmlContent(ctx *HtmlContentContext)
ExitHtmlContent is called when production htmlContent is exited.
func (*BaseHTMLParserListener) ExitHtmlDocument ¶
func (s *BaseHTMLParserListener) ExitHtmlDocument(ctx *HtmlDocumentContext)
ExitHtmlDocument is called when production htmlDocument is exited.
func (*BaseHTMLParserListener) ExitHtmlElement ¶
func (s *BaseHTMLParserListener) ExitHtmlElement(ctx *HtmlElementContext)
ExitHtmlElement is called when production htmlElement is exited.
func (*BaseHTMLParserListener) ExitHtmlElements ¶
func (s *BaseHTMLParserListener) ExitHtmlElements(ctx *HtmlElementsContext)
ExitHtmlElements is called when production htmlElements is exited.
func (*BaseHTMLParserListener) ExitHtmlMisc ¶
func (s *BaseHTMLParserListener) ExitHtmlMisc(ctx *HtmlMiscContext)
ExitHtmlMisc is called when production htmlMisc is exited.
func (*BaseHTMLParserListener) ExitHtmlTagName ¶
func (s *BaseHTMLParserListener) ExitHtmlTagName(ctx *HtmlTagNameContext)
ExitHtmlTagName is called when production htmlTagName is exited.
func (*BaseHTMLParserListener) ExitScript ¶
func (s *BaseHTMLParserListener) ExitScript(ctx *ScriptContext)
ExitScript is called when production script is exited.
func (*BaseHTMLParserListener) ExitScriptlet ¶
func (s *BaseHTMLParserListener) ExitScriptlet(ctx *ScriptletContext)
ExitScriptlet is called when production scriptlet is exited.
func (*BaseHTMLParserListener) ExitStyle ¶
func (s *BaseHTMLParserListener) ExitStyle(ctx *StyleContext)
ExitStyle is called when production style is exited.
func (*BaseHTMLParserListener) ExitXhtmlCDATA ¶
func (s *BaseHTMLParserListener) ExitXhtmlCDATA(ctx *XhtmlCDATAContext)
ExitXhtmlCDATA is called when production xhtmlCDATA is exited.
func (*BaseHTMLParserListener) ExitXml ¶
func (s *BaseHTMLParserListener) ExitXml(ctx *XmlContext)
ExitXml is called when production xml is exited.
func (*BaseHTMLParserListener) VisitErrorNode ¶
func (s *BaseHTMLParserListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BaseHTMLParserListener) VisitTerminal ¶
func (s *BaseHTMLParserListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type DtdContext ¶
type DtdContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDtdContext ¶
func NewDtdContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DtdContext
func NewEmptyDtdContext ¶
func NewEmptyDtdContext() *DtdContext
func (*DtdContext) DTD ¶
func (s *DtdContext) DTD() antlr.TerminalNode
func (*DtdContext) EnterRule ¶
func (s *DtdContext) EnterRule(listener antlr.ParseTreeListener)
func (*DtdContext) ExitRule ¶
func (s *DtdContext) ExitRule(listener antlr.ParseTreeListener)
func (*DtdContext) GetParser ¶
func (s *DtdContext) GetParser() antlr.Parser
func (*DtdContext) GetRuleContext ¶
func (s *DtdContext) GetRuleContext() antlr.RuleContext
func (*DtdContext) IsDtdContext ¶
func (*DtdContext) IsDtdContext()
func (*DtdContext) ToStringTree ¶
func (s *DtdContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HTMLLexer ¶
func NewHTMLLexer ¶
func NewHTMLLexer(input antlr.CharStream) *HTMLLexer
type HTMLParser ¶
type HTMLParser struct {
*antlr.BaseParser
}
func NewHTMLParser ¶
func NewHTMLParser(input antlr.TokenStream) *HTMLParser
func (*HTMLParser) Dtd ¶
func (p *HTMLParser) Dtd() (localctx IDtdContext)
func (*HTMLParser) HtmlAttribute ¶
func (p *HTMLParser) HtmlAttribute() (localctx IHtmlAttributeContext)
func (*HTMLParser) HtmlAttributeName ¶
func (p *HTMLParser) HtmlAttributeName() (localctx IHtmlAttributeNameContext)
func (*HTMLParser) HtmlAttributeValue ¶
func (p *HTMLParser) HtmlAttributeValue() (localctx IHtmlAttributeValueContext)
func (*HTMLParser) HtmlChardata ¶
func (p *HTMLParser) HtmlChardata() (localctx IHtmlChardataContext)
func (*HTMLParser) HtmlComment ¶
func (p *HTMLParser) HtmlComment() (localctx IHtmlCommentContext)
func (*HTMLParser) HtmlContent ¶
func (p *HTMLParser) HtmlContent() (localctx IHtmlContentContext)
func (*HTMLParser) HtmlDocument ¶
func (p *HTMLParser) HtmlDocument() (localctx IHtmlDocumentContext)
func (*HTMLParser) HtmlElement ¶
func (p *HTMLParser) HtmlElement() (localctx IHtmlElementContext)
func (*HTMLParser) HtmlElements ¶
func (p *HTMLParser) HtmlElements() (localctx IHtmlElementsContext)
func (*HTMLParser) HtmlMisc ¶
func (p *HTMLParser) HtmlMisc() (localctx IHtmlMiscContext)
func (*HTMLParser) HtmlTagName ¶
func (p *HTMLParser) HtmlTagName() (localctx IHtmlTagNameContext)
func (*HTMLParser) Script ¶
func (p *HTMLParser) Script() (localctx IScriptContext)
func (*HTMLParser) Scriptlet ¶
func (p *HTMLParser) Scriptlet() (localctx IScriptletContext)
func (*HTMLParser) Style ¶
func (p *HTMLParser) Style() (localctx IStyleContext)
func (*HTMLParser) XhtmlCDATA ¶
func (p *HTMLParser) XhtmlCDATA() (localctx IXhtmlCDATAContext)
func (*HTMLParser) Xml ¶
func (p *HTMLParser) Xml() (localctx IXmlContext)
type HTMLParserListener ¶
type HTMLParserListener interface { antlr.ParseTreeListener // EnterHtmlDocument is called when entering the htmlDocument production. EnterHtmlDocument(c *HtmlDocumentContext) // EnterHtmlElements is called when entering the htmlElements production. EnterHtmlElements(c *HtmlElementsContext) // EnterHtmlElement is called when entering the htmlElement production. EnterHtmlElement(c *HtmlElementContext) // EnterHtmlContent is called when entering the htmlContent production. EnterHtmlContent(c *HtmlContentContext) // EnterHtmlAttribute is called when entering the htmlAttribute production. EnterHtmlAttribute(c *HtmlAttributeContext) // EnterHtmlAttributeName is called when entering the htmlAttributeName production. EnterHtmlAttributeName(c *HtmlAttributeNameContext) // EnterHtmlAttributeValue is called when entering the htmlAttributeValue production. EnterHtmlAttributeValue(c *HtmlAttributeValueContext) // EnterHtmlTagName is called when entering the htmlTagName production. EnterHtmlTagName(c *HtmlTagNameContext) // EnterHtmlChardata is called when entering the htmlChardata production. EnterHtmlChardata(c *HtmlChardataContext) // EnterHtmlMisc is called when entering the htmlMisc production. EnterHtmlMisc(c *HtmlMiscContext) // EnterHtmlComment is called when entering the htmlComment production. EnterHtmlComment(c *HtmlCommentContext) // EnterXhtmlCDATA is called when entering the xhtmlCDATA production. EnterXhtmlCDATA(c *XhtmlCDATAContext) // EnterDtd is called when entering the dtd production. EnterDtd(c *DtdContext) // EnterXml is called when entering the xml production. EnterXml(c *XmlContext) // EnterScriptlet is called when entering the scriptlet production. EnterScriptlet(c *ScriptletContext) // EnterScript is called when entering the script production. EnterScript(c *ScriptContext) // EnterStyle is called when entering the style production. EnterStyle(c *StyleContext) // ExitHtmlDocument is called when exiting the htmlDocument production. ExitHtmlDocument(c *HtmlDocumentContext) // ExitHtmlElements is called when exiting the htmlElements production. ExitHtmlElements(c *HtmlElementsContext) // ExitHtmlElement is called when exiting the htmlElement production. ExitHtmlElement(c *HtmlElementContext) // ExitHtmlContent is called when exiting the htmlContent production. ExitHtmlContent(c *HtmlContentContext) // ExitHtmlAttribute is called when exiting the htmlAttribute production. ExitHtmlAttribute(c *HtmlAttributeContext) // ExitHtmlAttributeName is called when exiting the htmlAttributeName production. ExitHtmlAttributeName(c *HtmlAttributeNameContext) // ExitHtmlAttributeValue is called when exiting the htmlAttributeValue production. ExitHtmlAttributeValue(c *HtmlAttributeValueContext) // ExitHtmlTagName is called when exiting the htmlTagName production. ExitHtmlTagName(c *HtmlTagNameContext) // ExitHtmlChardata is called when exiting the htmlChardata production. ExitHtmlChardata(c *HtmlChardataContext) // ExitHtmlMisc is called when exiting the htmlMisc production. ExitHtmlMisc(c *HtmlMiscContext) // ExitHtmlComment is called when exiting the htmlComment production. ExitHtmlComment(c *HtmlCommentContext) // ExitXhtmlCDATA is called when exiting the xhtmlCDATA production. ExitXhtmlCDATA(c *XhtmlCDATAContext) // ExitDtd is called when exiting the dtd production. ExitDtd(c *DtdContext) // ExitXml is called when exiting the xml production. ExitXml(c *XmlContext) // ExitScriptlet is called when exiting the scriptlet production. ExitScriptlet(c *ScriptletContext) // ExitScript is called when exiting the script production. ExitScript(c *ScriptContext) // ExitStyle is called when exiting the style production. ExitStyle(c *StyleContext) }
HTMLParserListener is a complete listener for a parse tree produced by HTMLParser.
type HtmlAttributeContext ¶
type HtmlAttributeContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlAttributeContext ¶
func NewEmptyHtmlAttributeContext() *HtmlAttributeContext
func NewHtmlAttributeContext ¶
func NewHtmlAttributeContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlAttributeContext
func (*HtmlAttributeContext) EnterRule ¶
func (s *HtmlAttributeContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlAttributeContext) ExitRule ¶
func (s *HtmlAttributeContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlAttributeContext) GetParser ¶
func (s *HtmlAttributeContext) GetParser() antlr.Parser
func (*HtmlAttributeContext) GetRuleContext ¶
func (s *HtmlAttributeContext) GetRuleContext() antlr.RuleContext
func (*HtmlAttributeContext) HtmlAttributeName ¶
func (s *HtmlAttributeContext) HtmlAttributeName() IHtmlAttributeNameContext
func (*HtmlAttributeContext) HtmlAttributeValue ¶
func (s *HtmlAttributeContext) HtmlAttributeValue() IHtmlAttributeValueContext
func (*HtmlAttributeContext) IsHtmlAttributeContext ¶
func (*HtmlAttributeContext) IsHtmlAttributeContext()
func (*HtmlAttributeContext) TAG_EQUALS ¶
func (s *HtmlAttributeContext) TAG_EQUALS() antlr.TerminalNode
func (*HtmlAttributeContext) ToStringTree ¶
func (s *HtmlAttributeContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlAttributeNameContext ¶
type HtmlAttributeNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlAttributeNameContext ¶
func NewEmptyHtmlAttributeNameContext() *HtmlAttributeNameContext
func NewHtmlAttributeNameContext ¶
func NewHtmlAttributeNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlAttributeNameContext
func (*HtmlAttributeNameContext) EnterRule ¶
func (s *HtmlAttributeNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlAttributeNameContext) ExitRule ¶
func (s *HtmlAttributeNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlAttributeNameContext) GetParser ¶
func (s *HtmlAttributeNameContext) GetParser() antlr.Parser
func (*HtmlAttributeNameContext) GetRuleContext ¶
func (s *HtmlAttributeNameContext) GetRuleContext() antlr.RuleContext
func (*HtmlAttributeNameContext) IsHtmlAttributeNameContext ¶
func (*HtmlAttributeNameContext) IsHtmlAttributeNameContext()
func (*HtmlAttributeNameContext) TAG_NAME ¶
func (s *HtmlAttributeNameContext) TAG_NAME() antlr.TerminalNode
func (*HtmlAttributeNameContext) ToStringTree ¶
func (s *HtmlAttributeNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlAttributeValueContext ¶
type HtmlAttributeValueContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlAttributeValueContext ¶
func NewEmptyHtmlAttributeValueContext() *HtmlAttributeValueContext
func NewHtmlAttributeValueContext ¶
func NewHtmlAttributeValueContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlAttributeValueContext
func (*HtmlAttributeValueContext) ATTVALUE_VALUE ¶
func (s *HtmlAttributeValueContext) ATTVALUE_VALUE() antlr.TerminalNode
func (*HtmlAttributeValueContext) EnterRule ¶
func (s *HtmlAttributeValueContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlAttributeValueContext) ExitRule ¶
func (s *HtmlAttributeValueContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlAttributeValueContext) GetParser ¶
func (s *HtmlAttributeValueContext) GetParser() antlr.Parser
func (*HtmlAttributeValueContext) GetRuleContext ¶
func (s *HtmlAttributeValueContext) GetRuleContext() antlr.RuleContext
func (*HtmlAttributeValueContext) IsHtmlAttributeValueContext ¶
func (*HtmlAttributeValueContext) IsHtmlAttributeValueContext()
func (*HtmlAttributeValueContext) ToStringTree ¶
func (s *HtmlAttributeValueContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlChardataContext ¶
type HtmlChardataContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlChardataContext ¶
func NewEmptyHtmlChardataContext() *HtmlChardataContext
func NewHtmlChardataContext ¶
func NewHtmlChardataContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlChardataContext
func (*HtmlChardataContext) EnterRule ¶
func (s *HtmlChardataContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlChardataContext) ExitRule ¶
func (s *HtmlChardataContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlChardataContext) GetParser ¶
func (s *HtmlChardataContext) GetParser() antlr.Parser
func (*HtmlChardataContext) GetRuleContext ¶
func (s *HtmlChardataContext) GetRuleContext() antlr.RuleContext
func (*HtmlChardataContext) HTML_TEXT ¶
func (s *HtmlChardataContext) HTML_TEXT() antlr.TerminalNode
func (*HtmlChardataContext) IsHtmlChardataContext ¶
func (*HtmlChardataContext) IsHtmlChardataContext()
func (*HtmlChardataContext) SEA_WS ¶
func (s *HtmlChardataContext) SEA_WS() antlr.TerminalNode
func (*HtmlChardataContext) ToStringTree ¶
func (s *HtmlChardataContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlCommentContext ¶
type HtmlCommentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlCommentContext ¶
func NewEmptyHtmlCommentContext() *HtmlCommentContext
func NewHtmlCommentContext ¶
func NewHtmlCommentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlCommentContext
func (*HtmlCommentContext) EnterRule ¶
func (s *HtmlCommentContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlCommentContext) ExitRule ¶
func (s *HtmlCommentContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlCommentContext) GetParser ¶
func (s *HtmlCommentContext) GetParser() antlr.Parser
func (*HtmlCommentContext) GetRuleContext ¶
func (s *HtmlCommentContext) GetRuleContext() antlr.RuleContext
func (*HtmlCommentContext) HTML_COMMENT ¶
func (s *HtmlCommentContext) HTML_COMMENT() antlr.TerminalNode
func (*HtmlCommentContext) HTML_CONDITIONAL_COMMENT ¶
func (s *HtmlCommentContext) HTML_CONDITIONAL_COMMENT() antlr.TerminalNode
func (*HtmlCommentContext) IsHtmlCommentContext ¶
func (*HtmlCommentContext) IsHtmlCommentContext()
func (*HtmlCommentContext) ToStringTree ¶
func (s *HtmlCommentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlContentContext ¶
type HtmlContentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlContentContext ¶
func NewEmptyHtmlContentContext() *HtmlContentContext
func NewHtmlContentContext ¶
func NewHtmlContentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlContentContext
func (*HtmlContentContext) AllHtmlChardata ¶
func (s *HtmlContentContext) AllHtmlChardata() []IHtmlChardataContext
func (*HtmlContentContext) AllHtmlComment ¶
func (s *HtmlContentContext) AllHtmlComment() []IHtmlCommentContext
func (*HtmlContentContext) AllHtmlElement ¶
func (s *HtmlContentContext) AllHtmlElement() []IHtmlElementContext
func (*HtmlContentContext) AllXhtmlCDATA ¶
func (s *HtmlContentContext) AllXhtmlCDATA() []IXhtmlCDATAContext
func (*HtmlContentContext) EnterRule ¶
func (s *HtmlContentContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlContentContext) ExitRule ¶
func (s *HtmlContentContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlContentContext) GetParser ¶
func (s *HtmlContentContext) GetParser() antlr.Parser
func (*HtmlContentContext) GetRuleContext ¶
func (s *HtmlContentContext) GetRuleContext() antlr.RuleContext
func (*HtmlContentContext) HtmlChardata ¶
func (s *HtmlContentContext) HtmlChardata(i int) IHtmlChardataContext
func (*HtmlContentContext) HtmlComment ¶
func (s *HtmlContentContext) HtmlComment(i int) IHtmlCommentContext
func (*HtmlContentContext) HtmlElement ¶
func (s *HtmlContentContext) HtmlElement(i int) IHtmlElementContext
func (*HtmlContentContext) IsHtmlContentContext ¶
func (*HtmlContentContext) IsHtmlContentContext()
func (*HtmlContentContext) ToStringTree ¶
func (s *HtmlContentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*HtmlContentContext) XhtmlCDATA ¶
func (s *HtmlContentContext) XhtmlCDATA(i int) IXhtmlCDATAContext
type HtmlDocumentContext ¶
type HtmlDocumentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlDocumentContext ¶
func NewEmptyHtmlDocumentContext() *HtmlDocumentContext
func NewHtmlDocumentContext ¶
func NewHtmlDocumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlDocumentContext
func (*HtmlDocumentContext) AllHtmlElements ¶
func (s *HtmlDocumentContext) AllHtmlElements() []IHtmlElementsContext
func (*HtmlDocumentContext) AllSEA_WS ¶
func (s *HtmlDocumentContext) AllSEA_WS() []antlr.TerminalNode
func (*HtmlDocumentContext) AllScriptlet ¶
func (s *HtmlDocumentContext) AllScriptlet() []IScriptletContext
func (*HtmlDocumentContext) Dtd ¶
func (s *HtmlDocumentContext) Dtd() IDtdContext
func (*HtmlDocumentContext) EnterRule ¶
func (s *HtmlDocumentContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlDocumentContext) ExitRule ¶
func (s *HtmlDocumentContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlDocumentContext) GetParser ¶
func (s *HtmlDocumentContext) GetParser() antlr.Parser
func (*HtmlDocumentContext) GetRuleContext ¶
func (s *HtmlDocumentContext) GetRuleContext() antlr.RuleContext
func (*HtmlDocumentContext) HtmlElements ¶
func (s *HtmlDocumentContext) HtmlElements(i int) IHtmlElementsContext
func (*HtmlDocumentContext) IsHtmlDocumentContext ¶
func (*HtmlDocumentContext) IsHtmlDocumentContext()
func (*HtmlDocumentContext) SEA_WS ¶
func (s *HtmlDocumentContext) SEA_WS(i int) antlr.TerminalNode
func (*HtmlDocumentContext) Scriptlet ¶
func (s *HtmlDocumentContext) Scriptlet(i int) IScriptletContext
func (*HtmlDocumentContext) ToStringTree ¶
func (s *HtmlDocumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*HtmlDocumentContext) Xml ¶
func (s *HtmlDocumentContext) Xml() IXmlContext
type HtmlElementContext ¶
type HtmlElementContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlElementContext ¶
func NewEmptyHtmlElementContext() *HtmlElementContext
func NewHtmlElementContext ¶
func NewHtmlElementContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlElementContext
func (*HtmlElementContext) AllHtmlAttribute ¶
func (s *HtmlElementContext) AllHtmlAttribute() []IHtmlAttributeContext
func (*HtmlElementContext) AllHtmlTagName ¶
func (s *HtmlElementContext) AllHtmlTagName() []IHtmlTagNameContext
func (*HtmlElementContext) AllTAG_CLOSE ¶
func (s *HtmlElementContext) AllTAG_CLOSE() []antlr.TerminalNode
func (*HtmlElementContext) AllTAG_OPEN ¶
func (s *HtmlElementContext) AllTAG_OPEN() []antlr.TerminalNode
func (*HtmlElementContext) EnterRule ¶
func (s *HtmlElementContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlElementContext) ExitRule ¶
func (s *HtmlElementContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlElementContext) GetParser ¶
func (s *HtmlElementContext) GetParser() antlr.Parser
func (*HtmlElementContext) GetRuleContext ¶
func (s *HtmlElementContext) GetRuleContext() antlr.RuleContext
func (*HtmlElementContext) HtmlAttribute ¶
func (s *HtmlElementContext) HtmlAttribute(i int) IHtmlAttributeContext
func (*HtmlElementContext) HtmlContent ¶
func (s *HtmlElementContext) HtmlContent() IHtmlContentContext
func (*HtmlElementContext) HtmlTagName ¶
func (s *HtmlElementContext) HtmlTagName(i int) IHtmlTagNameContext
func (*HtmlElementContext) IsHtmlElementContext ¶
func (*HtmlElementContext) IsHtmlElementContext()
func (*HtmlElementContext) Script ¶
func (s *HtmlElementContext) Script() IScriptContext
func (*HtmlElementContext) Scriptlet ¶
func (s *HtmlElementContext) Scriptlet() IScriptletContext
func (*HtmlElementContext) Style ¶
func (s *HtmlElementContext) Style() IStyleContext
func (*HtmlElementContext) TAG_CLOSE ¶
func (s *HtmlElementContext) TAG_CLOSE(i int) antlr.TerminalNode
func (*HtmlElementContext) TAG_OPEN ¶
func (s *HtmlElementContext) TAG_OPEN(i int) antlr.TerminalNode
func (*HtmlElementContext) TAG_SLASH ¶
func (s *HtmlElementContext) TAG_SLASH() antlr.TerminalNode
func (*HtmlElementContext) TAG_SLASH_CLOSE ¶
func (s *HtmlElementContext) TAG_SLASH_CLOSE() antlr.TerminalNode
func (*HtmlElementContext) ToStringTree ¶
func (s *HtmlElementContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlElementsContext ¶
type HtmlElementsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlElementsContext ¶
func NewEmptyHtmlElementsContext() *HtmlElementsContext
func NewHtmlElementsContext ¶
func NewHtmlElementsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlElementsContext
func (*HtmlElementsContext) AllHtmlMisc ¶
func (s *HtmlElementsContext) AllHtmlMisc() []IHtmlMiscContext
func (*HtmlElementsContext) EnterRule ¶
func (s *HtmlElementsContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlElementsContext) ExitRule ¶
func (s *HtmlElementsContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlElementsContext) GetParser ¶
func (s *HtmlElementsContext) GetParser() antlr.Parser
func (*HtmlElementsContext) GetRuleContext ¶
func (s *HtmlElementsContext) GetRuleContext() antlr.RuleContext
func (*HtmlElementsContext) HtmlElement ¶
func (s *HtmlElementsContext) HtmlElement() IHtmlElementContext
func (*HtmlElementsContext) HtmlMisc ¶
func (s *HtmlElementsContext) HtmlMisc(i int) IHtmlMiscContext
func (*HtmlElementsContext) IsHtmlElementsContext ¶
func (*HtmlElementsContext) IsHtmlElementsContext()
func (*HtmlElementsContext) ToStringTree ¶
func (s *HtmlElementsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlMiscContext ¶
type HtmlMiscContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlMiscContext ¶
func NewEmptyHtmlMiscContext() *HtmlMiscContext
func NewHtmlMiscContext ¶
func NewHtmlMiscContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlMiscContext
func (*HtmlMiscContext) EnterRule ¶
func (s *HtmlMiscContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlMiscContext) ExitRule ¶
func (s *HtmlMiscContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlMiscContext) GetParser ¶
func (s *HtmlMiscContext) GetParser() antlr.Parser
func (*HtmlMiscContext) GetRuleContext ¶
func (s *HtmlMiscContext) GetRuleContext() antlr.RuleContext
func (*HtmlMiscContext) HtmlComment ¶
func (s *HtmlMiscContext) HtmlComment() IHtmlCommentContext
func (*HtmlMiscContext) IsHtmlMiscContext ¶
func (*HtmlMiscContext) IsHtmlMiscContext()
func (*HtmlMiscContext) SEA_WS ¶
func (s *HtmlMiscContext) SEA_WS() antlr.TerminalNode
func (*HtmlMiscContext) ToStringTree ¶
func (s *HtmlMiscContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HtmlTagNameContext ¶
type HtmlTagNameContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHtmlTagNameContext ¶
func NewEmptyHtmlTagNameContext() *HtmlTagNameContext
func NewHtmlTagNameContext ¶
func NewHtmlTagNameContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HtmlTagNameContext
func (*HtmlTagNameContext) EnterRule ¶
func (s *HtmlTagNameContext) EnterRule(listener antlr.ParseTreeListener)
func (*HtmlTagNameContext) ExitRule ¶
func (s *HtmlTagNameContext) ExitRule(listener antlr.ParseTreeListener)
func (*HtmlTagNameContext) GetParser ¶
func (s *HtmlTagNameContext) GetParser() antlr.Parser
func (*HtmlTagNameContext) GetRuleContext ¶
func (s *HtmlTagNameContext) GetRuleContext() antlr.RuleContext
func (*HtmlTagNameContext) IsHtmlTagNameContext ¶
func (*HtmlTagNameContext) IsHtmlTagNameContext()
func (*HtmlTagNameContext) TAG_NAME ¶
func (s *HtmlTagNameContext) TAG_NAME() antlr.TerminalNode
func (*HtmlTagNameContext) ToStringTree ¶
func (s *HtmlTagNameContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IDtdContext ¶
type IDtdContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDtdContext differentiates from other interfaces. IsDtdContext() }
IDtdContext is an interface to support dynamic dispatch.
type IHtmlAttributeContext ¶
type IHtmlAttributeContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlAttributeContext differentiates from other interfaces. IsHtmlAttributeContext() }
IHtmlAttributeContext is an interface to support dynamic dispatch.
type IHtmlAttributeNameContext ¶
type IHtmlAttributeNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlAttributeNameContext differentiates from other interfaces. IsHtmlAttributeNameContext() }
IHtmlAttributeNameContext is an interface to support dynamic dispatch.
type IHtmlAttributeValueContext ¶
type IHtmlAttributeValueContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlAttributeValueContext differentiates from other interfaces. IsHtmlAttributeValueContext() }
IHtmlAttributeValueContext is an interface to support dynamic dispatch.
type IHtmlChardataContext ¶
type IHtmlChardataContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlChardataContext differentiates from other interfaces. IsHtmlChardataContext() }
IHtmlChardataContext is an interface to support dynamic dispatch.
type IHtmlCommentContext ¶
type IHtmlCommentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlCommentContext differentiates from other interfaces. IsHtmlCommentContext() }
IHtmlCommentContext is an interface to support dynamic dispatch.
type IHtmlContentContext ¶
type IHtmlContentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlContentContext differentiates from other interfaces. IsHtmlContentContext() }
IHtmlContentContext is an interface to support dynamic dispatch.
type IHtmlDocumentContext ¶
type IHtmlDocumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlDocumentContext differentiates from other interfaces. IsHtmlDocumentContext() }
IHtmlDocumentContext is an interface to support dynamic dispatch.
type IHtmlElementContext ¶
type IHtmlElementContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlElementContext differentiates from other interfaces. IsHtmlElementContext() }
IHtmlElementContext is an interface to support dynamic dispatch.
type IHtmlElementsContext ¶
type IHtmlElementsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlElementsContext differentiates from other interfaces. IsHtmlElementsContext() }
IHtmlElementsContext is an interface to support dynamic dispatch.
type IHtmlMiscContext ¶
type IHtmlMiscContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlMiscContext differentiates from other interfaces. IsHtmlMiscContext() }
IHtmlMiscContext is an interface to support dynamic dispatch.
type IHtmlTagNameContext ¶
type IHtmlTagNameContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHtmlTagNameContext differentiates from other interfaces. IsHtmlTagNameContext() }
IHtmlTagNameContext is an interface to support dynamic dispatch.
type IScriptContext ¶
type IScriptContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsScriptContext differentiates from other interfaces. IsScriptContext() }
IScriptContext is an interface to support dynamic dispatch.
type IScriptletContext ¶
type IScriptletContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsScriptletContext differentiates from other interfaces. IsScriptletContext() }
IScriptletContext is an interface to support dynamic dispatch.
type IStyleContext ¶
type IStyleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsStyleContext differentiates from other interfaces. IsStyleContext() }
IStyleContext is an interface to support dynamic dispatch.
type IXhtmlCDATAContext ¶
type IXhtmlCDATAContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsXhtmlCDATAContext differentiates from other interfaces. IsXhtmlCDATAContext() }
IXhtmlCDATAContext is an interface to support dynamic dispatch.
type IXmlContext ¶
type IXmlContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsXmlContext differentiates from other interfaces. IsXmlContext() }
IXmlContext is an interface to support dynamic dispatch.
type ScriptContext ¶
type ScriptContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyScriptContext ¶
func NewEmptyScriptContext() *ScriptContext
func NewScriptContext ¶
func NewScriptContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScriptContext
func (*ScriptContext) EnterRule ¶
func (s *ScriptContext) EnterRule(listener antlr.ParseTreeListener)
func (*ScriptContext) ExitRule ¶
func (s *ScriptContext) ExitRule(listener antlr.ParseTreeListener)
func (*ScriptContext) GetParser ¶
func (s *ScriptContext) GetParser() antlr.Parser
func (*ScriptContext) GetRuleContext ¶
func (s *ScriptContext) GetRuleContext() antlr.RuleContext
func (*ScriptContext) IsScriptContext ¶
func (*ScriptContext) IsScriptContext()
func (*ScriptContext) SCRIPT_BODY ¶
func (s *ScriptContext) SCRIPT_BODY() antlr.TerminalNode
func (*ScriptContext) SCRIPT_OPEN ¶
func (s *ScriptContext) SCRIPT_OPEN() antlr.TerminalNode
func (*ScriptContext) SCRIPT_SHORT_BODY ¶
func (s *ScriptContext) SCRIPT_SHORT_BODY() antlr.TerminalNode
func (*ScriptContext) ToStringTree ¶
func (s *ScriptContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ScriptletContext ¶
type ScriptletContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyScriptletContext ¶
func NewEmptyScriptletContext() *ScriptletContext
func NewScriptletContext ¶
func NewScriptletContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ScriptletContext
func (*ScriptletContext) EnterRule ¶
func (s *ScriptletContext) EnterRule(listener antlr.ParseTreeListener)
func (*ScriptletContext) ExitRule ¶
func (s *ScriptletContext) ExitRule(listener antlr.ParseTreeListener)
func (*ScriptletContext) GetParser ¶
func (s *ScriptletContext) GetParser() antlr.Parser
func (*ScriptletContext) GetRuleContext ¶
func (s *ScriptletContext) GetRuleContext() antlr.RuleContext
func (*ScriptletContext) IsScriptletContext ¶
func (*ScriptletContext) IsScriptletContext()
func (*ScriptletContext) SCRIPTLET ¶
func (s *ScriptletContext) SCRIPTLET() antlr.TerminalNode
func (*ScriptletContext) ToStringTree ¶
func (s *ScriptletContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type StyleContext ¶
type StyleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyStyleContext ¶
func NewEmptyStyleContext() *StyleContext
func NewStyleContext ¶
func NewStyleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *StyleContext
func (*StyleContext) EnterRule ¶
func (s *StyleContext) EnterRule(listener antlr.ParseTreeListener)
func (*StyleContext) ExitRule ¶
func (s *StyleContext) ExitRule(listener antlr.ParseTreeListener)
func (*StyleContext) GetParser ¶
func (s *StyleContext) GetParser() antlr.Parser
func (*StyleContext) GetRuleContext ¶
func (s *StyleContext) GetRuleContext() antlr.RuleContext
func (*StyleContext) IsStyleContext ¶
func (*StyleContext) IsStyleContext()
func (*StyleContext) STYLE_BODY ¶
func (s *StyleContext) STYLE_BODY() antlr.TerminalNode
func (*StyleContext) STYLE_OPEN ¶
func (s *StyleContext) STYLE_OPEN() antlr.TerminalNode
func (*StyleContext) STYLE_SHORT_BODY ¶
func (s *StyleContext) STYLE_SHORT_BODY() antlr.TerminalNode
func (*StyleContext) ToStringTree ¶
func (s *StyleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type XhtmlCDATAContext ¶
type XhtmlCDATAContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyXhtmlCDATAContext ¶
func NewEmptyXhtmlCDATAContext() *XhtmlCDATAContext
func NewXhtmlCDATAContext ¶
func NewXhtmlCDATAContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *XhtmlCDATAContext
func (*XhtmlCDATAContext) CDATA ¶
func (s *XhtmlCDATAContext) CDATA() antlr.TerminalNode
func (*XhtmlCDATAContext) EnterRule ¶
func (s *XhtmlCDATAContext) EnterRule(listener antlr.ParseTreeListener)
func (*XhtmlCDATAContext) ExitRule ¶
func (s *XhtmlCDATAContext) ExitRule(listener antlr.ParseTreeListener)
func (*XhtmlCDATAContext) GetParser ¶
func (s *XhtmlCDATAContext) GetParser() antlr.Parser
func (*XhtmlCDATAContext) GetRuleContext ¶
func (s *XhtmlCDATAContext) GetRuleContext() antlr.RuleContext
func (*XhtmlCDATAContext) IsXhtmlCDATAContext ¶
func (*XhtmlCDATAContext) IsXhtmlCDATAContext()
func (*XhtmlCDATAContext) ToStringTree ¶
func (s *XhtmlCDATAContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type XmlContext ¶
type XmlContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyXmlContext ¶
func NewEmptyXmlContext() *XmlContext
func NewXmlContext ¶
func NewXmlContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *XmlContext
func (*XmlContext) EnterRule ¶
func (s *XmlContext) EnterRule(listener antlr.ParseTreeListener)
func (*XmlContext) ExitRule ¶
func (s *XmlContext) ExitRule(listener antlr.ParseTreeListener)
func (*XmlContext) GetParser ¶
func (s *XmlContext) GetParser() antlr.Parser
func (*XmlContext) GetRuleContext ¶
func (s *XmlContext) GetRuleContext() antlr.RuleContext
func (*XmlContext) IsXmlContext ¶
func (*XmlContext) IsXmlContext()
func (*XmlContext) ToStringTree ¶
func (s *XmlContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*XmlContext) XML_DECLARATION ¶
func (s *XmlContext) XML_DECLARATION() antlr.TerminalNode