Home
last modified time | relevance | path

Searched refs:binding (Results 1 – 24 of 24) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/module/
Djs_module_namespace.cpp90 JSHandle<JSTaggedValue> binding = SourceTextModule::ResolveExport(thread, mm, key, resolveSet); in GetProperty() local
93 ASSERT(binding->IsResolvedBinding() || binding->IsResolvedIndexBinding()); in GetProperty()
96 if (binding->IsResolvedBinding()) { in GetProperty()
97 JSHandle<ResolvedBinding> resolvedBind = JSHandle<ResolvedBinding>::Cast(binding); in GetProperty()
104 JSHandle<ResolvedIndexBinding> resolvedBind = JSHandle<ResolvedIndexBinding>::Cast(binding); in GetProperty()
302 … JSHandle<JSTaggedValue> binding = SourceTextModule::ResolveExport(thread, mm, key, resolveSet); in ValidateKeysAvailable() local
304 ASSERT(binding->IsResolvedBinding() || binding->IsResolvedIndexBinding()); in ValidateKeysAvailable()
306 if (binding->IsResolvedBinding()) { in ValidateKeysAvailable()
307 targetModule = JSHandle<ResolvedBinding>::Cast(binding)->GetModule(); in ValidateKeysAvailable()
308 } else if (binding->IsResolvedIndexBinding()) { in ValidateKeysAvailable()
[all …]
Djs_module_manager.cpp110 … ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in GetModuleValueOutterInternal() local
111 JSTaggedValue resolvedModule = binding->GetModule(); in GetModuleValueOutterInternal()
117 return GetNativeModuleValue(thread, currentModule, resolvedModule, binding); in GetModuleValueOutterInternal()
120 return GetCJSModuleValue(thread, currentModule, resolvedModule, binding); in GetModuleValueOutterInternal()
123 resolvedModule.GetTaggedObject())->GetModuleValue(thread, binding->GetIndex(), false); in GetModuleValueOutterInternal()
125 ResolvedBinding *binding = ResolvedBinding::Cast(resolvedBinding.GetTaggedObject()); in GetModuleValueOutterInternal() local
126 JSTaggedValue resolvedModule = binding->GetModule(); in GetModuleValueOutterInternal()
137 JSTaggedValue resolvedModule, ResolvedIndexBinding *binding) in GetNativeModuleValue() argument
149 return GetValueFromExportObject(nativeExports, binding->GetIndex()); in GetNativeModuleValue()
153 JSTaggedValue resolvedModule, ResolvedIndexBinding *binding) in GetCJSModuleValue() argument
[all …]
Djs_module_manager.h69 JSTaggedValue resolvedModule, ResolvedIndexBinding *binding);
71 JSTaggedValue resolvedModule, ResolvedIndexBinding *binding);
Djs_module_source_text.cpp449 … ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in GetModuleFromBinding() local
450 return JSHandle<SourceTextModule>(thread, binding->GetModule()); in GetModuleFromBinding()
452 ResolvedBinding *binding = ResolvedBinding::Cast(resolvedBinding.GetTaggedObject()); in GetModuleFromBinding() local
453 return JSHandle<SourceTextModule>(thread, binding->GetModule()); in GetModuleFromBinding()
/arkcompiler/ets_frontend/test262/
Dmodule_tests.txt99 export-default-asyncfunction-declaration-binding-exists.js
100 export-default-asyncfunction-declaration-binding.js
101 export-default-asyncgenerator-declaration-binding-exists.js
102 export-default-asyncgenerator-declaration-binding.js
103 export-default-function-declaration-binding-exists.js
104 export-default-function-declaration-binding.js
105 export-default-generator-declaration-binding-exists.js
106 export-default-generator-declaration-binding.js
107 export-expname-binding-string.js
110 export-expname-from-binding-string.js
[all …]
DCI_tests.txt2638 language/statements/for-of/head-const-fresh-binding-per-iteration.js
2652 language/statements/variable/binding-resolution.js
2691 language/statements/with/binding-not-blocked-by-unscopables-non-obj.js
2700 language/statements/with/binding-not-blocked-by-unscopables-falsey-prop.js
2721 language/statements/generators/yield-weak-binding.js
2765 language/statements/class/name-binding/const.js
2772 language/statements/class/definition/methods-gen-yield-weak-binding.js
3120 language/destructuring/binding/syntax/array-elements-with-initializer.js
3121 language/destructuring/binding/syntax/array-rest-elements.js
3122 language/destructuring/binding/syntax/property-list-single-name-bindings.js
[all …]
Des2015_tests.txt6366 language/module-code/export-default-asyncfunction-declaration-binding.js
6367 language/module-code/export-default-asyncfunction-declaration-binding-exists.js
6368 language/module-code/export-default-asyncgenerator-declaration-binding.js
6369 language/module-code/export-default-asyncgenerator-declaration-binding-exists.js
6370 language/module-code/export-default-function-declaration-binding.js
6371 language/module-code/export-default-function-declaration-binding-exists.js
6372 language/module-code/export-default-generator-declaration-binding.js
6373 language/module-code/export-default-generator-declaration-binding-exists.js
6375 language/module-code/export-expname-binding-string.js
6377 language/module-code/export-expname-from-binding-string.js
[all …]
Des2021_tests.txt1243 language/expressions/async-generator/await-as-binding-identifier-escaped.js
1261 language/expressions/async-generator/named-yield-as-binding-identifier-escaped.js
1264 language/expressions/async-generator/await-as-binding-identifier.js
1293 language/expressions/async-generator/early-errors-expression-yield-as-function-binding-identifier.js
1296 language/expressions/async-generator/yield-as-binding-identifier.js
1364 language/expressions/async-generator/early-errors-expression-await-as-function-binding-identifier.js
1368 language/expressions/async-generator/named-await-as-binding-identifier-escaped.js
1378 language/expressions/async-generator/early-errors-expression-binding-identifier-eval.js
1450 language/expressions/async-generator/early-errors-expression-binding-identifier-arguments.js
1845 language/expressions/async-generator/named-yield-as-binding-identifier.js
[all …]
/arkcompiler/ets_frontend/es2panda/test/parser/ts/
Dtest-func-param6-expected.txt1 SyntaxError: A binding pattern parameter cannot be optional in an implementation signature [test-fu…
Dtest-ts-parameter-property9-expected.txt1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
Dtest-ts-parameter-property12-expected.txt1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
Dtest-ts-parameter-property10-expected.txt1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
Dtest-ts-parameter-property11-expected.txt1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp274 for (const auto *binding : bindings) { in AddParamDecl() local
275 auto *varDecl = NewDecl<VarDecl>(allocator, binding->Name()); in AddParamDecl()
276 varDecl->BindNode(binding); in AddParamDecl()
279 return {decl, binding}; in AddParamDecl()
/arkcompiler/ets_frontend/es2panda/parser/
DstatementParser.cpp2049 for (const auto *binding : bindings) { in ParseVariableDeclarator() local
2058 … decl = Binder()->AddDecl<binder::VarDecl>(startLoc, declflag, isDeclare, binding->Name()); in ParseVariableDeclarator()
2060 … decl = Binder()->AddDecl<binder::LetDecl>(startLoc, declflag, isDeclare, binding->Name()); in ParseVariableDeclarator()
2062 … decl = Binder()->AddDecl<binder::ConstDecl>(startLoc, declflag, isDeclare, binding->Name()); in ParseVariableDeclarator()
2322 for (const auto *binding : bindings) { in AddExportLocalEntryItem() local
2324 tsModuleScope->AddExportVariable(binding->Name()); in AddExportLocalEntryItem()
2327 binding->Name(), binding->Name(), binding, binding); in AddExportLocalEntryItem()
2329 ThrowSyntaxError("Duplicate export name of '" + binding->Name().Mutf8() in AddExportLocalEntryItem()
2330 + "'", binding->Start()); in AddExportLocalEntryItem()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dbytecode_info_collector.cpp663 … ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in CollectRecordImportInfo() local
664 CString resolvedRecord = ModuleManager::GetRecordName(binding->GetModule()); in CollectRecordImportInfo()
665 auto bindingIndex = binding->GetIndex(); in CollectRecordImportInfo()
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dmethod_type_infer.cpp1096 … ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in InferLdExternalModuleVar() local
1097 resolvedRecord = ModuleManager::GetRecordName(binding->GetModule()); in InferLdExternalModuleVar()
1098 resolvedIndex = static_cast<uint32_t>(binding->GetIndex()); in InferLdExternalModuleVar()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_builder_gen.cpp.erb140 …indent + ERB.new(@inst_yaml['templates'][name], nil, '%-').result(binding).gsub("\n", "\n#{indent}…
/arkcompiler/ets_runtime/ecmascript/debugger/
Ddebugger_api.cpp410 … ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in GetImportModule() local
411 importModule.Update(binding->GetModule()); in GetImportModule()
/arkcompiler/ets_frontend/
DREADME.md28 ├── binder # info binding
/arkcompiler/ets_frontend/es2panda/test/compiler/js/
Dcocos_worker_test.js4614 s.binding = function(t) {
17575 this.binding = e;
17582 this.binding = t.binding;
17592 this.binding = e;
17599 this.binding = t.binding;
17609 this.binding = e;
17615 this.binding = t.binding;
17624 this.binding = e;
17631 this.binding = t.binding;
17641 this.binding = e;
[all …]
/arkcompiler/ets_frontend/es2panda/test/
Dtest262skiplist.txt8557 language/module-code/instn-star-binding.js
8574 language/module-code/namespace/internals/enumerate-binding-uninit.js
8595 language/module-code/namespace/internals/object-hasOwnProperty-binding-uninit.js
8596 language/module-code/namespace/internals/object-keys-binding-uninit.js
8597 language/module-code/namespace/internals/object-propertyIsEnumerable-binding-uninit.js
8598 language/module-code/namespace/internals/own-property-keys-binding-types.js
/arkcompiler/ets_frontend/testTs/
Dtest-case.patch1359 + let await: any; // illegal, cannot declare a new binding for await
1362 + let { await } = {} as any; // illegal, cannot declare a new binding for await
1368 + let await; // illegal, cannot declare a new binding for await
/arkcompiler/ets_frontend/legacy_bin/api8/src/
Dindex.js2binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list…