Home
last modified time | relevance | path

Searched refs:SourceTextModuleRecord (Results 1 – 19 of 19) sorted by relevance

/arkcompiler/ets_frontend/es2panda/parser/module/
DsourceTextModuleRecord.cpp20 int SourceTextModuleRecord::AddModuleRequest(const util::StringView source) in AddModuleRequest()
36 void SourceTextModuleRecord::AddImportEntry(SourceTextModuleRecord::ImportEntry *entry) in AddImportEntry()
49 void SourceTextModuleRecord::AddStarImportEntry(SourceTextModuleRecord::ImportEntry *entry) in AddStarImportEntry()
62 bool SourceTextModuleRecord::AddLocalExportEntry(SourceTextModuleRecord::ExportEntry *entry) in AddLocalExportEntry()
85 bool SourceTextModuleRecord::AddIndirectExportEntry(SourceTextModuleRecord::ExportEntry *entry) in AddIndirectExportEntry()
99 void SourceTextModuleRecord::AddStarExportEntry(SourceTextModuleRecord::ExportEntry *entry) in AddStarExportEntry()
108 bool SourceTextModuleRecord::HasDuplicateExport(util::StringView exportName) const in HasDuplicateExport()
111 const SourceTextModuleRecord::ExportEntry *e = entryUnit.second; in HasDuplicateExport()
126 …bool SourceTextModuleRecord::CheckImplicitIndirectExport(SourceTextModuleRecord::ExportEntry *expo… in CheckImplicitIndirectExport()
137 …void SourceTextModuleRecord::CheckImplicitIndirectExport(SourceTextModuleRecord::ImportEntry *impo… in CheckImplicitIndirectExport()
[all …]
DsourceTextModuleRecord.h30 class SourceTextModuleRecord {
32 explicit SourceTextModuleRecord(ArenaAllocator *allocator) in SourceTextModuleRecord() function
45 ~SourceTextModuleRecord() = default;
46 NO_COPY_SEMANTIC(SourceTextModuleRecord);
47 NO_MOVE_SEMANTIC(SourceTextModuleRecord);
/arkcompiler/ets_frontend/es2panda/compiler/core/emitter/
DmoduleRecordEmitter.h27 explicit ModuleRecordEmitter(parser::SourceTextModuleRecord *moduleRecord, int32_t bufferIdx) in ModuleRecordEmitter()
53 parser::SourceTextModuleRecord *moduleRecord_;
/arkcompiler/ets_frontend/es2panda/parser/program/
Dprogram.h78 SourceTextModuleRecord *ModuleRecord() const in ModuleRecord()
167 SourceTextModuleRecord *moduleRecord_ {nullptr};
Dprogram.cpp74 moduleRecord_ = allocator_->New<SourceTextModuleRecord>(Allocator()); in SetKind()
/arkcompiler/ets_frontend/es2panda/ir/module/
DexportDefaultDeclaration.cpp41 auto *var = pg->Scope()->FindLocal(parser::SourceTextModuleRecord::DEFAULT_LOCAL_NAME); in Compile()
/arkcompiler/ets_frontend/ts2panda/src/
Dscope.ts17 import { SourceTextModuleRecord } from "./ecmaModule";
420 private moduleRecord: SourceTextModuleRecord;
425 this.moduleRecord = new SourceTextModuleRecord(node.fileName);
DecmaModule.ts43 export class SourceTextModuleRecord { class
Dts2panda.ts18 import { SourceTextModuleRecord } from "./ecmaModule";
536 function makeModuleRecord(sourceTextModule: SourceTextModuleRecord): ModuleRecord {
/arkcompiler/ets_frontend/es2panda/ir/base/
DscriptFunction.cpp51 return parser::SourceTextModuleRecord::DEFAULT_LOCAL_NAME; in GetName()
DclassDefinition.cpp56 return parser::SourceTextModuleRecord::DEFAULT_LOCAL_NAME; in GetName()
/arkcompiler/ets_frontend/es2panda/parser/
DstatementParser.cpp1057 … parser::SourceTextModuleRecord::DEFAULT_LOCAL_NAME, func); in ParseFunctionDeclaration()
2038 auto importName = parser::SourceTextModuleRecord::DEFAULT_EXTERNAL_NAME; in AddImportEntryItem()
2040 auto *entry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ImportEntry>( in AddImportEntryItem()
2048 auto *entry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ImportEntry>( in AddImportEntryItem()
2058 auto *entry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ImportEntry>( in AddImportEntryItem()
2084 auto *entry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ExportEntry>( in AddExportNamedEntryItem()
2098 auto *entry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ExportEntry>( in AddExportNamedEntryItem()
2128 auto *importEntry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ImportEntry>( in AddExportStarEntryItem()
2130 auto *exportEntry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ExportEntry>( in AddExportStarEntryItem()
2139 …auto *entry = moduleRecord->NewEntry<parser::SourceTextModuleRecord::ExportEntry>(moduleRequestIdx… in AddExportStarEntryItem()
[all …]
DparserImpl.h431 parser::SourceTextModuleRecord *GetSourceTextModuleRecord();
505 std::string name = std::string(parser::SourceTextModuleRecord::ANONY_NAMESPACE_NAME) +
DparserImpl.cpp3538 parser::SourceTextModuleRecord *ParserImpl::GetSourceTextModuleRecord() in GetSourceTextModuleRecord()
/arkcompiler/ets_frontend/es2panda/compiler/base/
Dlreference.cpp130 util::StringView name = parser::SourceTextModuleRecord::DEFAULT_LOCAL_NAME; in CreateLRef()
Dhoisting.cpp83 parser::SourceTextModuleRecord *moduleRecord = pg->Binder()->Program()->ModuleRecord(); in HoistNameSpaceImports()
/arkcompiler/ets_frontend/es2panda/parser/transformer/
Dtransformer.h123 SourceTextModuleRecord *GetSourceTextModuleRecord() in GetSourceTextModuleRecord()
Dtransformer.cpp492 …auto *entry = moduleRecord->NewEntry<SourceTextModuleRecord::ExportEntry>(name, name, identifier, … in AddExportLocalEntryItem()
/arkcompiler/ets_frontend/es2panda/util/
Dhelpers.cpp323 return parser::SourceTextModuleRecord::DEFAULT_EXTERNAL_NAME; in FunctionName()
385 return parser::SourceTextModuleRecord::DEFAULT_EXTERNAL_NAME; in FunctionName()