Searched refs:LANG_EXT (Results 1 – 4 of 4) sorted by relevance
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/ |
D | commonjs.cpp | 21 constexpr const auto LANG_EXT = panda::pandasm::extensions::Language::ECMASCRIPT; variable 25 auto isCommonJsField = panda::pandasm::Field(LANG_EXT); in SetCommonjsField() 35 auto commonjsRecord = panda::pandasm::Record("_CommonJsRecord", LANG_EXT); in GenCommonjsRecord() 37 auto isCommonJsField = panda::pandasm::Field(LANG_EXT); in GenCommonjsRecord()
|
D | emitter.cpp | 44 constexpr const auto LANG_EXT = panda::pandasm::extensions::Language::ECMASCRIPT; variable 49 func_ = allocator->New<panda::pandasm::Function>(pg->InternalName().Mutf8(), LANG_EXT); in FunctionEmitter() 55 func_->params.emplace_back(panda::pandasm::Type("any", 0), LANG_EXT); in FunctionEmitter() 308 prog_->lang = LANG_EXT; in Emitter() 319 … rec_ = new panda::pandasm::Record(recordName.substr(0, recordName.find_last_of('.')), LANG_EXT); in Emitter() 337 auto pkgNameField = panda::pandasm::Field(LANG_EXT); in SetPkgNameField() 354 auto typeInfoRecord = panda::pandasm::Record(TypeExtractorEmitter::TYPE_INFO_RECORD, LANG_EXT); in GenTypeInfoRecord() 361 …uto typeAnnotationRecord = panda::pandasm::Record(TypeExtractorEmitter::TYPE_ANNOTATION, LANG_EXT); in GenESTypeAnnotationRecord() 406 auto moduleIdxField = panda::pandasm::Field(LANG_EXT); in AddSourceTextModuleRecord() 418 auto ecmaModuleRecord = panda::pandasm::Record("_ESModuleRecord", LANG_EXT); in AddSourceTextModuleRecord() [all …]
|
D | typeExtractorEmitter.cpp | 200 constexpr const auto LANG_EXT = panda::pandasm::extensions::Language::ECMASCRIPT; in GenTypeSummaryInfo() local 202 auto typeFlagField = Field(LANG_EXT); in GenTypeSummaryInfo() 209 auto typeSummaryIndexField = Field(LANG_EXT); in GenTypeSummaryInfo()
|
/arkcompiler/ets_frontend/ts2panda/ts2abc/ |
D | ts2abc.cpp | 38 constexpr const auto LANG_EXT = panda::pandasm::extensions::Language::ECMASCRIPT; variable 76 auto record = panda::pandasm::Record(name, LANG_EXT); in MakeRecordDefinition() 84 LANG_EXT, in MakeFuncDefintion() 544 params.emplace_back(panda::pandasm::Type("any", 0), LANG_EXT); in GetFunctionDefintion() 854 auto callTypeAnnotationRecord = panda::pandasm::Record("_ESCallTypeAnnotation", LANG_EXT); in GenerateESCallTypeAnnotationRecord() 861 auto tsTypeAnnotationRecord = panda::pandasm::Record(TSTYPE_ANNO_RECORD_NAME, LANG_EXT); in GenerateESTypeAnnotationRecord() 869 auto ecmaModuleRecord = panda::pandasm::Record("_ESModuleRecord", LANG_EXT); in GenerateESModuleRecord() 877 auto commonjsRecord = panda::pandasm::Record("_CommonJsRecord", LANG_EXT); in GenerateCommonJsRecord() 879 auto isCommonJsField = panda::pandasm::Field(LANG_EXT); in GenerateCommonJsRecord() 894 auto isCommonJsField = panda::pandasm::Field(LANG_EXT); in SetCommonjsField() [all …]
|