static stripLocation(key, value) {
    if (key === 'location') {
      return undefined;
    }
    return value;
  }
This replacer is for use to when converting to a JSON string if you
don't want location. Call JSON.stringfy(tree, ParseTree.stripLocation)
@param {string} key
@param {*} value
@return {*}