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";
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/es2panda/binder/
Dscope.cpp385 res->second = allocator->New<ModuleVariable>(decl, flags | VariableFlags::LOCAL_EXPORT); in ConvertLocalVariableToModuleVariable()
409 AddVar<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
420 AddFunction<ModuleVariable>(allocator, currentVariable, newDecl, extension) : in AddBinding()
425 AddClass<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
445 AddLexical<ModuleVariable>(allocator, currentVariable, newDecl) : in AddBinding()
Dvariable.cpp69 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.h89 _(MODULE, ModuleVariable) \
/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/compiler/core/
Dpandagen.h428 void LoadLocalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
429 … void LoadExternalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
430 void StoreModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable);
Dpandagen.cpp1684 void PandaGen::LoadLocalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *varia… in LoadLocalModuleVariable()
1691 void PandaGen::LoadExternalModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *va… in LoadExternalModuleVariable()
1708 void PandaGen::StoreModuleVariable(const ir::AstNode *node, const binder::ModuleVariable *variable) in StoreModuleVariable()