docs: function(node) {
      var locals = {};
      var keep = false;
      var loop = Node.toString(node).split('\n')[0];
      var pattern = /\$([\w-]+)/g;
      var match = pattern.exec(loop);
  
      while (match) {
        locals[ match[1] ] = 1;
        keep = this.vars.hasOwnProperty(match[1]) || keep;
        match = pattern.exec(loop);
      }
  
      // Only keep these locals if there was a valid theme variable within the loop:
      this.locals = keep ? locals : {};
    }