()
| 350 | } |
| 351 | |
| 352 | func (p *templateParser) Read() templateToken { |
| 353 | ret := p.Peek() |
| 354 | if _, end := ret.(*templateEndToken); !end { |
| 355 | p.pos++ |
| 356 | } |
| 357 | return ret |
| 358 | } |
| 359 | |
| 360 | // parseTemplateParts produces a flat sequence of "template tokens", which are |
| 361 | // either literal values (with any "trimming" already applied), interpolation |
no test coverage detected