Home
last modified time | relevance | path

Searched refs:ModuleVariable (Results 1 – 17 of 17) sorted by relevance

/arkcompiler/ets_frontend/ts2panda/src/
Dhoisting.ts34 import { ModuleVariable } from "./variable";
60 let v: ModuleVariable = <ModuleVariable>(scope.findLocal(name)!);
81 let v: ModuleVariable = <ModuleVariable>(scope.findLocal(funcName)!);
DecmaModule.ts23 import { ModuleVariable } from "./variable";
251 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++);
256 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++);
Dvariable.ts145 export class ModuleVariable extends Variable { class
Dscope.ts23 ModuleVariable,
445 v = new ModuleVariable(declKind, name, InitStatus.UNINITIALIZED);
447 (<ModuleVariable>v).setExport();
Dcompiler.ts121 ModuleVariable,
737 … let defaultV: ModuleVariable = <ModuleVariable>(this.pandaGen.getScope().findLocal("*default*"));
1446 } else if (variable.v instanceof ModuleVariable) {
1500 } else if (variable.v instanceof ModuleVariable) {
Dpandagen.ts193 ModuleVariable,
1285 loadModuleVariable(node: ts.Node, v: ModuleVariable, isLocal: boolean): void {
1301 storeModuleVariable(node: ts.Node | NodeKind, v: ModuleVariable): void {
/arkcompiler/ets_frontend/ets2panda/varbinder/
Dvariable.cpp56 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope) {} in SetLexical()
Dvariable.h203 class ModuleVariable : public Variable {
205 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() function
DvariableFlags.h98 _(MODULE, ModuleVariable) \
Dscope.cpp578 auto *variable = allocator->New<ModuleVariable>(newDecl, VariableFlags::NONE); in AddImport()
/arkcompiler/ets_frontend/ts2panda/src/statement/
DclassStatement.ts55 ModuleVariable,
133 let v: ModuleVariable = <ModuleVariable>(pandaGen.getScope().findLocal(className));
137 … let defaultV: ModuleVariable = <ModuleVariable>(pandaGen.getScope().findLocal("*default*"));
149 (<LocalVariable | ModuleVariable>classInfo.v).initialize();
150 if (classInfo.v instanceof ModuleVariable) {
151 … let v: ModuleVariable = <ModuleVariable>(pandaGen.getScope().findLocal(className));
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp518 res->second = allocator->New<ModuleVariable>(decl, flags | VariableFlags::LOCAL_EXPORT); in ConvertLocalVariableToModuleVariable()
542 AddVar<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
553 AddFunction<ModuleVariable>(allocator, currentVariable, newDecl, extension) : in AddBinding()
558 AddClass<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
578 AddLexical<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
Dvariable.cpp75 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *pat… in SetLexical()
Dvariable.h181 class ModuleVariable : public Variable {
183 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() function
DvariableFlags.h92 _(MODULE, ModuleVariable) \
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.h442 void LoadLocalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
443 … void LoadExternalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
444 void StoreModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
Dpandagen.cpp1772 void PandaGen::LoadLocalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *varia… in LoadLocalModuleVariable()
1779 void PandaGen::LoadExternalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *va… in LoadExternalModuleVariable()
1797 void PandaGen::StoreModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable) in StoreModuleVariable()