ReadInternal should not be called directly, use 'next' or 'peek'
()
| 107 | |
| 108 | // ReadInternal should not be called directly, use 'next' or 'peek' |
| 109 | func (p *parser) readInternal() *token { |
| 110 | for t := range p.tokens { |
| 111 | return &t |
| 112 | } |
| 113 | return &token{tokenEOF, "", -1} |
| 114 | } |
| 115 | |
| 116 | func (p *parser) stripNot() (negated bool) { |
| 117 | for { |