Searched defs:textParser (Results 1 – 1 of 1) sorted by relevance
79 type textParser struct { struct80 s string // remaining input81 done bool // whether the parsing is finished (success or error)82 backed bool // whether back() was called83 offset, line int84 cur token95 func (p *textParser) errorf(format string, a ...interface{}) *ParseError {133 func (p *textParser) skipWhitespace() {157 func (p *textParser) advance() {336 func (p *textParser) back() { p.backed = true }[all …]