Documentation
¶
Index ¶
- func Parse(tokens []*tokenizer.Token) ([]ast.Node, error)
- func ParseBlock(tokens []*tokenizer.Token) ([]ast.Node, error)
- func ParseBlockWithParsers(tokens []*tokenizer.Token, blockParsers []BlockParser) ([]ast.Node, error)
- func ParseInline(tokens []*tokenizer.Token) ([]ast.Node, error)
- func ParseInlineWithParsers(tokens []*tokenizer.Token, inlineParsers []InlineParser) ([]ast.Node, error)
- type AutoLinkParser
- type BaseParser
- type BlockParser
- type BlockquoteParser
- type BoldItalicParser
- type BoldParser
- type CodeBlockParser
- type CodeParser
- type Context
- type EscapingCharacterParser
- type HeadingParser
- type HighlightParser
- type HorizontalRuleParser
- type ImageParser
- type InlineParser
- type ItalicParser
- type LineBreakParser
- type LinkParser
- type MathBlockParser
- type MathParser
- type OrderedListParser
- type ParagraphParser
- type StrikethroughParser
- type TableParser
- type TagParser
- type TaskListParser
- type TextParser
- type UnorderedListParser
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseBlockWithParsers ¶ added in v0.18.2
func ParseInlineWithParsers ¶ added in v0.18.2
Types ¶
type AutoLinkParser ¶ added in v0.18.2
type AutoLinkParser struct{}
func NewAutoLinkParser ¶ added in v0.18.2
func NewAutoLinkParser() *AutoLinkParser
type BaseParser ¶ added in v0.18.1
type BlockParser ¶ added in v0.18.1
type BlockParser interface {
BaseParser
}
type BlockquoteParser ¶ added in v0.18.1
type BlockquoteParser struct{}
func NewBlockquoteParser ¶ added in v0.18.1
func NewBlockquoteParser() *BlockquoteParser
type BoldItalicParser ¶ added in v0.18.1
type BoldItalicParser struct{}
type BoldParser ¶ added in v0.13.1
type BoldParser struct{}
type CodeBlockParser ¶ added in v0.13.1
func NewCodeBlockParser ¶ added in v0.13.1
func NewCodeBlockParser() *CodeBlockParser
type CodeParser ¶ added in v0.13.1
type CodeParser struct{}
func NewCodeParser ¶ added in v0.13.1
func NewCodeParser() *CodeParser
type Context ¶ added in v0.18.1
type Context struct {
BlockParsers []BlockParser
InlineParsers []InlineParser
}
type EscapingCharacterParser ¶ added in v0.18.2
type EscapingCharacterParser struct{}
func NewEscapingCharacterParser ¶ added in v0.18.2
func NewEscapingCharacterParser() *EscapingCharacterParser
type HeadingParser ¶ added in v0.13.1
type HeadingParser struct{}
func NewHeadingParser ¶ added in v0.13.1
func NewHeadingParser() *HeadingParser
type HighlightParser ¶ added in v0.18.2
type HighlightParser struct{}
type HorizontalRuleParser ¶ added in v0.18.1
type HorizontalRuleParser struct{}
func NewHorizontalRuleParser ¶ added in v0.18.1
func NewHorizontalRuleParser() *HorizontalRuleParser
type ImageParser ¶ added in v0.13.1
type ImageParser struct{}
func NewImageParser ¶ added in v0.13.1
func NewImageParser() *ImageParser
type InlineParser ¶ added in v0.18.1
type InlineParser interface {
BaseParser
}
func NewBoldItalicParser ¶ added in v0.18.1
func NewBoldItalicParser() InlineParser
func NewBoldParser ¶ added in v0.13.1
func NewBoldParser() InlineParser
func NewHighlightParser ¶ added in v0.18.2
func NewHighlightParser() InlineParser
type ItalicParser ¶ added in v0.13.1
func NewItalicParser ¶ added in v0.13.1
func NewItalicParser() *ItalicParser
type LineBreakParser ¶ added in v0.18.1
type LineBreakParser struct{}
func NewLineBreakParser ¶ added in v0.18.1
func NewLineBreakParser() *LineBreakParser
type LinkParser ¶ added in v0.13.1
type LinkParser struct{}
func NewLinkParser ¶ added in v0.13.1
func NewLinkParser() *LinkParser
type MathBlockParser ¶ added in v0.18.2
type MathBlockParser struct{}
func NewMathBlockParser ¶ added in v0.18.2
func NewMathBlockParser() *MathBlockParser
type MathParser ¶ added in v0.18.2
type MathParser struct{}
func NewMathParser ¶ added in v0.18.2
func NewMathParser() *MathParser
type OrderedListParser ¶ added in v0.18.2
type OrderedListParser struct{}
func NewOrderedListParser ¶ added in v0.18.2
func NewOrderedListParser() *OrderedListParser
type ParagraphParser ¶ added in v0.13.1
func NewParagraphParser ¶ added in v0.13.1
func NewParagraphParser() *ParagraphParser
type StrikethroughParser ¶ added in v0.18.1
type StrikethroughParser struct{}
func NewStrikethroughParser ¶ added in v0.18.1
func NewStrikethroughParser() *StrikethroughParser
type TableParser ¶ added in v0.18.2
type TableParser struct{}
func NewTableParser ¶ added in v0.18.2
func NewTableParser() *TableParser
type TagParser ¶ added in v0.13.1
type TagParser struct{}
func NewTagParser ¶ added in v0.13.1
func NewTagParser() *TagParser
type TaskListParser ¶ added in v0.18.2
type TaskListParser struct{}
func NewTaskListParser ¶ added in v0.18.2
func NewTaskListParser() *TaskListParser
type TextParser ¶ added in v0.18.1
type TextParser struct {
Content string
}
func NewTextParser ¶ added in v0.18.1
func NewTextParser() *TextParser
type UnorderedListParser ¶ added in v0.18.2
type UnorderedListParser struct{}
func NewUnorderedListParser ¶ added in v0.18.2
func NewUnorderedListParser() *UnorderedListParser
Source Files
¶
Click to show internal directories.
Click to hide internal directories.