()
| 44 | } |
| 45 | |
| 46 | func (p *parser) peekTwo() string { |
| 47 | p.skipWhitespace() |
| 48 | if p.pos+1 >= len(p.input) { |
| 49 | if p.pos < len(p.input) { |
| 50 | return string(p.input[p.pos]) |
| 51 | } |
| 52 | return "" |
| 53 | } |
| 54 | return p.input[p.pos : p.pos+2] |
| 55 | } |
| 56 | |
| 57 | func (p *parser) parseOr() (Value, error) { |
| 58 | left, err := p.parseAnd() |
no test coverage detected