/arkcompiler/runtime_core/assembler/ |
D | assembly-record.h | 42 …Record(std::string s, panda::panda_file::SourceLang lang, size_t b_l, size_t b_r, std::string f_c,… in Record() 45 language(lang), in Record() 46 metadata(extensions::MetadataExtension::CreateRecordMetadata(lang)), in Record() 51 Record(std::string s, panda::panda_file::SourceLang lang) in Record() 52 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateRecordMetadata… in Record()
|
D | assembly-function.h | 66 Parameter(Type t, panda::panda_file::SourceLang lang) in Parameter() 67 : type(std::move(t)), metadata(extensions::MetadataExtension::CreateParamMetadata(lang)) in Parameter() 125 …Function(std::string s, panda::panda_file::SourceLang lang, size_t b_l, size_t b_r, std::string f_… in Function() 128 language(lang), in Function() 129 metadata(extensions::MetadataExtension::CreateFunctionMetadata(lang)), in Function() 134 Function(std::string s, panda::panda_file::SourceLang lang) in Function() 135 …: name(std::move(s)), language(lang), metadata(extensions::MetadataExtension::CreateFunctionMetada… in Function()
|
D | assembly-field.h | 39 explicit Field(panda::panda_file::SourceLang lang) in Field() 40 : metadata(extensions::MetadataExtension::CreateFieldMetadata(lang)) in Field()
|
D | assembly-type.cpp | 117 bool Type::IsStringType(const std::string &name, panda::panda_file::SourceLang lang) in IsStringType() argument 119 auto string_type = Type::FromDescriptor(panda::panda_file::GetStringClassDescriptor(lang)); in IsStringType()
|
D | assembly-program.h | 33 panda::panda_file::SourceLang lang {panda::panda_file::SourceLang::PANDA_ASSEMBLY};
|
D | assembly-type.h | 169 static bool IsStringType(const std::string &name, panda::panda_file::SourceLang lang);
|
D | assembly-parser.cpp | 59 curr_record_->field_list.emplace_back(program_.lang); in ParseRecordFields() 398 } else if (panda::pandasm::Type::IsStringType(type_with_slash.GetName(), program_.lang)) { in ParseArrayElementType() 794 auto lang = context_.GiveToken(); in ParseAsLanguageDirective() local 795 auto res = panda::panda_file::LanguageFromString(lang); in ParseAsLanguageDirective() 809 program_.lang = res.value(); in ParseAsLanguageDirective() 1843 it_record->second.field_list.emplace_back(program_.lang); in ParseOperandField() 2159 Function::Parameter parameter(type, program_.lang); in ParseFunctionArg()
|
D | assembly-parser.h | 229 … std::string(context_.GiveToken().data(), context_.GiveToken().length()), program_.lang, in TryEmplaceInTable()
|
D | assembly-emitter.cpp | 652 … Type::FromDescriptor(panda::panda_file::GetStringClassDescriptor(program.lang)), 1)) != in MakeLiteralItems() 914 (*area)->SetSourceLang(program.lang); in HandleRecordOnwer()
|
/arkcompiler/runtime_core/assembler/extensions/ |
D | extensions.h | 32 static std::unique_ptr<RecordMetadata> CreateRecordMetadata(panda::panda_file::SourceLang lang); 34 static std::unique_ptr<FieldMetadata> CreateFieldMetadata(panda::panda_file::SourceLang lang); 36 …tatic std::unique_ptr<FunctionMetadata> CreateFunctionMetadata(panda::panda_file::SourceLang lang); 38 static std::unique_ptr<ParamMetadata> CreateParamMetadata(panda::panda_file::SourceLang lang);
|
D | register_extensions.h.erb | 23 …andasm::RecordMetadata> MetadataExtension::CreateRecordMetadata(panda::panda_file::SourceLang lang) 25 switch (lang) { 38 …:pandasm::FieldMetadata> MetadataExtension::CreateFieldMetadata(panda::panda_file::SourceLang lang) 40 switch (lang) { 53 …sm::FunctionMetadata> MetadataExtension::CreateFunctionMetadata(panda::panda_file::SourceLang lang) 55 switch (lang) { 68 …:pandasm::ParamMetadata> MetadataExtension::CreateParamMetadata(panda::panda_file::SourceLang lang) 70 switch (lang) {
|
/arkcompiler/runtime_core/templates/ |
D | common.rb | 85 def lang_field_name(lang) argument 86 "#{lang}.#{name}".tr('-', '_').tr('.', '_') + '_' 89 def lang_camel_name(lang) argument 90 n = "#{lang}.#{name}".split(Regexp.union(['-', '.'])).map(&:capitalize).join 188 option.lang.each do |lang| 189 lang_spec_option[:description] = "#{option.description}. Only for #{lang}" 190 lang_spec_option[:name] = "#{lang}.#{option.name}"
|
/arkcompiler/runtime_core/templates/options/ |
D | options.h.erb | 67 <%= op.type %> <%= op.getter_name %>([[maybe_unused]] std::string_view lang = "") const { 81 bool WasSet<%= op.camel_name %>([[maybe_unused]] std::string_view lang = "") const { 89 <%= op.type %> <%= op.getter_name %>(std::string_view lang) const { 93 % op.lang.each do |lang| 94 if (lang == "<%= "#{lang}" %>") { 95 …return WasSet<%= op.lang_camel_name(lang) %>() ? <%= op.lang_field_name(lang) %>.GetValue() : <%= … 108 bool WasSet<%= op.camel_name %>(std::string_view lang) const { 112 % op.lang.each do |lang| 113 if (lang == "<%= "#{lang}" %>") { 114 return <%= op.lang_field_name(lang) %>.WasSet();
|
/arkcompiler/runtime_core/libpandafile/templates/ |
D | source_lang_enum.h.erb | 39 static constexpr size_t GetLangArrIndex(panda_file::SourceLang lang) 42 if (panda::panda_file::LANG_ITERATOR[index] == lang) { 51 inline std::ostream &operator<<(std::ostream &stream, SourceLang lang) 53 switch (lang) {
|
/arkcompiler/ets_frontend/merge_abc/src/ |
D | assemblyProgramProto.cpp | 21 protoProgram.set_lang(static_cast<uint32_t>(program.lang)); in Serialize() 55 program.lang = static_cast<panda::panda_file::SourceLang>(protoProgram.lang()); in Deserialize()
|
/arkcompiler/runtime_core/libpandafile/ |
D | file_items.cpp | 27 bool IsDynamicLanguage(panda::panda_file::SourceLang lang) in IsDynamicLanguage() argument 29 return lang == panda::panda_file::SourceLang::ECMASCRIPT; in IsDynamicLanguage() 32 std::optional<panda::panda_file::SourceLang> LanguageFromString(std::string_view lang) in LanguageFromString() argument 34 if (lang == "ECMAScript") { in LanguageFromString() 40 const char *LanguageToString(panda::panda_file::SourceLang lang) in LanguageToString() argument 42 if (lang == panda::panda_file::SourceLang::ECMASCRIPT) { in LanguageToString() 48 const char *GetCtorName([[maybe_unused]] panda::panda_file::SourceLang lang) in GetCtorName() argument 53 const char *GetCctorName([[maybe_unused]] panda::panda_file::SourceLang lang) in GetCctorName() argument 58 const char *GetStringClassDescriptor(panda::panda_file::SourceLang lang) in GetStringClassDescriptor() argument 60 if (lang == panda::panda_file::SourceLang::ECMASCRIPT) { in GetStringClassDescriptor()
|
D | file_items.h | 85 bool IsDynamicLanguage(panda::panda_file::SourceLang lang); 86 std::optional<panda::panda_file::SourceLang> LanguageFromString(std::string_view lang); 87 const char *LanguageToString(panda::panda_file::SourceLang lang); 88 const char *GetCtorName(panda::panda_file::SourceLang lang); 89 const char *GetCctorName(panda::panda_file::SourceLang lang); 90 const char *GetStringClassDescriptor(panda::panda_file::SourceLang lang); 864 void SetSourceLang(SourceLang lang) in SetSourceLang() argument 866 source_lang_ = lang; in SetSourceLang() 1030 void SetSourceLang(SourceLang lang) in SetSourceLang() argument 1032 source_lang_ = lang; in SetSourceLang()
|
/arkcompiler/ets_frontend/merge_abc/protos/ |
D | assemblyProgram.proto | 41 uint32 lang = 1; field
|
/arkcompiler/runtime_core/tests/checked/ |
D | stack_overflow.pa | 20 #.record java.lang.StackOverflowError <external>
|
/arkcompiler/runtime_core/docs/ |
D | irtoc.md | 15 Each opcode in the IR instructions has corresponding token in the irtoc lang. For example, IR instr… 29 available in Irtoc lang. They can be set in the similar way as in the IrConstructor:
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
D | ir_interface.h | 148 return prog_ != nullptr ? prog_->lang : panda_file::SourceLang::PANDA_ASSEMBLY; in GetSourceLang()
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 1502 prog.lang = panda::pandasm::extensions::Language::ECMASCRIPT; in EmitAndRestoreProgram() 1585 prog.lang = panda::pandasm::extensions::Language::ECMASCRIPT; in GenerateProgramsFromPipe() 1602 prog.lang = panda::pandasm::extensions::Language::ECMASCRIPT; in GenerateProgram() 1643 prog.lang = LANG_EXT; in CompileNpmEntries()
|
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
D | emitter.cpp | 308 prog_->lang = LANG_EXT; in Emitter()
|
/arkcompiler/ets_frontend/legacy_bin/api8/src/ |
D | index.js | 2 …es:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:… property
|
/arkcompiler/ets_frontend/es2panda/test/compiler/js/ |
D | cocos_worker_test.js | 7098 …return "string" == typeof t ? t.substr(e, i) : t.length >= e + i || e ? new java.lang.String(t, e,…
|