/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Models/ |
H A D | LazySourceCodeLocation.js | 33 WebInspector.LazySourceCodeLocation = function(sourceCode, lineNumber, columnNumber) 37 console.assert(sourceCode); 40 this._lazySourceCode = sourceCode; 55 get sourceCode() 60 set sourceCode(sourceCode) 63 this.setSourceCode(sourceCode); 110 this.sourceCode = this._lazySourceCode;
|
H A D | SourceCodeRevision.js | 26 WebInspector.SourceCodeRevision = function(sourceCode, content, contentIsBase64Encoded) 30 console.assert(sourceCode instanceof WebInspector.SourceCode); 32 this._sourceCode = sourceCode; 42 get sourceCode()
|
H A D | SourceCodeTimeline.js | 26 WebInspector.SourceCodeTimeline = function(sourceCode, sourceCodeLocation, recordType, recordEventType) 30 console.assert(sourceCode); 31 console.assert(!sourceCodeLocation || sourceCodeLocation.sourceCode === sourceCode); 34 this._sourceCode = sourceCode; 54 get sourceCode()
|
H A D | SourceCodeLocation.js | 26 WebInspector.SourceCodeLocation = function(sourceCode, lineNumber, columnNumber) 30 console.assert(sourceCode === null || sourceCode instanceof WebInspector.SourceCode); 31 console.assert(!(sourceCode instanceof WebInspector.SourceMapResource)); 35 this._sourceCode = sourceCode || null; 81 get sourceCode() 86 set sourceCode(sourceCode) 88 this.setSourceCode(sourceCode); 157 return this._locationString(this.sourceCode, thi [all...] |
H A D | SourceCodeTextRange.js | 26 WebInspector.SourceCodeTextRange = function(sourceCode) /* textRange || startLocation, endLocation */ 30 console.assert(sourceCode instanceof WebInspector.SourceCode); 33 this._sourceCode = sourceCode; 38 this._startLocation = sourceCode.createSourceCodeLocation(textRange.startLine, textRange.startColumn); 39 this._endLocation = sourceCode.createSourceCodeLocation(textRange.endLine, textRange.endColumn); 60 get sourceCode()
|
H A D | TimelineRecording.js | 84 sourceCodeTimelinesForSourceCode: function(sourceCode) 86 var timelines = this._sourceCodeTimelinesMap.get(sourceCode); 108 var sourceCode = record.sourceCodeLocation ? record.sourceCodeLocation.sourceCode : activeMainResource; variable 110 var sourceCodeTimelines = this._sourceCodeTimelinesMap.get(sourceCode); 113 this._sourceCodeTimelinesMap.set(sourceCode, sourceCodeTimelines); 120 sourceCodeTimeline = new WebInspector.SourceCodeTimeline(sourceCode, record.sourceCodeLocation, record.type, record.eventType);
|
H A D | TimelineRecord.js | 143 cookie[WebInspector.TimelineRecord.SourceCodeURLCookieKey] = this._sourceCodeLocation ? this._sourceCodeLocation.sourceCode.url ? this._sourceCodeLocation.sourceCode.url.hash : null : null;
|
/macosx-10.10/WebCore-7600.1.25/workers/ |
H A D | DedicatedWorkerThread.cpp | 41 PassRefPtr<DedicatedWorkerThread> DedicatedWorkerThread::create(const URL& scriptURL, const String& userAgent, const GroupSettings* settings, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, const SecurityOrigin* topOrigin) argument 43 return adoptRef(new DedicatedWorkerThread(scriptURL, userAgent, settings, sourceCode, workerLoaderProxy, workerObjectProxy, startMode, contentSecurityPolicy, contentSecurityPolicyType, topOrigin)); 46 DedicatedWorkerThread::DedicatedWorkerThread(const URL& url, const String& userAgent, const GroupSettings* settings, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerObjectProxy& workerObjectProxy, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, const SecurityOrigin* topOrigin) argument 47 : WorkerThread(url, userAgent, settings, sourceCode, workerLoaderProxy, workerObjectProxy, startMode, contentSecurityPolicy, contentSecurityPolicyType, topOrigin)
|
H A D | SharedWorkerThread.cpp | 41 PassRefPtr<SharedWorkerThread> SharedWorkerThread::create(const String& name, const URL& scriptURL, const String& userAgent, const GroupSettings* settings, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType) argument 43 return adoptRef(new SharedWorkerThread(name, scriptURL, userAgent, settings, sourceCode, workerLoaderProxy, workerReportingProxy, startMode, contentSecurityPolicy, contentSecurityPolicyType)); 46 SharedWorkerThread::SharedWorkerThread(const String& name, const URL& url, const String& userAgent, const GroupSettings* settings, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType) argument 47 : WorkerThread(url, userAgent, settings, sourceCode, workerLoaderProxy, workerReportingProxy, startMode, contentSecurityPolicy, contentSecurityPolicyType, 0)
|
H A D | DedicatedWorkerThread.h | 42 static PassRefPtr<DedicatedWorkerThread> create(const URL& scriptURL, const String& userAgent, const GroupSettings*, const String& sourceCode, WorkerLoaderProxy&, WorkerObjectProxy&, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType, const SecurityOrigin* topOrigin); 51 DedicatedWorkerThread(const URL&, const String& userAgent, const GroupSettings*, const String& sourceCode, WorkerLoaderProxy&, WorkerObjectProxy&, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType, const SecurityOrigin* topOrigin);
|
H A D | SharedWorkerThread.h | 42 static PassRefPtr<SharedWorkerThread> create(const String& name, const URL&, const String& userAgent, const GroupSettings*, const String& sourceCode, WorkerLoaderProxy&, WorkerReportingProxy&, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType); 49 SharedWorkerThread(const String& name, const URL&, const String& userAgent, const GroupSettings*, const String& sourceCode, WorkerLoaderProxy&, WorkerReportingProxy&, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType);
|
H A D | WorkerGlobalScopeProxy.h | 51 virtual void startWorkerGlobalScope(const URL& scriptURL, const String& userAgent, const String& sourceCode, WorkerThreadStartMode) = 0;
|
H A D | WorkerThread.cpp | 83 WorkerThreadStartupData(const URL& scriptURL, const String& userAgent, const GroupSettings*, const String& sourceCode, WorkerThreadStartMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, const SecurityOrigin* topOrigin); 95 WorkerThreadStartupData::WorkerThreadStartupData(const URL& scriptURL, const String& userAgent, const GroupSettings* settings, const String& sourceCode, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, const SecurityOrigin* topOrigin) argument 98 , m_sourceCode(sourceCode.isolatedCopy()) 113 WorkerThread::WorkerThread(const URL& scriptURL, const String& userAgent, const GroupSettings* settings, const String& sourceCode, WorkerLoaderProxy& workerLoaderProxy, WorkerReportingProxy& workerReportingProxy, WorkerThreadStartMode startMode, const String& contentSecurityPolicy, ContentSecurityPolicy::HeaderType contentSecurityPolicyType, const SecurityOrigin* topOrigin) argument 117 , m_startupData(std::make_unique<WorkerThreadStartupData>(scriptURL, userAgent, settings, sourceCode, startMode, contentSecurityPolicy, contentSecurityPolicyType, topOrigin))
|
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Views/ |
H A D | EventListenerSectionGroup.js | 82 var sourceCode = WebInspector.debuggerManager.scriptForIdentifier(scriptIdentifierOrURL); 83 if (!sourceCode) 84 sourceCode = WebInspector.frameResourceManager.resourceForURL(scriptIdentifierOrURL); 86 if (!sourceCode) 89 var sourceCodeLocation = sourceCode.createSourceCodeLocation(this._eventListener.location.lineNumber, this._eventListener.location.columnNumber || 0);
|
H A D | SourceCodeTreeElement.js | 26 WebInspector.SourceCodeTreeElement = function(sourceCode, classNames, title, subtitle, representedObject, hasChildren) 28 console.assert(sourceCode instanceof WebInspector.SourceCode); 30 WebInspector.GeneralTreeElement.call(this, classNames, title, subtitle, representedObject || sourceCode, hasChildren); 34 this._updateSourceCode(sourceCode); 191 _updateSourceCode: function(sourceCode) 193 console.assert(sourceCode instanceof WebInspector.SourceCode); 195 if (this._sourceCode === sourceCode) 201 this._sourceCode = sourceCode;
|
H A D | TimelineDataGridNode.js | 109 if (value.sourceCode instanceof WebInspector.Resource) { 111 cell.classList.add(value.sourceCode.type); 112 } else if (value.sourceCode instanceof WebInspector.Script) { 113 if (value.sourceCode.url) { 154 if (callFrame.sourceCodeLocation && callFrame.sourceCodeLocation.sourceCode) { 167 if (callFrame.sourceCodeLocation.sourceCode instanceof WebInspector.Resource) { 169 cell.classList.add(callFrame.sourceCodeLocation.sourceCode.type); 170 } else if (callFrame.sourceCodeLocation.sourceCode instanceof WebInspector.Script) { 171 if (callFrame.sourceCodeLocation.sourceCode.url) {
|
H A D | DebuggerSidebarPanel.js | 260 _addBreakpoint: function(breakpoint, sourceCode) 262 var sourceCode = breakpoint.sourceCodeLocation.displaySourceCode; 263 if (!sourceCode) 266 var parentTreeElement = this._breakpointsContentTreeOutline.getCachedTreeElement(sourceCode); 268 if (sourceCode instanceof WebInspector.SourceMapResource) 269 parentTreeElement = new WebInspector.SourceMapResourceTreeElement(sourceCode); 270 else if (sourceCode instanceof WebInspector.Resource) 271 parentTreeElement = new WebInspector.ResourceTreeElement(sourceCode); 272 else if (sourceCode instanceof WebInspector.Script) 273 parentTreeElement = new WebInspector.ScriptTreeElement(sourceCode); [all...] |
/macosx-10.10/JavaScriptCore-7600.1.17/bytecode/ |
H A D | CodeBlockHash.cpp | 40 CodeBlockHash::CodeBlockHash(const SourceCode& sourceCode, CodeSpecializationKind kind) argument 44 sha1.addBytes(sourceCode.toUTF8());
|
/macosx-10.10/WebInspectorUI-7600.1.17/UserInterface/Controllers/ |
H A D | DebuggerManager.js | 189 breakpointsForSourceCode: function(sourceCode) 191 console.assert(sourceCode instanceof WebInspector.Resource || sourceCode instanceof WebInspector.Script); 193 if (sourceCode instanceof WebInspector.SourceMapResource) { 195 var originalSourceCodeBreakpoints = this.breakpointsForSourceCode(sourceCode.sourceMap.originalSourceCode); 197 return breakpoint.sourceCodeLocation.displaySourceCode === sourceCode; 201 if (sourceCode.url in this._breakpointURLMap) { 202 var urlBreakpoint = this._breakpointURLMap[sourceCode.url] || []; 203 this._associateBreakpointsWithSourceCode(urlBreakpoint, sourceCode); 207 if (sourceCode instanceo [all...] |
H A D | IssueManager.js | 67 issuesForSourceCode: function(sourceCode) 74 if (issue.url === sourceCode.url)
|
/macosx-10.10/JavaScriptCore-7600.1.17/profiler/ |
H A D | ProfilerBytecodes.h | 44 const CString& sourceCode() const { return m_sourceCode; } function in class:JSC::Profiler::Bytecodes
|
/macosx-10.10/WebCore-7600.1.25/bindings/js/ |
H A D | WorkerScriptController.cpp | 111 void WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode) argument 117 evaluate(sourceCode, &exception); 124 void WorkerScriptController::evaluate(const ScriptSourceCode& sourceCode, Deprecated::ScriptValue* exception) argument 135 JSC::evaluate(exec, sourceCode.jsSourceCode(), m_workerGlobalScopeWrapper->globalThis(), &evaluationException); 148 String sourceURL = sourceCode.url().string(); 149 if (m_workerGlobalScope->sanitizeScriptError(errorMessage, lineNumber, columnNumber, sourceURL, sourceCode.cachedScript()))
|
/macosx-10.10/JavaScriptCore-7600.1.17/inspector/ |
H A D | JSInjectedScriptHost.cpp | 150 const SourceCode* sourceCode = function->sourceCode(); local 151 if (!sourceCode) 154 int lineNumber = sourceCode->firstLine(); 158 String scriptID = String::number(sourceCode->provider()->asID());
|
/macosx-10.10/apache-793/httpd/docs/manual/style/scripts/ |
H A D | prettify.js | 506 * sourceCode: "print 'Hello '\n + 'World';", 576 sourceCode: chunks.join('').replace(/\n$/, ''), 583 * Apply the given language handler to sourceCode and add the resulting 585 * @param {number} basePos the index of sourceCode within the chunk of source 588 function appendDecorations(basePos, sourceCode, langHandler, out) { 589 if (!sourceCode) { return; } 591 sourceCode: sourceCode, property in class:appendDecorations.job 628 * where index_n is an index into the sourceCode, and style_n is a style 630 * all characters in sourceCode[index_ [all...] |
H A D | prettify.min.js | 46 walk(node);return{sourceCode:chunks.join('').replace(/\n$/,''),spans:spans};} 47 function appendDecorations(basePos,sourceCode,langHandler,out){if(!sourceCode){return;} 48 var job={sourceCode:sourceCode,basePos:basePos};langHandler(job);out.push.apply(out,job.decorations);} property in class:appendDecorations.job 53 allRegexs.push(/[\0-\uffff]/);tokenizer=combinePrefixPatterns(allRegexs);})();var nPatterns=fallthroughStylePatterns.length;var decorate=function(job){var sourceCode=job.sourceCode,basePos=job.basePos;var decorations=[basePos,PR_PLAIN];var pos=0;var tokens=sourceCode.match(tokenizer)||[];var styleCache={};for(var ti=0,nTokens=tokens.length;ti<nTokens;++ti){var token=tokens[ti];var style=styleCache[token];var match=void 0;var isEmbedded;if(typeof style==='string'){isEmbedded=false;}else{var patternParts=shortcuts[token.charAt(0)];if(patternParts){match=token.match(patternParts[1]);style=patternParts[0];}else{for(var i=0;i<nPatterns;++i){patternParts=fallthroughStylePatterns[i];match=token.match(patternParts[1]);if(match){style=patternParts[0];break;}} 97 function recombineTagsAndDecorations(job){var isIE8OrEarlier=/\bMSIE\s(\d+)/.exec(navigator.userAgent);isIE8OrEarlier=isIE8OrEarlier&&+isIE8OrEarlier[1]<=8;var newlineRe=/\n/g;var source=job.sourceCode;var sourceLength=source.length;var sourceIndex=0;var spans=job.spans;var nSpans=spans.length;var spanIndex=0;var decorations=job.decorations;var nDecorations=decorations.length;var decorationIndex=0;decorations[nDecorations]=sourceLength;var decPos,i;for(i=decPos=0;i<nDecorations;){if(decorations[i]!==decorations[i+2]){decorations[decPos++]=decorations[i++];decorations[decPos++]=decorations[i++];}else{i+=2;}} 109 registerLangHandler(decorateSource,['default-code']);registerLangHandler(createSimpleLexer([],[[PR_PLAIN,/^[^<?]+/],[PR_DECLARATION,/^<!\w[^>]*(?:>|$)/],[PR_COMMENT,/^<\!--[\s\S]*?(?:-\->|$)/],['lang-',/^<\?([\s\S]+?)(?:\?>|$)/],['lang-',/^<%([\s\S]+?)(?:%>|$)/],[PR_PUNCTUATION,/^(?:<[%?]|[%?]>)/],['lang-',/^<xmp\b[^>]*>([\s\S]+?)<\/xmp\b[^>]*>/i],['lang-js',/^<script\b[^>]*>([\s\S]*?)(<\/script\b[^>]*>)/i],['lang-css',/^<style\b[^>]*>([\s\S]*?)(<\/style\b[^>]*>)/i],['lang-in.tag',/^(<\/?[a-z][^<>]*>)/i]]),['default-markup','htm','html','mxml','xhtml','xml','xsl']);registerLangHandler(createSimpleLexer([[PR_PLAIN,/^[\s]+/,null,' \t\r\n'],[PR_ATTRIB_VALUE,/^(?:\"[^\"]*\"?|\'[^\']*\'?)/,null,'\"\'']],[[PR_TAG,/^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i],[PR_ATTRIB_NAME,/^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i],['lang-uq.val',/^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/],[PR_PUNCTUATION,/^[=<>\/]+/],['lang-js',/^on\w+\s*=\s*\"([^\"]+)\"/i],['lang-js',/^on\w+\s*=\s*\'([^\']+)\'/i],['lang-js',/^on\w+\s*=\s*([^\"\'>\s]+)/i],['lang-css',/^style\s*=\s*\"([^\"]+)\"/i],['lang-css',/^style\s*=\s*\'([^\']+)\'/i],['lang-css',/^style\s*=\s*([^\"\'>\s]+)/i]]),['in.tag']);registerLangHandler(createSimpleLexer([],[[PR_ATTRIB_VALUE,/^[\s\S]+/]]),['uq.val']);registerLangHandler(sourceDecorator({'keywords':CPP_KEYWORDS,'hashComments':true,'cStyleComments':true,'types':C_TYPES}),['c','cc','cpp','cxx','cyc','m']);registerLangHandler(sourceDecorator({'keywords':PHP_KEYWORDS,'hashComments':false,'cStyleComments':true,'multiLineStrings':true,'regexLiterals':true}),['php','phtml','inc']);registerLangHandler(sourceDecorator({'keywords':'null,true,false'}),['json']);registerLangHandler(sourceDecorator({'keywords':CSHARP_KEYWORDS,'hashComments':true,'cStyleComments':true,'verbatimStrings':true,'types':C_TYPES}),['cs']);registerLangHandler(sourceDecorator({'keywords':JAVA_KEYWORDS,'cStyleComments':true}),['java']);registerLangHandler(sourceDecorator({'keywords':SH_KEYWORDS,'hashComments':true,'multiLineStrings':true}),['bsh','csh','sh']);registerLangHandler(sourceDecorator({'keywords':PYTHON_KEYWORDS,'hashComments':true,'multiLineStrings':true,'tripleQuotedStrings':true}),['cv','py']);registerLangHandler(sourceDecorator({'keywords':PERL_KEYWORDS,'hashComments':true,'multiLineStrings':true,'regexLiterals':true}),['perl','pl','pm']);registerLangHandler(sourceDecorator({'keywords':RUBY_KEYWORDS,'hashComments':true,'multiLineStrings':true,'regexLiterals':true}),['rb']);registerLangHandler(sourceDecorator({'keywords':JSCRIPT_KEYWORDS,'cStyleComments':true,'regexLiterals':true}),['js']);registerLangHandler(sourceDecorator({'keywords':COFFEE_KEYWORDS,'hashComments':3,'cStyleComments':true,'multilineStrings':true,'tripleQuotedStrings':true,'regexLiterals':true}),['coffee']);registerLangHandler(createSimpleLexer([],[[PR_STRING,/^[\s\S]+/]]),['regex']);registerLangHandler(sourceDecorator({'keywords':CONFIG_KEYWORDS,'literals':CONFIG_OPTIONS,'strings':CONFIG_ENVS,'hashComments':true,'cStyleComments':false,'multiLineStrings':false,'regexLiterals':false,'httpdComments':true}),['config']);function applyDecorator(job){var opt_langExtension=job.langExtension;try{var sourceAndSpans=extractSourceSpans(job.sourceNode,job.pre);var source=sourceAndSpans.sourceCode;jo [all...] |