lib/match.js
function write(token, enc, next) {
    var type = token[0], buf = token[1];
    
    if(('rule_start' === type || 'atrule_start' === type))
      depth++;
    if(depth > 0 && !current)
      current = {location: [line, column], buffers:[]};
    if('rule_end' === type || 'atrule_end' === type)
      depth--;
    
    if(current) {
      current.buffers.push(buf);
      if(depth === 0) pushRule.call(this);
    }
    
    updatePosition(buf);
    next();
  }
function write(token, enc, next) {
    var type = token[0], buf = token[1];
    
    if(('rule_start' === type || 'atrule_start' === type))
      depth++;
    if(depth > 0 && !current)
      current = {location: [line, column], buffers:[]};
    if('rule_end' === type || 'atrule_end' === type)
      depth--;
    
    if(current) {
      current.buffers.push(buf);
      if(depth === 0) pushRule.call(this);
    }
    
    updatePosition(buf);
    next();
  }
function write ( token , enc , next ) { var type = token [ 0 ] , buf = token [ 1 ] ; if ( ( 'rule_start' === type || 'atrule_start' === type ) ) depth ++ ; if ( depth > 0 && ! current ) current = { location : [ line , column ] , buffers : [ ] } ; if ( 'rule_end' === type || 'atrule_end' === type ) depth -- ; if ( current ) { current . buffers . push ( buf ) ; if ( depth === 0 ) pushRule . call ( this ) ; } updatePosition ( buf ) ; next ( ) ; }
track this and pass it downstream for source mapping.
track this and pass it downstream for source mapping .