lib/lexer.js
function() {
    var tok = this.stash[this.stash.length - 1] || this.prev;
    switch (tok && tok.type) {
      // #for
      case 'color':
        return 2 == tok.val.raw.length;
      // .or
      case '.':
      // [is]
      case '[':
        return true;
    }
    return false;
  }
function() {
    var tok = this.stash[this.stash.length - 1] || this.prev;
    switch (tok && tok.type) {
      // #for
      case 'color':
        return 2 == tok.val.raw.length;
      // .or
      case '.':
      // [is]
      case '[':
        return true;
    }
    return false;
  }
function ( ) { var tok = this . stash [ this . stash . length - 1 ] || this . prev ; switch ( tok && tok . type ) { // #for case 'color' : return 2 == tok . val . raw . length ; // .or case '.' : // [is] case '[' : return true ; } return false ; }
Check if the current token is a part of selector.

@return {Boolean}
@api private
Check if the current token is a part of selector .