| /arkcompiler/ets_frontend/ets2panda/lexer/scripts/ |
| D | keywords.rb | 22 def extensions method 23 @extensions 57 @extensions = Hash.new() 59 if !data || !data.extensions || !data.keywords 63 data.extensions.each do |extension| 64 @extensions[extension.name] = Hash.new() 73 … raise "Unknown extension" unless active.subset?(Set.new(data.extensions.map { |ext| ext.name })) 81 @extensions[extension.name]['keywords'] = keywords 82 @extensions[extension.name]['keyword_starts'] = Set.new(keywords.map { |desc| desc.name[0] }) 83 @extensions[extension.name]['all_words'] = all_words [all …]
|
| /arkcompiler/runtime_core/assembler/extensions/ |
| D | register_extensions.h.erb | 19 #include "extensions/extensions.h" 20 #include "extensions/ecmascript_meta.h" 22 namespace panda::pandasm::extensions { 27 return std::make_unique<panda::pandasm::extensions::ecmascript::RecordMetadata>(); 82 } // namespace panda::pandasm::extensions
|
| D | extensions.cpp | 16 #include "extensions.h" 20 namespace panda::pandasm::extensions { namespace 22 } // namespace panda::pandasm::extensions
|
| D | extensions.h | 25 namespace panda::pandasm::extensions { 41 } // namespace panda::pandasm::extensions
|
| /arkcompiler/ets_frontend/es2panda/test/type_extractor/testcases_with_assert/ |
| D | test-type-bind-instruction-with-branch.ts | 21 let extensions: string[] = ["js", "ts", "ets"]; 23 for (let i = 0; i < extensions.length; i++) { 24 AssertType(extensions[i], "string"); 44 let foundExt:string = extensions.find((u) => u == target);
|
| /arkcompiler/runtime_core/static_core/assembler/extensions/ |
| D | extensions.cpp | 16 #include "extensions.h" 20 namespace ark::pandasm::extensions { namespace 22 } // namespace ark::pandasm::extensions
|
| D | register_extensions.h.erb | 19 #include "extensions/extensions.h" 28 namespace ark::pandasm::extensions { 49 } // namespace ark::pandasm::extensions
|
| D | extensions.h | 26 namespace ark::pandasm::extensions { 42 } // namespace ark::pandasm::extensions
|
| /arkcompiler/runtime_core/static_core/assembler/ |
| D | assembly-record.h | 25 #include "extensions/extensions.h" 46 metadata(extensions::MetadataExtension::CreateRecordMetadata(lang)), in Record() 52 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateRecordMetadata… in Record()
|
| D | assembly-field.h | 23 #include "extensions/extensions.h" 41 : metadata(extensions::MetadataExtension::CreateFieldMetadata(lang)) in Field()
|
| D | assembly-function.h | 32 #include "extensions/extensions.h" 68 : type(std::move(t)), metadata(extensions::MetadataExtension::CreateParamMetadata(lang)) in Parameter() 108 metadata(extensions::MetadataExtension::CreateFunctionMetadata(lang)), in Function() 114 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateFunctionMetada… in Function()
|
| D | BUILD.gn | 48 "extensions/extensions.cpp", 197 template_file = "extensions/register_extensions.h.erb"
|
| D | assembly-program.h | 27 #include "extensions/extensions.h"
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-record.h | 25 #include "extensions/extensions.h" 46 metadata(extensions::MetadataExtension::CreateRecordMetadata(lang)), in Record() 53 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateRecordMetadata… in Record()
|
| D | assembly-field.h | 23 #include "extensions/extensions.h" 40 : metadata(extensions::MetadataExtension::CreateFieldMetadata(lang)) in Field()
|
| D | BUILD.gn | 36 "extensions/ecmascript_meta.cpp", 37 "extensions/extensions.cpp", 211 template_file = "extensions/register_extensions.h.erb"
|
| D | assembly-program.h | 27 #include "extensions/extensions.h"
|
| D | assembly-function.h | 32 #include "extensions/extensions.h" 67 : type(std::move(t)), metadata(extensions::MetadataExtension::CreateParamMetadata(lang)) in Parameter() 130 metadata(extensions::MetadataExtension::CreateFunctionMetadata(lang)), in Function() 136 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateFunctionMetada… in Function()
|
| /arkcompiler/runtime_core/static_core/plugins/ets/ |
| D | ets_plugin_options.yaml | 64 new_class_name: ark::pandasm::extensions::ets::RecordMetadata 67 new_class_name: ark::pandasm::extensions::ets::FieldMetadata 70 new_class_name: ark::pandasm::extensions::ets::FunctionMetadata 73 new_class_name: ark::pandasm::extensions::ets::ParamMetadata
|
| /arkcompiler/runtime_core/static_core/plugins/ets/assembler/extension/ |
| D | ets_meta.cpp | 18 namespace ark::pandasm::extensions::ets { namespace 22 } // namespace ark::pandasm::extensions::ets
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedset/ |
| D | expect_output.txt | 52 add extension(.): TypeError: Cannot add property in prevent extensions 53 add extension([]): TypeError: Cannot add property in prevent extensions 103 add extension(.): TypeError: Cannot add property in prevent extensions 104 add extension([]): TypeError: Cannot add property in prevent extensions
|
| /arkcompiler/runtime_core/static_core/scripts/dep-lists/ |
| D | requirements-venv-python3 | 25 mypy-extensions==0.4.3 27 typing-extensions==4.4.0
|
| /arkcompiler/ets_runtime/test/sharedtest/sharedarray/ |
| D | expect_output.txt | 52 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code… 53 add element by index access failed. err: TypeError: Cannot add property in prevent extensions, code… 190 Add prop to array failed. err: TypeError: Cannot add property in prevent extensions 195 Add prop to array failed. err: TypeError: Cannot add property in prevent extensions 200 Add prop to array failed. err: TypeError: Cannot add property in prevent extensions 205 Add prop to array failed. err: TypeError: Cannot add property in prevent extensions 211 Add prop to array failed. err: TypeError: Cannot add property in prevent extensions
|
| /arkcompiler/ets_runtime/test/sharedtest/check/ |
| D | expect_output.txt | 53 Fail to update prototype. err: TypeError: Cannot add property in prevent extensions 54 …o extend prop to constructor's prototype. err: TypeError: Cannot add property in prevent extensions 68 Fail to extend prop3 with stobjbyname. err: TypeError: Cannot add property in prevent extensions 71 …l to call Object.assign to extend target. err: TypeError: Cannot add property in prevent extensions
|
| /arkcompiler/runtime_core/assembler/tests/ |
| D | ecmascript_meta_test.cpp | 18 #include "extensions/ecmascript_meta.h" 35 pandasm::extensions::ecmascript::RecordMetadata rmd; 75 pandasm::extensions::ecmascript::RecordMetadata rmd; 112 pandasm::extensions::ecmascript::FieldMetadata rmd;
|