error terminates processing.
(err error)
| 150 | |
| 151 | // error terminates processing. |
| 152 | func (t *Template) error(err error) { |
| 153 | t.errorf("%s", err) |
| 154 | } |
| 155 | |
| 156 | // expect consumes the next token and guarantees it has the required type. |
| 157 | func (t *Template) expect(expectedType itemType, context, expected string) item { |
no test coverage detected