OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:FormatterWorker
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/script_formatter_worker/
JavaScriptFormatter.js
33
* @param {!
FormatterWorker
.JavaScriptTokenizer} tokenizer
34
* @param {!
FormatterWorker
.JavaScriptFormattedContentBuilder} builder
36
FormatterWorker
.JavaScriptFormatter = function(tokenizer, builder)
44
FormatterWorker
.JavaScriptFormatter._identifierRegex = /^[$A-Z_][0-9A-Z_$]*$/i;
46
FormatterWorker
.JavaScriptFormatter.prototype = {
49
this._parseSourceElements(
FormatterWorker
.JavaScriptTokens.EOS);
50
this._consume(
FormatterWorker
.JavaScriptTokens.EOS);
66
if (this._token && this._token.token ===
FormatterWorker
.JavaScriptTokens.EOS)
99
if (next !==
FormatterWorker
.JavaScriptTokens.IDENTIFIER && !
FormatterWorker
.JavaScriptFormatter._identifierRegex.test(this._token.value)
[
all
...]
CSSFormatter.js
34
* @param {!
FormatterWorker
.CSSFormattedContentBuilder} builder
36
FormatterWorker
.CSSFormatter = function(content, builder)
44
FormatterWorker
.CSSFormatter.prototype = {
48
var tokenize =
FormatterWorker
.createTokenizer("text/css");
144
FormatterWorker
.CSSFormattedContentBuilder = function(content, mapping, originalOffset, formattedOffset, indentString)
165
FormatterWorker
.CSSFormattedContentBuilder.prototype = {
ScriptFormatterWorker.js
30
FormatterWorker
= {
63
FormatterWorker
[data.method](data.params);
69
FormatterWorker
.format = function(params)
76
var formatter = new
FormatterWorker
.HTMLFormatter(indentString);
80
result.content =
FormatterWorker
._formatCSS(params.content, result.mapping, 0, 0, indentString);
83
result.content =
FormatterWorker
._formatScript(params.content, result.mapping, 0, 0, indentString);
92
FormatterWorker
._chunkCount = function(totalLength, chunkSize)
105
FormatterWorker
.javaScriptOutline = function(params)
110
var chunkCount =
FormatterWorker
._chunkCount(totalLength, chunkSize);
121
var tokenizer =
FormatterWorker
.createTokenizer("text/javascript")
[
all
...]
Completed in 4538 milliseconds