(r *scanner, typ itemType)
| 158 | } |
| 159 | |
| 160 | func checkItem(r *scanner, typ itemType) { |
| 161 | if r.typ != typ { |
| 162 | panic(fmt.Sprintf("%s has an invalid token", r.text)) |
| 163 | } |
| 164 | } |
| 165 | |
| 166 | // parseExpression parsing the expression with input node n. |
| 167 | func (p *parser) parseExpression(n node) node { |
no outgoing calls
no test coverage detected
searching dependent graphs…