Home
last modified time | relevance | path

Searched refs:scopeChain (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/qmljseditor/
H A Dqmljshoverhandler.cpp213 ScopeChain scopeChain = semanticInfo.scopeChain(rangePath); in identifyMatch() local
228 handleImport(scopeChain, import); in identifyMatch()
254 setQmlTypeHelp(scopeChain, qmlDocument, value, qName); in identifyMatch()
263 handleOrdinaryMatch(scopeChain, node); in identifyMatch()
266 setQmlHelpItem(scopeChain, qmlDocument, node); in identifyMatch()
349 const Value *value = scopeChain.evaluate(node); in handleOrdinaryMatch()
350 prettyPrintTooltip(value, scopeChain.context()); in handleOrdinaryMatch()
356 const Imports *imports = scopeChain.context()->imports(scopeChain.document().data()); in handleImport()
436 scopeChain.lookup(*name, &owningObject); in isMember()
441 const Value *base = scopeChain.evaluate(fme->base); in isMember()
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/bindings/js/
H A DJSJavaScriptCallFrameCustom.cpp68 JSValue JSJavaScriptCallFrame::scopeChain(ExecState* exec) const in scopeChain() function in WebCore::JSJavaScriptCallFrame
70 if (!impl()->scopeChain()) in scopeChain()
73 ScopeChainNode* scopeChain = impl()->scopeChain(); in scopeChain() local
74 ScopeChainIterator iter = scopeChain->begin(); in scopeChain()
75 ScopeChainIterator end = scopeChain->end(); in scopeChain()
91 if (!impl()->scopeChain()) in scopeType()
98 ScopeChainNode* scopeChain = impl()->scopeChain(); in scopeType() local
99 ScopeChainIterator end = scopeChain->end(); in scopeType()
102 for (ScopeChainIterator iter = scopeChain->begin(); iter != end; ++iter) { in scopeType()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/javascriptcore/JavaScriptCore/runtime/
H A DExecutable.cpp72 ScopeChain scopeChain(scopeChainNode); in compile() local
73 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
76 …m_evalCodeBlock = new EvalCodeBlock(this, globalObject, source().provider(), scopeChain.localDepth… in compile()
103 ScopeChain scopeChain(scopeChainNode); in compile() local
104 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
124 ScopeChain scopeChain(scopeChainNode); in compile() local
125 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
188 ScopeChain scopeChain(scopeChainNode); in reparseExceptionInfo() local
189 JSGlobalObject* globalObject = scopeChain.globalObject(); in reparseExceptionInfo()
214 ScopeChain scopeChain(scopeChainNode); in reparseExceptionInfo() local
[all …]
H A DJSFunction.cpp95 scopeChain().~ScopeChain(); // FIXME: Don't we need to do this in the interpreter too? in ~JSFunction()
104 scopeChain().markAggregate(markStack); in markChildren()
115 callData.js.scopeChain = scopeChain().node(); in getCallData()
122 …xecute(jsExecutable(), exec, this, thisValue.toThisObject(exec), args, scopeChain().node(), exec->… in call()
155 … JSObject* prototype = new (exec) JSObject(scopeChain().globalObject()->emptyObjectStructure()); in getOwnPropertySlot()
248 constructData.js.scopeChain = scopeChain().node(); in getConstructData()
263 …xec->interpreter()->execute(jsExecutable(), exec, this, thisObj, args, scopeChain().node(), exec->… in construct()
/dports/devel/qt5-scripttools/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/runtime/
H A DExecutable.cpp72 ScopeChain scopeChain(scopeChainNode); in compile() local
73 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
76 …m_evalCodeBlock = new EvalCodeBlock(this, globalObject, source().provider(), scopeChain.localDepth… in compile()
103 ScopeChain scopeChain(scopeChainNode); in compile() local
104 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
124 ScopeChain scopeChain(scopeChainNode); in compile() local
125 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
188 ScopeChain scopeChain(scopeChainNode); in reparseExceptionInfo() local
189 JSGlobalObject* globalObject = scopeChain.globalObject(); in reparseExceptionInfo()
214 ScopeChain scopeChain(scopeChainNode); in reparseExceptionInfo() local
[all …]
H A DJSFunction.cpp95 scopeChain().~ScopeChain(); // FIXME: Don't we need to do this in the interpreter too? in ~JSFunction()
104 scopeChain().markAggregate(markStack); in markChildren()
115 callData.js.scopeChain = scopeChain().node(); in getCallData()
122 …xecute(jsExecutable(), exec, this, thisValue.toThisObject(exec), args, scopeChain().node(), exec->… in call()
155 … JSObject* prototype = new (exec) JSObject(scopeChain().globalObject()->emptyObjectStructure()); in getOwnPropertySlot()
248 constructData.js.scopeChain = scopeChain().node(); in getConstructData()
263 …xec->interpreter()->execute(jsExecutable(), exec, this, thisObj, args, scopeChain().node(), exec->… in construct()
/dports/devel/qt5-script/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/runtime/
H A DExecutable.cpp72 ScopeChain scopeChain(scopeChainNode); in compile() local
73 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
76 …m_evalCodeBlock = new EvalCodeBlock(this, globalObject, source().provider(), scopeChain.localDepth… in compile()
103 ScopeChain scopeChain(scopeChainNode); in compile() local
104 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
124 ScopeChain scopeChain(scopeChainNode); in compile() local
125 JSGlobalObject* globalObject = scopeChain.globalObject(); in compile()
188 ScopeChain scopeChain(scopeChainNode); in reparseExceptionInfo() local
189 JSGlobalObject* globalObject = scopeChain.globalObject(); in reparseExceptionInfo()
214 ScopeChain scopeChain(scopeChainNode); in reparseExceptionInfo() local
[all …]
H A DJSFunction.cpp95 scopeChain().~ScopeChain(); // FIXME: Don't we need to do this in the interpreter too? in ~JSFunction()
104 scopeChain().markAggregate(markStack); in markChildren()
115 callData.js.scopeChain = scopeChain().node(); in getCallData()
122 …xecute(jsExecutable(), exec, this, thisValue.toThisObject(exec), args, scopeChain().node(), exec->… in call()
155 … JSObject* prototype = new (exec) JSObject(scopeChain().globalObject()->emptyObjectStructure()); in getOwnPropertySlot()
248 constructData.js.scopeChain = scopeChain().node(); in getConstructData()
263 …xec->interpreter()->execute(jsExecutable(), exec, this, thisObj, args, scopeChain().node(), exec->… in construct()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/
H A DCallFrame.h42 ScopeChainNode* scopeChain() const in scopeChain() function
44 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain()); in scopeChain()
45 return this[RegisterFile::ScopeChain].Register::scopeChain(); in scopeChain()
58 return scopeChain()->globalObject; in lexicalGlobalObject()
65 return scopeChain()->globalThis; in globalThisValue()
73 ASSERT(scopeChain()->globalData); in globalData()
74 return *scopeChain()->globalData; in globalData()
115 …void setScopeChain(ScopeChainNode* scopeChain) { static_cast<Register*>(this)[RegisterFile::ScopeC… in setScopeChain() argument
117 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, in init() argument
123 setScopeChain(scopeChain); in init()
H A DRegister.h73 ScopeChainNode* scopeChain() const;
93 ScopeChainNode* scopeChain; member
159 ALWAYS_INLINE Register& Register::operator=(ScopeChainNode* scopeChain)
161 u.scopeChain = scopeChain;
201 ALWAYS_INLINE ScopeChainNode* Register::scopeChain() const in scopeChain() function
203 return u.scopeChain; in scopeChain()
H A DInterpreter.cpp101 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolve() local
132 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveSkip() local
210 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveBaseAndProperty() local
313 ScopeChainNode* scopeChain = callFrame->scopeChain(); in callEval() local
455 ScopeChainNode* scopeChain = callFrame->scopeChain(); in unwindCallFrame() local
478 scopeChain = scopeChain->pop(); in unwindCallFrame()
596 ScopeChainNode* scopeChain = callFrame->scopeChain(); in throwException() local
601 scopeChain = scopeChain->pop(); in throwException()
2044 ScopeChainNode* scopeChain = callFrame->scopeChain(); in privateExecute() local
2067 ScopeChainNode* scopeChain = callFrame->scopeChain(); in privateExecute() local
[all …]
/dports/devel/qt5-scripttools/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/
H A DCallFrame.h42 ScopeChainNode* scopeChain() const in scopeChain() function
44 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain()); in scopeChain()
45 return this[RegisterFile::ScopeChain].Register::scopeChain(); in scopeChain()
58 return scopeChain()->globalObject; in lexicalGlobalObject()
65 return scopeChain()->globalThis; in globalThisValue()
73 ASSERT(scopeChain()->globalData); in globalData()
74 return *scopeChain()->globalData; in globalData()
115 …void setScopeChain(ScopeChainNode* scopeChain) { static_cast<Register*>(this)[RegisterFile::ScopeC… in setScopeChain() argument
117 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, in init() argument
123 setScopeChain(scopeChain); in init()
H A DRegister.h73 ScopeChainNode* scopeChain() const;
93 ScopeChainNode* scopeChain; member
159 ALWAYS_INLINE Register& Register::operator=(ScopeChainNode* scopeChain)
161 u.scopeChain = scopeChain;
201 ALWAYS_INLINE ScopeChainNode* Register::scopeChain() const in scopeChain() function
203 return u.scopeChain; in scopeChain()
H A DInterpreter.cpp101 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolve() local
132 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveSkip() local
210 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveBaseAndProperty() local
313 ScopeChainNode* scopeChain = callFrame->scopeChain(); in callEval() local
455 ScopeChainNode* scopeChain = callFrame->scopeChain(); in unwindCallFrame() local
478 scopeChain = scopeChain->pop(); in unwindCallFrame()
598 ScopeChainNode* scopeChain = callFrame->scopeChain(); in throwException() local
603 scopeChain = scopeChain->pop(); in throwException()
2046 ScopeChainNode* scopeChain = callFrame->scopeChain(); in privateExecute() local
2069 ScopeChainNode* scopeChain = callFrame->scopeChain(); in privateExecute() local
[all …]
/dports/devel/qt5-script/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/interpreter/
H A DCallFrame.h42 ScopeChainNode* scopeChain() const in scopeChain() function
44 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain()); in scopeChain()
45 return this[RegisterFile::ScopeChain].Register::scopeChain(); in scopeChain()
58 return scopeChain()->globalObject; in lexicalGlobalObject()
65 return scopeChain()->globalThis; in globalThisValue()
73 ASSERT(scopeChain()->globalData); in globalData()
74 return *scopeChain()->globalData; in globalData()
115 …void setScopeChain(ScopeChainNode* scopeChain) { static_cast<Register*>(this)[RegisterFile::ScopeC… in setScopeChain() argument
117 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, in init() argument
123 setScopeChain(scopeChain); in init()
H A DRegister.h73 ScopeChainNode* scopeChain() const;
93 ScopeChainNode* scopeChain; member
159 ALWAYS_INLINE Register& Register::operator=(ScopeChainNode* scopeChain)
161 u.scopeChain = scopeChain;
201 ALWAYS_INLINE ScopeChainNode* Register::scopeChain() const in scopeChain() function
203 return u.scopeChain; in scopeChain()
H A DInterpreter.cpp101 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolve() local
132 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveSkip() local
210 ScopeChainNode* scopeChain = callFrame->scopeChain(); in resolveBaseAndProperty() local
313 ScopeChainNode* scopeChain = callFrame->scopeChain(); in callEval() local
455 ScopeChainNode* scopeChain = callFrame->scopeChain(); in unwindCallFrame() local
478 scopeChain = scopeChain->pop(); in unwindCallFrame()
598 ScopeChainNode* scopeChain = callFrame->scopeChain(); in throwException() local
603 scopeChain = scopeChain->pop(); in throwException()
2046 ScopeChainNode* scopeChain = callFrame->scopeChain(); in privateExecute() local
2069 ScopeChainNode* scopeChain = callFrame->scopeChain(); in privateExecute() local
[all …]
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/runtime/
H A DScopeChain.h121 ASSERT(scopeChain()->globalData); in globalData()
122 return *scopeChain()->globalData; in globalData()
127 return scopeChain()->globalObject.get(); in lexicalGlobalObject()
132 return scopeChain()->globalThis.get(); in globalThisValue()
135 ALWAYS_INLINE ScopeChainNode* Register::scopeChain() const in scopeChain() function
140 ALWAYS_INLINE Register& Register::operator=(ScopeChainNode* scopeChain)
142 *this = JSValue(scopeChain);
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/
H A DEvalCodeCache.h45 …table> get(ExecState* exec, const UString& evalSource, ScopeChainNode* scopeChain, JSValue& except… in get() argument
49 … if (evalSource.size() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject()) in get()
54 exceptionValue = evalExecutable->compile(exec, scopeChain); in get()
58 …if (evalSource.size() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject() && … in get()
/dports/devel/qt5-scripttools/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/
H A DEvalCodeCache.h45 …table> get(ExecState* exec, const UString& evalSource, ScopeChainNode* scopeChain, JSValue& except… in get() argument
49 … if (evalSource.size() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject()) in get()
54 exceptionValue = evalExecutable->compile(exec, scopeChain); in get()
58 …if (evalSource.size() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject() && … in get()
/dports/devel/qt5-script/kde-qtscript-5.15.2p4/src/3rdparty/javascriptcore/JavaScriptCore/bytecode/
H A DEvalCodeCache.h45 …table> get(ExecState* exec, const UString& evalSource, ScopeChainNode* scopeChain, JSValue& except… in get() argument
49 … if (evalSource.size() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject()) in get()
54 exceptionValue = evalExecutable->compile(exec, scopeChain); in get()
58 …if (evalSource.size() < maxCacheableSourceLength && (*scopeChain->begin())->isVariableObject() && … in get()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/bytecode/
H A DEvalCodeCache.h49 …wner, bool inStrictContext, const UString& evalSource, ScopeChainNode* scopeChain, JSValue& except… in get() argument
53 …if (!inStrictContext && evalSource.length() < maxCacheableSourceLength && (*scopeChain->begin())->… in get()
58 exceptionValue = evalExecutable->compile(exec, scopeChain); in get()
62 …inStrictContext && evalSource.length() < maxCacheableSourceLength && (*scopeChain->begin())->isVar… in get()
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/JavaScriptCore/interpreter/
H A DCallFrame.h43 ScopeChainNode* scopeChain() const in scopeChain() function
45 ASSERT(this[RegisterFile::ScopeChain].Register::scopeChain()); in scopeChain()
46 return this[RegisterFile::ScopeChain].Register::scopeChain(); in scopeChain()
102 …void setScopeChain(ScopeChainNode* scopeChain) { static_cast<Register*>(this)[RegisterFile::ScopeC… in setScopeChain() argument
104 ALWAYS_INLINE void init(CodeBlock* codeBlock, Instruction* vPC, ScopeChainNode* scopeChain, in init() argument
111 setScopeChain(scopeChain); in init()
/dports/converters/wkhtmltopdf/qt-5db36ec/tests/auto/qscriptcontext/
H A Dtst_qscriptcontext.cpp529 QCOMPARE(ctx->scopeChain().size(), 2); in pushAndPopContext()
613 QCOMPARE(ctx->scopeChain().size(), 1); in popNativeContextScope()
624 QCOMPARE(ctx->scopeChain().size(), 2); in popNativeContextScope()
630 QCOMPARE(ctx->scopeChain().size(), 2); in popNativeContextScope()
642 QCOMPARE(ctx->scopeChain().size(), 1); in popNativeContextScope()
1124 QCOMPARE(ctx->scopeChain().size(), 1); in pushAndPopScope_globalContext()
1129 QCOMPARE(ctx->scopeChain().size(), 1); in pushAndPopScope_globalContext()
1134 QCOMPARE(ctx->scopeChain().size(), 2); in pushAndPopScope_globalContext()
1139 QCOMPARE(ctx->scopeChain().size(), 1); in pushAndPopScope_globalContext()
1184 QVERIFY(ctx->scopeChain().isEmpty()); in pushAndPopScope_globalContext2()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/js/src/jsapi-tests/
H A DtestFunctionNonSyntactic.cpp24 JS::RootedObjectVector scopeChain(cx); in BEGIN_TEST() local
32 CHECK(scopeChain.append(scopeObj)); in BEGIN_TEST()
41 CHECK(scopeChain.append(scopeObj)); in BEGIN_TEST()
52 RootedFunction fun(cx, JS::CompileFunction(cx, scopeChain, options, "test", in BEGIN_TEST()
78 RootedFunction fun(cx, JS::CompileFunction(cx, scopeChain, options, "test", in BEGIN_TEST()

12345678910>>...18