lineContains(type) {
    var i = 1
      , la;

    while (la = this.lookahead(i++)) {
      if (~['indent', 'outdent', 'newline', 'eos'].indexOf(la.type)) return;
      if (type == la.type) return true;
    }
  }
Check if the current line contains `type`.

@param {String} type
@return {Boolean}
@api private