Documentation
¶
Overview ¶
Package parser implements the stateful block parser used by the public asciidoc package facade.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
Parser coordinates the line lexer and construction-specific parsers. A Parser consumes its reader and is intended for one call to Parse.
type Result ¶
type Result struct {
Document *ast.Document
Diagnostics []diagnostic.Diagnostic
}
Result contains the partial or complete AST and every diagnostic produced while parsing. Document is always non-nil.
Source Files
¶
- doc.go
- parse_admonition.go
- parse_attached_block.go
- parse_attribute_entry.go
- parse_block_macro.go
- parse_break.go
- parse_delimited_block.go
- parse_description_list.go
- parse_document.go
- parse_heading.go
- parse_inline.go
- parse_inline_formatting.go
- parse_inline_macro.go
- parse_inline_source.go
- parse_list.go
- parse_metadata.go
- parse_paragraph.go
- parse_section.go
- parse_table.go
- parse_text.go
- parser.go
- result.go
Click to show internal directories.
Click to hide internal directories.