/arkcompiler/ets_runtime/ecmascript/module/ |
D | js_module_namespace.cpp | 90 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 …]
|
D | js_module_manager.cpp | 110 … 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 …]
|
D | js_module_manager.h | 69 JSTaggedValue resolvedModule, ResolvedIndexBinding *binding); 71 JSTaggedValue resolvedModule, ResolvedIndexBinding *binding);
|
D | js_module_source_text.cpp | 449 … 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/ |
D | module_tests.txt | 99 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 …]
|
D | CI_tests.txt | 2638 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 …]
|
D | es2015_tests.txt | 6366 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 …]
|
D | es2021_tests.txt | 1243 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/ |
D | test-func-param6-expected.txt | 1 SyntaxError: A binding pattern parameter cannot be optional in an implementation signature [test-fu…
|
D | test-ts-parameter-property9-expected.txt | 1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
|
D | test-ts-parameter-property12-expected.txt | 1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
|
D | test-ts-parameter-property10-expected.txt | 1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
|
D | test-ts-parameter-property11-expected.txt | 1 SyntaxError: A parameter property may not be declared using a binding pattern. [test-ts-parameter-p…
|
/arkcompiler/ets_frontend/es2panda/binder/ |
D | scope.cpp | 274 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/ |
D | statementParser.cpp | 2049 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/ |
D | bytecode_info_collector.cpp | 663 … 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/ |
D | method_type_infer.cpp | 1096 … 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/ |
D | inst_builder_gen.cpp.erb | 140 …indent + ERB.new(@inst_yaml['templates'][name], nil, '%-').result(binding).gsub("\n", "\n#{indent}…
|
/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | debugger_api.cpp | 410 … ResolvedIndexBinding *binding = ResolvedIndexBinding::Cast(resolvedBinding.GetTaggedObject()); in GetImportModule() local 411 importModule.Update(binding->GetModule()); in GetImportModule()
|
/arkcompiler/ets_frontend/ |
D | README.md | 28 ├── binder # info binding
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 4614 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/ |
D | test262skiplist.txt | 8557 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/ |
D | test-case.patch | 1359 + 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/ |
D | index.js | 2 …binding pattern may not have a trailing comma."),A_rest_parameter_must_be_last_in_a_parameter_list…
|