Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockNode ¶
type BlockNode struct {
Entries []*EntryNode
// contains filtered or unexported fields
}
type DocumentNode ¶
type DocumentNode struct {
Entries []*EntryNode
}
type InlineNode ¶
func (*InlineNode) Kind ¶
func (t *InlineNode) Kind() KindNode
func (*InlineNode) Position ¶
func (t *InlineNode) Position() diag.Position
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func New ¶
func New(source TokenSource) *Parser
func (*Parser) Parse ¶
func (p *Parser) Parse() (*DocumentNode, error)
type TokenSource ¶
Click to show internal directories.
Click to hide internal directories.