Documentation
¶
Overview ¶
Package parser implements parsing of KeyValue values in text format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TextParser ¶
type TextParser struct {
// contains filtered or unexported fields
}
TextParser is a parser for KeyValue in text format.
func NewTextParser ¶
func NewTextParser(fname string, r io.Reader) *TextParser
NewTextParser creates a TextParser.
func (*TextParser) Parse ¶
func (p *TextParser) Parse() (*Node, error)
Parse reads parses the text-encoded KeyValue values from the input stream, generating an AST tree.
Click to show internal directories.
Click to hide internal directories.