Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockParser ¶
type BlockParser interface { Identifiers() []valueobject2.Identifier Kind() valueobject2.Kind Parse(l Line) (ParseResult, error) }
func NewHeading ¶
func NewHeading() BlockParser
func NewParagraph ¶
func NewParagraph() BlockParser
func NewRoot ¶
func NewRoot() BlockParser
type ParseResult ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) Find ¶
func (p *Parser) Find(firstChar rune) BlockParser
type ParserCollection ¶
type ParserCollection struct { BlockParsers []BlockParser InlineParsers []BlockParser ParserMap map[valueobject.Identifier]BlockParser }
func (*ParserCollection) InitParserMap ¶
func (m *ParserCollection) InitParserMap()
Click to show internal directories.
Click to hide internal directories.