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"; 247 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++); 252 (<ModuleVariable>moduleScope.findLocal(localName)!).assignIndex(index++);
|
| D | scope.ts | 23 ModuleVariable, 445 v = new ModuleVariable(declKind, name, InitStatus.UNINITIALIZED); 447 (<ModuleVariable>v).setExport();
|
| D | variable.ts | 145 export class ModuleVariable extends Variable { class
|
| D | compiler.ts | 121 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) {
|
| D | pandagen.ts | 193 ModuleVariable, 1285 loadModuleVariable(node: ts.Node, v: ModuleVariable, isLocal: boolean) { 1301 storeModuleVariable(node: ts.Node | NodeKind, v: ModuleVariable) {
|
| /arkcompiler/ets_frontend/ts2panda/src/statement/ |
| D | classStatement.ts | 55 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/ |
| D | scope.cpp | 384 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()
|
| D | variable.h | 178 class ModuleVariable : public Variable { 180 explicit ModuleVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) {} in ModuleVariable() function
|
| D | variable.cpp | 69 void ModuleVariable::SetLexical([[maybe_unused]] Scope *scope, [[maybe_unused]] util::Hotfix *hotfi… in SetLexical()
|
| D | variableFlags.h | 88 _(MODULE, ModuleVariable) \
|
| /arkcompiler/ets_frontend/es2panda/compiler/core/ |
| D | pandagen.h | 408 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);
|
| D | pandagen.cpp | 1673 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()
|