Documentation ¶ Index ¶ Constants type Parser func NewParser(rd io.Reader) *Parser func (p *Parser) AllQuote(l *lexer.L) (fn lexer.StateFunc) func (p *Parser) Err() error func (p *Parser) GetLine(l *lexer.L) (fn lexer.StateFunc) func (p *Parser) Scan() bool func (p *Parser) Text() (line string) Constants ¶ View Source const ( AllToken lexer.TokenType = iota ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Parser ¶ type Parser struct { Scanner *bufio.Scanner // state of the parser AfterEqual bool Quote rune } func NewParser ¶ func NewParser(rd io.Reader) *Parser func (*Parser) AllQuote ¶ func (p *Parser) AllQuote(l *lexer.L) (fn lexer.StateFunc) func (*Parser) Err ¶ func (p *Parser) Err() error func (*Parser) GetLine ¶ func (p *Parser) GetLine(l *lexer.L) (fn lexer.StateFunc) func (*Parser) Scan ¶ func (p *Parser) Scan() bool func (*Parser) Text ¶ func (p *Parser) Text() (line string) Source Files ¶ View all Source files parser.go Click to show internal directories. Click to hide internal directories.