(expected rune)
| 136 | } |
| 137 | |
| 138 | func (p *Parser) expectChar(expected rune) bool { |
| 139 | if !p.eof() && p.peekChar() == expected { |
| 140 | p.advance() |
| 141 | return true |
| 142 | } |
| 143 | return false |
| 144 | } |
| 145 | |
| 146 | func (p *Parser) peekChar() rune { |
| 147 | if p.Pos >= p.Length { |
no test coverage detected