Searched refs:ModuleVariable (Results 1 – 13 of 13) sorted by relevance
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | hoisting.ts | 34 import { ModuleVariable } from "./variable"; 60 let v: ModuleVariable = <ModuleVariable>(scope.findLocal(name)!); 81 let v: ModuleVariable = <ModuleVariable>(scope.findLocal(funcName)!);
|
| D | ecmaModule.ts | 23 import { ModuleVariable } from "./variable"; 251 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++); 256 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++);
|
| D | variable.ts | 145 export class ModuleVariable extends Variable { class
|
| D | scope.ts | 23 ModuleVariable, 445 v = new ModuleVariable(declKind, name, InitStatus.UNINITIALIZED); 447 (<ModuleVariable>v).setExport();
|
| D | compiler.ts | 121 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) {
|
| D | pandagen.ts | 193 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/ |
| D | scope.cpp | 385 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()
|
| D | variable.cpp | 69 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::PatchFix *pat… in SetLexical()
|
| D | variable.h | 181 class ModuleVariable : public Variable { 183 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() function
|
| D | variableFlags.h | 89 _(MODULE, ModuleVariable) \
|
| /arkcompiler/ets_frontend/ts2panda/src/statement/ |
| D | classStatement.ts | 55 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/ |
| D | pandagen.h | 428 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);
|
| D | pandagen.cpp | 1684 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()
|