code: func (p *parser) isStatement() bool {
  	if !p.have(1) {
  		return false
  	}
  
  	switch p.next().Kind {
  	case lexer.TokenOpen, lexer.TokenOpenUnescaped, lexer.TokenOpenBlock,
  		lexer.TokenOpenInverse, lexer.TokenOpenRawBlock, lexer.TokenOpenPartial,
  		lexer.TokenContent, lexer.TokenComment:
  		return true
  	}
  
  	return false
  }
docs: // isStatement returns true if next token starts a statement