Home
last modified time | relevance | path

Searched refs:ModuleVariable (Results 1 – 13 of 13) 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";
247 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++);
252 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++);
Dscope.ts23 ModuleVariable,
445 v = new ModuleVariable(declKind, name, InitStatus.UNINITIALIZED);
447 (<ModuleVariable>v).setExport();
Dvariable.ts145 export class ModuleVariable extends Variable { class
Dcompiler.ts121 ModuleVariable,
736 … let defaultV: ModuleVariable = <ModuleVariable>(this.pandaGen.getScope().findLocal("*default*"));
1445 } else if (variable.v instanceof ModuleVariable) {
1499 } else if (variable.v instanceof ModuleVariable) {
Dpandagen.ts193 ModuleVariable,
1285 loadModuleVariable(node: ts.Node, v: ModuleVariable, isLocal: boolean) {
1301 storeModuleVariable(node: ts.Node | NodeKind, v: ModuleVariable) {
/arkcompiler/ets_frontend/ts2panda/src/statement/
DclassStatement.ts55 ModuleVariable,
131 let v: ModuleVariable = <ModuleVariable>(pandaGen.getScope().findLocal(className));
135 … let defaultV: ModuleVariable = <ModuleVariable>(pandaGen.getScope().findLocal("*default*"));
147 (<LocalVariable | ModuleVariable>classInfo.v).initialize();
148 if (classInfo.v instanceof ModuleVariable) {
149 … let v: ModuleVariable = <ModuleVariable>(pandaGen.getScope().findLocal(className));
/arkcompiler/ets_frontend/es2panda/binder/
Dscope.cpp384 res->second = allocator->New<ModuleVariable>(decl, flags | VariableFlags::LOCAL_EXPORT); in ConvertLocalVariableToModuleVariable()
408 AddVar<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
416 AddFunction<ModuleVariable>(allocator, currentVariable, newDecl, extension) : in AddBinding()
440 AddLexical<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
Dvariable.h178 class ModuleVariable : public Variable {
180 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() function
Dvariable.cpp69 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::Hotfix *hotfi… in SetLexical()
DvariableFlags.h88 _(MODULE, ModuleVariable) \
/arkcompiler/ets_frontend/es2panda/compiler/core/
Dpandagen.h408 void LoadLocalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
409 … void LoadExternalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
410 void StoreModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
Dpandagen.cpp1673 void PandaGen::LoadLocalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *varia… in LoadLocalModuleVariable()
1680 void PandaGen::LoadExternalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *va… in LoadExternalModuleVariable()
1687 void PandaGen::StoreModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable) in StoreModuleVariable()