---------------------------------------------------------------------------
(t *token, while string)
| 28 | // --------------------------------------------------------------------------- |
| 29 | |
| 30 | func makeUnexpectedError(t *token, while string) errors.StaticError { |
| 31 | return errors.MakeStaticError( |
| 32 | fmt.Sprintf("Unexpected: %v", t), t.loc).WithContext(while) |
| 33 | } |
| 34 | |
| 35 | func locFromTokens(begin, end *token) ast.LocationRange { |
| 36 | return ast.LocationRangeBetween(&begin.loc, &end.loc) |
no test coverage detected
searching dependent graphs…