code: func (r *Lexer) IsDelim(c byte) bool {
  	if r.token.kind == tokenUndef && r.Ok() {
  		r.FetchToken()
  	}
  	return !r.Ok() || r.token.delimValue == c
  }
docs: // IsDelim returns true if there was no scanning error and next token is the given delimiter.