lib/parse/index.js
function comment() {
    var pos = position();
    if ('/' != css.charAt(0) || '*' != css.charAt(1)) return;

    var i = 2;
    while ("" != css.charAt(i) && ('*' != css.charAt(i) || '/' != css.charAt(i + 1))) ++i;
    i += 2;

    if ("" === css.charAt(i-1)) {
      return error('End of comment missing');
    }

    var str = css.slice(2, i - 2);
    column += 2;
    updatePosition(str);
    css = css.slice(i);
    column += 2;

    return pos({
      type: 'comment',
      comment: str
    });
  }
function comment() {
    var pos = position();
    if ('/' != css.charAt(0) || '*' != css.charAt(1)) return;

    var i = 2;
    while ("" != css.charAt(i) && ('*' != css.charAt(i) || '/' != css.charAt(i + 1))) ++i;
    i += 2;

    if ("" === css.charAt(i-1)) {
      return error('End of comment missing');
    }

    var str = css.slice(2, i - 2);
    column += 2;
    updatePosition(str);
    css = css.slice(i);
    column += 2;

    return pos({
      type: 'comment',
      comment: str
    });
  }
function comment ( ) { var pos = position ( ) ; if ( '/' != css . charAt ( 0 ) || '*' != css . charAt ( 1 ) ) return ; var i = 2 ; while ( "" != css . charAt ( i ) && ( '*' != css . charAt ( i ) || '/' != css . charAt ( i + 1 ) ) ) ++ i ; i += 2 ; if ( "" === css . charAt ( i - 1 ) ) { return error ( 'End of comment missing' ) ; } var str = css . slice ( 2 , i - 2 ) ; column += 2 ; updatePosition ( str ) ; css = css . slice ( i ) ; column += 2 ; return pos ( { type : 'comment' , comment : str } ) ; }
Parse comment.
Parse comment .