Documentation ¶
Overview ¶
Example ¶
package main import ( "bramp.net/antlr4/creole" "fmt" "github.com/antlr/antlr4/runtime/Go/antlr" ) type exampleListener struct { *creole.BasecreoleListener } func (l *exampleListener) EnterEveryRule(ctx antlr.ParserRuleContext) { fmt.Println(ctx.GetText()) } func main() { // Setup the input is := antlr.NewInputStream("...some text to parse...") // Create the Lexer lexer := creole.NewcreoleLexer(is) stream := antlr.NewCommonTokenStream(lexer, antlr.TokenDefaultChannel) // Create the Parser p := creole.NewcreoleParser(stream) p.BuildParseTrees = true p.AddErrorListener(antlr.NewDiagnosticErrorListener(true)) // Finally walk the tree tree := p.Document() antlr.ParseTreeWalkerDefault.Walk(&exampleListener{}, tree) }
Output:
Index ¶
- func NewcreoleLexer(input antlr.CharStream) *creoleLexer
- func NewcreoleParser(input antlr.TokenStream) *creoleParser
- type BasecreoleListener
- func (s *BasecreoleListener) EnterBold(ctx *BoldContext)
- func (s *BasecreoleListener) EnterDocument(ctx *DocumentContext)
- func (s *BasecreoleListener) EnterEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasecreoleListener) EnterHline(ctx *HlineContext)
- func (s *BasecreoleListener) EnterHref(ctx *HrefContext)
- func (s *BasecreoleListener) EnterImage(ctx *ImageContext)
- func (s *BasecreoleListener) EnterItalics(ctx *ItalicsContext)
- func (s *BasecreoleListener) EnterLine(ctx *LineContext)
- func (s *BasecreoleListener) EnterListitem(ctx *ListitemContext)
- func (s *BasecreoleListener) EnterMarkup(ctx *MarkupContext)
- func (s *BasecreoleListener) EnterNowiki(ctx *NowikiContext)
- func (s *BasecreoleListener) EnterTableheader(ctx *TableheaderContext)
- func (s *BasecreoleListener) EnterTablerow(ctx *TablerowContext)
- func (s *BasecreoleListener) EnterText(ctx *TextContext)
- func (s *BasecreoleListener) EnterTitle(ctx *TitleContext)
- func (s *BasecreoleListener) ExitBold(ctx *BoldContext)
- func (s *BasecreoleListener) ExitDocument(ctx *DocumentContext)
- func (s *BasecreoleListener) ExitEveryRule(ctx antlr.ParserRuleContext)
- func (s *BasecreoleListener) ExitHline(ctx *HlineContext)
- func (s *BasecreoleListener) ExitHref(ctx *HrefContext)
- func (s *BasecreoleListener) ExitImage(ctx *ImageContext)
- func (s *BasecreoleListener) ExitItalics(ctx *ItalicsContext)
- func (s *BasecreoleListener) ExitLine(ctx *LineContext)
- func (s *BasecreoleListener) ExitListitem(ctx *ListitemContext)
- func (s *BasecreoleListener) ExitMarkup(ctx *MarkupContext)
- func (s *BasecreoleListener) ExitNowiki(ctx *NowikiContext)
- func (s *BasecreoleListener) ExitTableheader(ctx *TableheaderContext)
- func (s *BasecreoleListener) ExitTablerow(ctx *TablerowContext)
- func (s *BasecreoleListener) ExitText(ctx *TextContext)
- func (s *BasecreoleListener) ExitTitle(ctx *TitleContext)
- func (s *BasecreoleListener) VisitErrorNode(node antlr.ErrorNode)
- func (s *BasecreoleListener) VisitTerminal(node antlr.TerminalNode)
- type BoldContext
- func (s *BoldContext) AllMarkup() []IMarkupContext
- func (s *BoldContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *BoldContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *BoldContext) GetParser() antlr.Parser
- func (s *BoldContext) GetRuleContext() antlr.RuleContext
- func (*BoldContext) IsBoldContext()
- func (s *BoldContext) Markup(i int) IMarkupContext
- func (s *BoldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type DocumentContext
- func (s *DocumentContext) AllCR() []antlr.TerminalNode
- func (s *DocumentContext) AllLine() []ILineContext
- func (s *DocumentContext) CR(i int) antlr.TerminalNode
- func (s *DocumentContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *DocumentContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *DocumentContext) GetParser() antlr.Parser
- func (s *DocumentContext) GetRuleContext() antlr.RuleContext
- func (*DocumentContext) IsDocumentContext()
- func (s *DocumentContext) Line(i int) ILineContext
- func (s *DocumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HlineContext
- func (s *HlineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HlineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HlineContext) GetParser() antlr.Parser
- func (s *HlineContext) GetRuleContext() antlr.RuleContext
- func (*HlineContext) IsHlineContext()
- func (s *HlineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type HrefContext
- func (s *HrefContext) AllMarkup() []IMarkupContext
- func (s *HrefContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *HrefContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *HrefContext) GetParser() antlr.Parser
- func (s *HrefContext) GetRuleContext() antlr.RuleContext
- func (*HrefContext) IsHrefContext()
- func (s *HrefContext) LBRACE() antlr.TerminalNode
- func (s *HrefContext) LBRACKET() antlr.TerminalNode
- func (s *HrefContext) Markup(i int) IMarkupContext
- func (s *HrefContext) RBRACE() antlr.TerminalNode
- func (s *HrefContext) RBRACKET() antlr.TerminalNode
- func (s *HrefContext) Text() ITextContext
- func (s *HrefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type IBoldContext
- type IDocumentContext
- type IHlineContext
- type IHrefContext
- type IImageContext
- type IItalicsContext
- type ILineContext
- type IListitemContext
- type IMarkupContext
- type INowikiContext
- type ITableheaderContext
- type ITablerowContext
- type ITextContext
- type ITitleContext
- type ImageContext
- func (s *ImageContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ImageContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ImageContext) GetParser() antlr.Parser
- func (s *ImageContext) GetRuleContext() antlr.RuleContext
- func (*ImageContext) IsImageContext()
- func (s *ImageContext) LBRACE() antlr.TerminalNode
- func (s *ImageContext) RBRACE() antlr.TerminalNode
- func (s *ImageContext) Text() ITextContext
- func (s *ImageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ItalicsContext
- func (s *ItalicsContext) AllMarkup() []IMarkupContext
- func (s *ItalicsContext) AllRSLASH() []antlr.TerminalNode
- func (s *ItalicsContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ItalicsContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ItalicsContext) GetParser() antlr.Parser
- func (s *ItalicsContext) GetRuleContext() antlr.RuleContext
- func (*ItalicsContext) IsItalicsContext()
- func (s *ItalicsContext) Markup(i int) IMarkupContext
- func (s *ItalicsContext) RSLASH(i int) antlr.TerminalNode
- func (s *ItalicsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type LineContext
- func (s *LineContext) AllMarkup() []IMarkupContext
- func (s *LineContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *LineContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *LineContext) GetParser() antlr.Parser
- func (s *LineContext) GetRuleContext() antlr.RuleContext
- func (*LineContext) IsLineContext()
- func (s *LineContext) Markup(i int) IMarkupContext
- func (s *LineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type ListitemContext
- func (s *ListitemContext) AllHASH() []antlr.TerminalNode
- func (s *ListitemContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *ListitemContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *ListitemContext) GetParser() antlr.Parser
- func (s *ListitemContext) GetRuleContext() antlr.RuleContext
- func (s *ListitemContext) HASH(i int) antlr.TerminalNode
- func (*ListitemContext) IsListitemContext()
- func (s *ListitemContext) Markup() IMarkupContext
- func (s *ListitemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type MarkupContext
- func (s *MarkupContext) Bold() IBoldContext
- func (s *MarkupContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *MarkupContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *MarkupContext) GetParser() antlr.Parser
- func (s *MarkupContext) GetRuleContext() antlr.RuleContext
- func (s *MarkupContext) Hline() IHlineContext
- func (s *MarkupContext) Href() IHrefContext
- func (s *MarkupContext) Image() IImageContext
- func (*MarkupContext) IsMarkupContext()
- func (s *MarkupContext) Italics() IItalicsContext
- func (s *MarkupContext) Listitem() IListitemContext
- func (s *MarkupContext) Nowiki() INowikiContext
- func (s *MarkupContext) Tableheader() ITableheaderContext
- func (s *MarkupContext) Tablerow() ITablerowContext
- func (s *MarkupContext) Text() ITextContext
- func (s *MarkupContext) Title() ITitleContext
- func (s *MarkupContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type NowikiContext
- func (s *NowikiContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *NowikiContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *NowikiContext) GetParser() antlr.Parser
- func (s *NowikiContext) GetRuleContext() antlr.RuleContext
- func (*NowikiContext) IsNowikiContext()
- func (s *NowikiContext) NOWIKI() antlr.TerminalNode
- func (s *NowikiContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TableheaderContext
- func (s *TableheaderContext) AllMarkup() []IMarkupContext
- func (s *TableheaderContext) AllWS() []antlr.TerminalNode
- func (s *TableheaderContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TableheaderContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TableheaderContext) GetParser() antlr.Parser
- func (s *TableheaderContext) GetRuleContext() antlr.RuleContext
- func (*TableheaderContext) IsTableheaderContext()
- func (s *TableheaderContext) Markup(i int) IMarkupContext
- func (s *TableheaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TableheaderContext) WS(i int) antlr.TerminalNode
- type TablerowContext
- func (s *TablerowContext) AllMarkup() []IMarkupContext
- func (s *TablerowContext) AllWS() []antlr.TerminalNode
- func (s *TablerowContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TablerowContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TablerowContext) GetParser() antlr.Parser
- func (s *TablerowContext) GetRuleContext() antlr.RuleContext
- func (*TablerowContext) IsTablerowContext()
- func (s *TablerowContext) Markup(i int) IMarkupContext
- func (s *TablerowContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- func (s *TablerowContext) WS(i int) antlr.TerminalNode
- type TextContext
- func (s *TextContext) AllRSLASH() []antlr.TerminalNode
- func (s *TextContext) AllTEXT() []antlr.TerminalNode
- func (s *TextContext) AllText() []ITextContext
- func (s *TextContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TextContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TextContext) GetParser() antlr.Parser
- func (s *TextContext) GetRuleContext() antlr.RuleContext
- func (*TextContext) IsTextContext()
- func (s *TextContext) RSLASH(i int) antlr.TerminalNode
- func (s *TextContext) TEXT(i int) antlr.TerminalNode
- func (s *TextContext) Text(i int) ITextContext
- func (s *TextContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
- type TitleContext
- func (s *TitleContext) EnterRule(listener antlr.ParseTreeListener)
- func (s *TitleContext) ExitRule(listener antlr.ParseTreeListener)
- func (s *TitleContext) GetParser() antlr.Parser
- func (s *TitleContext) GetRuleContext() antlr.RuleContext
- func (*TitleContext) IsTitleContext()
- func (s *TitleContext) Markup() IMarkupContext
- func (s *TitleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewcreoleLexer ¶
func NewcreoleLexer(input antlr.CharStream) *creoleLexer
func NewcreoleParser ¶
func NewcreoleParser(input antlr.TokenStream) *creoleParser
Types ¶
type BasecreoleListener ¶
type BasecreoleListener struct{}
BasecreoleListener is a complete listener for a parse tree produced by creoleParser.
func (*BasecreoleListener) EnterBold ¶
func (s *BasecreoleListener) EnterBold(ctx *BoldContext)
EnterBold is called when production bold is entered.
func (*BasecreoleListener) EnterDocument ¶
func (s *BasecreoleListener) EnterDocument(ctx *DocumentContext)
EnterDocument is called when production document is entered.
func (*BasecreoleListener) EnterEveryRule ¶
func (s *BasecreoleListener) EnterEveryRule(ctx antlr.ParserRuleContext)
EnterEveryRule is called when any rule is entered.
func (*BasecreoleListener) EnterHline ¶
func (s *BasecreoleListener) EnterHline(ctx *HlineContext)
EnterHline is called when production hline is entered.
func (*BasecreoleListener) EnterHref ¶
func (s *BasecreoleListener) EnterHref(ctx *HrefContext)
EnterHref is called when production href is entered.
func (*BasecreoleListener) EnterImage ¶
func (s *BasecreoleListener) EnterImage(ctx *ImageContext)
EnterImage is called when production image is entered.
func (*BasecreoleListener) EnterItalics ¶
func (s *BasecreoleListener) EnterItalics(ctx *ItalicsContext)
EnterItalics is called when production italics is entered.
func (*BasecreoleListener) EnterLine ¶
func (s *BasecreoleListener) EnterLine(ctx *LineContext)
EnterLine is called when production line is entered.
func (*BasecreoleListener) EnterListitem ¶
func (s *BasecreoleListener) EnterListitem(ctx *ListitemContext)
EnterListitem is called when production listitem is entered.
func (*BasecreoleListener) EnterMarkup ¶
func (s *BasecreoleListener) EnterMarkup(ctx *MarkupContext)
EnterMarkup is called when production markup is entered.
func (*BasecreoleListener) EnterNowiki ¶
func (s *BasecreoleListener) EnterNowiki(ctx *NowikiContext)
EnterNowiki is called when production nowiki is entered.
func (*BasecreoleListener) EnterTableheader ¶
func (s *BasecreoleListener) EnterTableheader(ctx *TableheaderContext)
EnterTableheader is called when production tableheader is entered.
func (*BasecreoleListener) EnterTablerow ¶
func (s *BasecreoleListener) EnterTablerow(ctx *TablerowContext)
EnterTablerow is called when production tablerow is entered.
func (*BasecreoleListener) EnterText ¶
func (s *BasecreoleListener) EnterText(ctx *TextContext)
EnterText is called when production text is entered.
func (*BasecreoleListener) EnterTitle ¶
func (s *BasecreoleListener) EnterTitle(ctx *TitleContext)
EnterTitle is called when production title is entered.
func (*BasecreoleListener) ExitBold ¶
func (s *BasecreoleListener) ExitBold(ctx *BoldContext)
ExitBold is called when production bold is exited.
func (*BasecreoleListener) ExitDocument ¶
func (s *BasecreoleListener) ExitDocument(ctx *DocumentContext)
ExitDocument is called when production document is exited.
func (*BasecreoleListener) ExitEveryRule ¶
func (s *BasecreoleListener) ExitEveryRule(ctx antlr.ParserRuleContext)
ExitEveryRule is called when any rule is exited.
func (*BasecreoleListener) ExitHline ¶
func (s *BasecreoleListener) ExitHline(ctx *HlineContext)
ExitHline is called when production hline is exited.
func (*BasecreoleListener) ExitHref ¶
func (s *BasecreoleListener) ExitHref(ctx *HrefContext)
ExitHref is called when production href is exited.
func (*BasecreoleListener) ExitImage ¶
func (s *BasecreoleListener) ExitImage(ctx *ImageContext)
ExitImage is called when production image is exited.
func (*BasecreoleListener) ExitItalics ¶
func (s *BasecreoleListener) ExitItalics(ctx *ItalicsContext)
ExitItalics is called when production italics is exited.
func (*BasecreoleListener) ExitLine ¶
func (s *BasecreoleListener) ExitLine(ctx *LineContext)
ExitLine is called when production line is exited.
func (*BasecreoleListener) ExitListitem ¶
func (s *BasecreoleListener) ExitListitem(ctx *ListitemContext)
ExitListitem is called when production listitem is exited.
func (*BasecreoleListener) ExitMarkup ¶
func (s *BasecreoleListener) ExitMarkup(ctx *MarkupContext)
ExitMarkup is called when production markup is exited.
func (*BasecreoleListener) ExitNowiki ¶
func (s *BasecreoleListener) ExitNowiki(ctx *NowikiContext)
ExitNowiki is called when production nowiki is exited.
func (*BasecreoleListener) ExitTableheader ¶
func (s *BasecreoleListener) ExitTableheader(ctx *TableheaderContext)
ExitTableheader is called when production tableheader is exited.
func (*BasecreoleListener) ExitTablerow ¶
func (s *BasecreoleListener) ExitTablerow(ctx *TablerowContext)
ExitTablerow is called when production tablerow is exited.
func (*BasecreoleListener) ExitText ¶
func (s *BasecreoleListener) ExitText(ctx *TextContext)
ExitText is called when production text is exited.
func (*BasecreoleListener) ExitTitle ¶
func (s *BasecreoleListener) ExitTitle(ctx *TitleContext)
ExitTitle is called when production title is exited.
func (*BasecreoleListener) VisitErrorNode ¶
func (s *BasecreoleListener) VisitErrorNode(node antlr.ErrorNode)
VisitErrorNode is called when an error node is visited.
func (*BasecreoleListener) VisitTerminal ¶
func (s *BasecreoleListener) VisitTerminal(node antlr.TerminalNode)
VisitTerminal is called when a terminal node is visited.
type BoldContext ¶
type BoldContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewBoldContext ¶
func NewBoldContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *BoldContext
func NewEmptyBoldContext ¶
func NewEmptyBoldContext() *BoldContext
func (*BoldContext) AllMarkup ¶
func (s *BoldContext) AllMarkup() []IMarkupContext
func (*BoldContext) EnterRule ¶
func (s *BoldContext) EnterRule(listener antlr.ParseTreeListener)
func (*BoldContext) ExitRule ¶
func (s *BoldContext) ExitRule(listener antlr.ParseTreeListener)
func (*BoldContext) GetParser ¶
func (s *BoldContext) GetParser() antlr.Parser
func (*BoldContext) GetRuleContext ¶
func (s *BoldContext) GetRuleContext() antlr.RuleContext
func (*BoldContext) IsBoldContext ¶
func (*BoldContext) IsBoldContext()
func (*BoldContext) Markup ¶
func (s *BoldContext) Markup(i int) IMarkupContext
func (*BoldContext) ToStringTree ¶
func (s *BoldContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type DocumentContext ¶
type DocumentContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewDocumentContext ¶
func NewDocumentContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *DocumentContext
func NewEmptyDocumentContext ¶
func NewEmptyDocumentContext() *DocumentContext
func (*DocumentContext) AllCR ¶
func (s *DocumentContext) AllCR() []antlr.TerminalNode
func (*DocumentContext) AllLine ¶
func (s *DocumentContext) AllLine() []ILineContext
func (*DocumentContext) CR ¶
func (s *DocumentContext) CR(i int) antlr.TerminalNode
func (*DocumentContext) EnterRule ¶
func (s *DocumentContext) EnterRule(listener antlr.ParseTreeListener)
func (*DocumentContext) ExitRule ¶
func (s *DocumentContext) ExitRule(listener antlr.ParseTreeListener)
func (*DocumentContext) GetParser ¶
func (s *DocumentContext) GetParser() antlr.Parser
func (*DocumentContext) GetRuleContext ¶
func (s *DocumentContext) GetRuleContext() antlr.RuleContext
func (*DocumentContext) IsDocumentContext ¶
func (*DocumentContext) IsDocumentContext()
func (*DocumentContext) Line ¶
func (s *DocumentContext) Line(i int) ILineContext
func (*DocumentContext) ToStringTree ¶
func (s *DocumentContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HlineContext ¶
type HlineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHlineContext ¶
func NewEmptyHlineContext() *HlineContext
func NewHlineContext ¶
func NewHlineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HlineContext
func (*HlineContext) EnterRule ¶
func (s *HlineContext) EnterRule(listener antlr.ParseTreeListener)
func (*HlineContext) ExitRule ¶
func (s *HlineContext) ExitRule(listener antlr.ParseTreeListener)
func (*HlineContext) GetParser ¶
func (s *HlineContext) GetParser() antlr.Parser
func (*HlineContext) GetRuleContext ¶
func (s *HlineContext) GetRuleContext() antlr.RuleContext
func (*HlineContext) IsHlineContext ¶
func (*HlineContext) IsHlineContext()
func (*HlineContext) ToStringTree ¶
func (s *HlineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type HrefContext ¶
type HrefContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyHrefContext ¶
func NewEmptyHrefContext() *HrefContext
func NewHrefContext ¶
func NewHrefContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *HrefContext
func (*HrefContext) AllMarkup ¶
func (s *HrefContext) AllMarkup() []IMarkupContext
func (*HrefContext) EnterRule ¶
func (s *HrefContext) EnterRule(listener antlr.ParseTreeListener)
func (*HrefContext) ExitRule ¶
func (s *HrefContext) ExitRule(listener antlr.ParseTreeListener)
func (*HrefContext) GetParser ¶
func (s *HrefContext) GetParser() antlr.Parser
func (*HrefContext) GetRuleContext ¶
func (s *HrefContext) GetRuleContext() antlr.RuleContext
func (*HrefContext) IsHrefContext ¶
func (*HrefContext) IsHrefContext()
func (*HrefContext) LBRACE ¶
func (s *HrefContext) LBRACE() antlr.TerminalNode
func (*HrefContext) LBRACKET ¶
func (s *HrefContext) LBRACKET() antlr.TerminalNode
func (*HrefContext) Markup ¶
func (s *HrefContext) Markup(i int) IMarkupContext
func (*HrefContext) RBRACE ¶
func (s *HrefContext) RBRACE() antlr.TerminalNode
func (*HrefContext) RBRACKET ¶
func (s *HrefContext) RBRACKET() antlr.TerminalNode
func (*HrefContext) Text ¶
func (s *HrefContext) Text() ITextContext
func (*HrefContext) ToStringTree ¶
func (s *HrefContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type IBoldContext ¶
type IBoldContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsBoldContext differentiates from other interfaces. IsBoldContext() }
IBoldContext is an interface to support dynamic dispatch.
type IDocumentContext ¶
type IDocumentContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsDocumentContext differentiates from other interfaces. IsDocumentContext() }
IDocumentContext is an interface to support dynamic dispatch.
type IHlineContext ¶
type IHlineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHlineContext differentiates from other interfaces. IsHlineContext() }
IHlineContext is an interface to support dynamic dispatch.
type IHrefContext ¶
type IHrefContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsHrefContext differentiates from other interfaces. IsHrefContext() }
IHrefContext is an interface to support dynamic dispatch.
type IImageContext ¶
type IImageContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsImageContext differentiates from other interfaces. IsImageContext() }
IImageContext is an interface to support dynamic dispatch.
type IItalicsContext ¶
type IItalicsContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsItalicsContext differentiates from other interfaces. IsItalicsContext() }
IItalicsContext is an interface to support dynamic dispatch.
type ILineContext ¶
type ILineContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsLineContext differentiates from other interfaces. IsLineContext() }
ILineContext is an interface to support dynamic dispatch.
type IListitemContext ¶
type IListitemContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsListitemContext differentiates from other interfaces. IsListitemContext() }
IListitemContext is an interface to support dynamic dispatch.
type IMarkupContext ¶
type IMarkupContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsMarkupContext differentiates from other interfaces. IsMarkupContext() }
IMarkupContext is an interface to support dynamic dispatch.
type INowikiContext ¶
type INowikiContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsNowikiContext differentiates from other interfaces. IsNowikiContext() }
INowikiContext is an interface to support dynamic dispatch.
type ITableheaderContext ¶
type ITableheaderContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTableheaderContext differentiates from other interfaces. IsTableheaderContext() }
ITableheaderContext is an interface to support dynamic dispatch.
type ITablerowContext ¶
type ITablerowContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTablerowContext differentiates from other interfaces. IsTablerowContext() }
ITablerowContext is an interface to support dynamic dispatch.
type ITextContext ¶
type ITextContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTextContext differentiates from other interfaces. IsTextContext() }
ITextContext is an interface to support dynamic dispatch.
type ITitleContext ¶
type ITitleContext interface { antlr.ParserRuleContext // GetParser returns the parser. GetParser() antlr.Parser // IsTitleContext differentiates from other interfaces. IsTitleContext() }
ITitleContext is an interface to support dynamic dispatch.
type ImageContext ¶
type ImageContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyImageContext ¶
func NewEmptyImageContext() *ImageContext
func NewImageContext ¶
func NewImageContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ImageContext
func (*ImageContext) EnterRule ¶
func (s *ImageContext) EnterRule(listener antlr.ParseTreeListener)
func (*ImageContext) ExitRule ¶
func (s *ImageContext) ExitRule(listener antlr.ParseTreeListener)
func (*ImageContext) GetParser ¶
func (s *ImageContext) GetParser() antlr.Parser
func (*ImageContext) GetRuleContext ¶
func (s *ImageContext) GetRuleContext() antlr.RuleContext
func (*ImageContext) IsImageContext ¶
func (*ImageContext) IsImageContext()
func (*ImageContext) LBRACE ¶
func (s *ImageContext) LBRACE() antlr.TerminalNode
func (*ImageContext) RBRACE ¶
func (s *ImageContext) RBRACE() antlr.TerminalNode
func (*ImageContext) Text ¶
func (s *ImageContext) Text() ITextContext
func (*ImageContext) ToStringTree ¶
func (s *ImageContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ItalicsContext ¶
type ItalicsContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyItalicsContext ¶
func NewEmptyItalicsContext() *ItalicsContext
func NewItalicsContext ¶
func NewItalicsContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ItalicsContext
func (*ItalicsContext) AllMarkup ¶
func (s *ItalicsContext) AllMarkup() []IMarkupContext
func (*ItalicsContext) AllRSLASH ¶
func (s *ItalicsContext) AllRSLASH() []antlr.TerminalNode
func (*ItalicsContext) EnterRule ¶
func (s *ItalicsContext) EnterRule(listener antlr.ParseTreeListener)
func (*ItalicsContext) ExitRule ¶
func (s *ItalicsContext) ExitRule(listener antlr.ParseTreeListener)
func (*ItalicsContext) GetParser ¶
func (s *ItalicsContext) GetParser() antlr.Parser
func (*ItalicsContext) GetRuleContext ¶
func (s *ItalicsContext) GetRuleContext() antlr.RuleContext
func (*ItalicsContext) IsItalicsContext ¶
func (*ItalicsContext) IsItalicsContext()
func (*ItalicsContext) Markup ¶
func (s *ItalicsContext) Markup(i int) IMarkupContext
func (*ItalicsContext) RSLASH ¶
func (s *ItalicsContext) RSLASH(i int) antlr.TerminalNode
func (*ItalicsContext) ToStringTree ¶
func (s *ItalicsContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type LineContext ¶
type LineContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyLineContext ¶
func NewEmptyLineContext() *LineContext
func NewLineContext ¶
func NewLineContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *LineContext
func (*LineContext) AllMarkup ¶
func (s *LineContext) AllMarkup() []IMarkupContext
func (*LineContext) EnterRule ¶
func (s *LineContext) EnterRule(listener antlr.ParseTreeListener)
func (*LineContext) ExitRule ¶
func (s *LineContext) ExitRule(listener antlr.ParseTreeListener)
func (*LineContext) GetParser ¶
func (s *LineContext) GetParser() antlr.Parser
func (*LineContext) GetRuleContext ¶
func (s *LineContext) GetRuleContext() antlr.RuleContext
func (*LineContext) IsLineContext ¶
func (*LineContext) IsLineContext()
func (*LineContext) Markup ¶
func (s *LineContext) Markup(i int) IMarkupContext
func (*LineContext) ToStringTree ¶
func (s *LineContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type ListitemContext ¶
type ListitemContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyListitemContext ¶
func NewEmptyListitemContext() *ListitemContext
func NewListitemContext ¶
func NewListitemContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *ListitemContext
func (*ListitemContext) AllHASH ¶
func (s *ListitemContext) AllHASH() []antlr.TerminalNode
func (*ListitemContext) EnterRule ¶
func (s *ListitemContext) EnterRule(listener antlr.ParseTreeListener)
func (*ListitemContext) ExitRule ¶
func (s *ListitemContext) ExitRule(listener antlr.ParseTreeListener)
func (*ListitemContext) GetParser ¶
func (s *ListitemContext) GetParser() antlr.Parser
func (*ListitemContext) GetRuleContext ¶
func (s *ListitemContext) GetRuleContext() antlr.RuleContext
func (*ListitemContext) HASH ¶
func (s *ListitemContext) HASH(i int) antlr.TerminalNode
func (*ListitemContext) IsListitemContext ¶
func (*ListitemContext) IsListitemContext()
func (*ListitemContext) Markup ¶
func (s *ListitemContext) Markup() IMarkupContext
func (*ListitemContext) ToStringTree ¶
func (s *ListitemContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type MarkupContext ¶
type MarkupContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyMarkupContext ¶
func NewEmptyMarkupContext() *MarkupContext
func NewMarkupContext ¶
func NewMarkupContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *MarkupContext
func (*MarkupContext) Bold ¶
func (s *MarkupContext) Bold() IBoldContext
func (*MarkupContext) EnterRule ¶
func (s *MarkupContext) EnterRule(listener antlr.ParseTreeListener)
func (*MarkupContext) ExitRule ¶
func (s *MarkupContext) ExitRule(listener antlr.ParseTreeListener)
func (*MarkupContext) GetParser ¶
func (s *MarkupContext) GetParser() antlr.Parser
func (*MarkupContext) GetRuleContext ¶
func (s *MarkupContext) GetRuleContext() antlr.RuleContext
func (*MarkupContext) Hline ¶
func (s *MarkupContext) Hline() IHlineContext
func (*MarkupContext) Href ¶
func (s *MarkupContext) Href() IHrefContext
func (*MarkupContext) Image ¶
func (s *MarkupContext) Image() IImageContext
func (*MarkupContext) IsMarkupContext ¶
func (*MarkupContext) IsMarkupContext()
func (*MarkupContext) Italics ¶
func (s *MarkupContext) Italics() IItalicsContext
func (*MarkupContext) Listitem ¶
func (s *MarkupContext) Listitem() IListitemContext
func (*MarkupContext) Nowiki ¶
func (s *MarkupContext) Nowiki() INowikiContext
func (*MarkupContext) Tableheader ¶
func (s *MarkupContext) Tableheader() ITableheaderContext
func (*MarkupContext) Tablerow ¶
func (s *MarkupContext) Tablerow() ITablerowContext
func (*MarkupContext) Text ¶
func (s *MarkupContext) Text() ITextContext
func (*MarkupContext) Title ¶
func (s *MarkupContext) Title() ITitleContext
func (*MarkupContext) ToStringTree ¶
func (s *MarkupContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type NowikiContext ¶
type NowikiContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyNowikiContext ¶
func NewEmptyNowikiContext() *NowikiContext
func NewNowikiContext ¶
func NewNowikiContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *NowikiContext
func (*NowikiContext) EnterRule ¶
func (s *NowikiContext) EnterRule(listener antlr.ParseTreeListener)
func (*NowikiContext) ExitRule ¶
func (s *NowikiContext) ExitRule(listener antlr.ParseTreeListener)
func (*NowikiContext) GetParser ¶
func (s *NowikiContext) GetParser() antlr.Parser
func (*NowikiContext) GetRuleContext ¶
func (s *NowikiContext) GetRuleContext() antlr.RuleContext
func (*NowikiContext) IsNowikiContext ¶
func (*NowikiContext) IsNowikiContext()
func (*NowikiContext) NOWIKI ¶
func (s *NowikiContext) NOWIKI() antlr.TerminalNode
func (*NowikiContext) ToStringTree ¶
func (s *NowikiContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TableheaderContext ¶
type TableheaderContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTableheaderContext ¶
func NewEmptyTableheaderContext() *TableheaderContext
func NewTableheaderContext ¶
func NewTableheaderContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TableheaderContext
func (*TableheaderContext) AllMarkup ¶
func (s *TableheaderContext) AllMarkup() []IMarkupContext
func (*TableheaderContext) AllWS ¶
func (s *TableheaderContext) AllWS() []antlr.TerminalNode
func (*TableheaderContext) EnterRule ¶
func (s *TableheaderContext) EnterRule(listener antlr.ParseTreeListener)
func (*TableheaderContext) ExitRule ¶
func (s *TableheaderContext) ExitRule(listener antlr.ParseTreeListener)
func (*TableheaderContext) GetParser ¶
func (s *TableheaderContext) GetParser() antlr.Parser
func (*TableheaderContext) GetRuleContext ¶
func (s *TableheaderContext) GetRuleContext() antlr.RuleContext
func (*TableheaderContext) IsTableheaderContext ¶
func (*TableheaderContext) IsTableheaderContext()
func (*TableheaderContext) Markup ¶
func (s *TableheaderContext) Markup(i int) IMarkupContext
func (*TableheaderContext) ToStringTree ¶
func (s *TableheaderContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TableheaderContext) WS ¶
func (s *TableheaderContext) WS(i int) antlr.TerminalNode
type TablerowContext ¶
type TablerowContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTablerowContext ¶
func NewEmptyTablerowContext() *TablerowContext
func NewTablerowContext ¶
func NewTablerowContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TablerowContext
func (*TablerowContext) AllMarkup ¶
func (s *TablerowContext) AllMarkup() []IMarkupContext
func (*TablerowContext) AllWS ¶
func (s *TablerowContext) AllWS() []antlr.TerminalNode
func (*TablerowContext) EnterRule ¶
func (s *TablerowContext) EnterRule(listener antlr.ParseTreeListener)
func (*TablerowContext) ExitRule ¶
func (s *TablerowContext) ExitRule(listener antlr.ParseTreeListener)
func (*TablerowContext) GetParser ¶
func (s *TablerowContext) GetParser() antlr.Parser
func (*TablerowContext) GetRuleContext ¶
func (s *TablerowContext) GetRuleContext() antlr.RuleContext
func (*TablerowContext) IsTablerowContext ¶
func (*TablerowContext) IsTablerowContext()
func (*TablerowContext) Markup ¶
func (s *TablerowContext) Markup(i int) IMarkupContext
func (*TablerowContext) ToStringTree ¶
func (s *TablerowContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
func (*TablerowContext) WS ¶
func (s *TablerowContext) WS(i int) antlr.TerminalNode
type TextContext ¶
type TextContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTextContext ¶
func NewEmptyTextContext() *TextContext
func NewTextContext ¶
func NewTextContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TextContext
func (*TextContext) AllRSLASH ¶
func (s *TextContext) AllRSLASH() []antlr.TerminalNode
func (*TextContext) AllTEXT ¶
func (s *TextContext) AllTEXT() []antlr.TerminalNode
func (*TextContext) AllText ¶
func (s *TextContext) AllText() []ITextContext
func (*TextContext) EnterRule ¶
func (s *TextContext) EnterRule(listener antlr.ParseTreeListener)
func (*TextContext) ExitRule ¶
func (s *TextContext) ExitRule(listener antlr.ParseTreeListener)
func (*TextContext) GetParser ¶
func (s *TextContext) GetParser() antlr.Parser
func (*TextContext) GetRuleContext ¶
func (s *TextContext) GetRuleContext() antlr.RuleContext
func (*TextContext) IsTextContext ¶
func (*TextContext) IsTextContext()
func (*TextContext) RSLASH ¶
func (s *TextContext) RSLASH(i int) antlr.TerminalNode
func (*TextContext) TEXT ¶
func (s *TextContext) TEXT(i int) antlr.TerminalNode
func (*TextContext) Text ¶
func (s *TextContext) Text(i int) ITextContext
func (*TextContext) ToStringTree ¶
func (s *TextContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string
type TitleContext ¶
type TitleContext struct { *antlr.BaseParserRuleContext // contains filtered or unexported fields }
func NewEmptyTitleContext ¶
func NewEmptyTitleContext() *TitleContext
func NewTitleContext ¶
func NewTitleContext(parser antlr.Parser, parent antlr.ParserRuleContext, invokingState int) *TitleContext
func (*TitleContext) EnterRule ¶
func (s *TitleContext) EnterRule(listener antlr.ParseTreeListener)
func (*TitleContext) ExitRule ¶
func (s *TitleContext) ExitRule(listener antlr.ParseTreeListener)
func (*TitleContext) GetParser ¶
func (s *TitleContext) GetParser() antlr.Parser
func (*TitleContext) GetRuleContext ¶
func (s *TitleContext) GetRuleContext() antlr.RuleContext
func (*TitleContext) IsTitleContext ¶
func (*TitleContext) IsTitleContext()
func (*TitleContext) Markup ¶
func (s *TitleContext) Markup() IMarkupContext
func (*TitleContext) ToStringTree ¶
func (s *TitleContext) ToStringTree(ruleNames []string, recog antlr.Recognizer) string