Lines Matching refs:query
8 * @param {string} query
12 WebInspector.SearchConfig = function(query, ignoreCase, isRegex)
14 this._query = query;
24 * @param {{query: string, ignoreCase: boolean, isRegex: boolean}} object
29 return new WebInspector.SearchConfig(object.query, object.ignoreCase, object.isRegex);
36 query: function()
58 * @return {{query: string, ignoreCase: boolean, isRegex: boolean}}
62 return { query: this.query(), ignoreCase: this.ignoreCase(), isRegex: this.isRegex() };
130 _parseUnquotedQuery: function(query)
132 return query.replace(/\\(.)/g, "$1");
135 _parseQuotedQuery: function(query)
137 return query.substring(1, query.length - 1).replace(/\\(.)/g, "$1");
141 * @param {string} query
144 _parseFileQuery: function(query)
146 var match = query.match(/^(-)?file:/);
150 query = query.substr(match[0].length);
152 for (var i = 0; i < query.length; ++i) {
153 var char = query[i];
158 var nextChar = query[i];
162 if (String.regexSpecialCharacters().indexOf(query.charAt(i)) !== -1)
164 result += query.charAt(i);