Path: blob/main/third_party/closure-compiler/node-externs/querystring.js
6171 views
/*1* Copyright 2012 The Closure Compiler Authors.2*3* Licensed under the Apache License, Version 2.0 (the "License");4* you may not use this file except in compliance with the License.5* You may obtain a copy of the License at6*7* http://www.apache.org/licenses/LICENSE-2.08*9* Unless required by applicable law or agreed to in writing, software10* distributed under the License is distributed on an "AS IS" BASIS,11* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.12* See the License for the specific language governing permissions and13* limitations under the License.14*/1516/**17* @fileoverview Definitions for node's querystring module.18* @see http://nodejs.org/api/querystring.html19* @see https://github.com/joyent/node/blob/master/lib/querystring.js20* @externs21* @author Daniel Wirtz <[email protected]>22*/2324/**25BEGIN_NODE_INCLUDE26var querystring = require('querystring');27END_NODE_INCLUDE28*/2930/**31* @type {Object.<string,*>}32*/33var querystring = {};3435/**36* @param {Object.<string,*>} obj37* @param {string=} sep38* @param {string=} eq39* @return {string}40* @nosideeffects41*/42querystring.stringify = function(obj, sep, eq) {};4344/**45* @param {string} str46* @param {string=} sep47* @param {string=} eq48* @param {*=} options49* @nosideeffects50*/51querystring.parse = function(str, sep, eq, options) {};5253/**54* @param {string} str55* @return {string}56*/57querystring.escape = function(str) {};5859/**60* @param {string} str61* @return {string}62*/63querystring.unescape = function(str) {};6465/**66* @param {nodeBuffer.Buffer} s67* @param {boolean} decodeSpaces68*/69querystring.unescapeBuffer = function(s, decodeSpaces) {};707172