docs: function(type){
      if (this.peek().type === type) {
        return this.advance();
      } else {
        this.error('INVALID_TOKEN', 'expected "' + type + '", but got "' + this.peek().type + '"', this.peek());
      }
    }