| /arkcompiler/ets_frontend/merge_abc/src/ |
| D | assemblyDebugProto.h | 29 class LocalVariable { 31 static void Serialize(const panda::pandasm::debuginfo::LocalVariable &debug, 32 protoPanda::LocalVariable &protoDebug); 33 static void Deserialize(const protoPanda::LocalVariable &protoDebug, 34 panda::pandasm::debuginfo::LocalVariable &debug);
|
| D | assemblyDebugProto.cpp | 37 void LocalVariable::Serialize(const panda::pandasm::debuginfo::LocalVariable &debug, in Serialize() 38 protoPanda::LocalVariable &protoDebug) in Serialize() 48 void LocalVariable::Deserialize(const protoPanda::LocalVariable &protoDebug, in Deserialize() 49 panda::pandasm::debuginfo::LocalVariable &debug) in Deserialize()
|
| D | assemblyFunctionProto.cpp | 76 LocalVariable::Serialize(debug, *protoDebug); in Serialize() 134 panda::pandasm::debuginfo::LocalVariable localVariable; in Deserialize() 135 LocalVariable::Deserialize(protoLocalVariable, localVariable); in Deserialize()
|
| /arkcompiler/ets_frontend/es2panda/binder/ |
| D | variable.cpp | 24 LocalVariable::LocalVariable(Decl *decl, VariableFlags flags) : Variable(decl, flags) in LocalVariable() function in panda::es2panda::binder::LocalVariable 36 LocalVariable *LocalVariable::Copy(ArenaAllocator *allocator, Decl *decl) const in Copy() 38 auto *var = allocator->New<LocalVariable>(decl, flags_); in Copy() 43 void LocalVariable::SetLexical(Scope *scope, util::PatchFix *patchFixHelper) in SetLexical()
|
| D | scope.cpp | 209 … scope->PropagateBinding<LocalVariable>(allocator, newDecl->Name(), newDecl, varFlags); in AddLocal() 219 …bindings_.insert({newDecl->Name(), allocator->New<LocalVariable>(newDecl, VariableFlags::INTERFACE… in AddLocal() 235 bindings_.insert({newDecl->Name(), allocator->New<LocalVariable>(newDecl, flags)}); in AddLocal() 249 auto *param = allocator->New<LocalVariable>(newDecl, flags); in AddParam() 282 auto *paramVar = allocator->New<LocalVariable>(varDecl, VariableFlags::VAR); in AddParamDecl() 291 nameVar_ = AddDecl<ConstDecl, LocalVariable>(allocator, name, VariableFlags::INITIALIZED); in BindName() 307 return AddVar<LocalVariable>(allocator, currentVariable, newDecl); in AddBinding() 310 return AddFunction<LocalVariable>(allocator, currentVariable, newDecl, extension); in AddBinding() 313 return AddClass<LocalVariable>(allocator, currentVariable, newDecl); in AddBinding() 325 … return AddTSBinding<LocalVariable>(allocator, currentVariable, newDecl, VariableFlags::INTERFACE); in AddBinding() [all …]
|
| D | variable.h | 129 class LocalVariable : public Variable { 131 explicit LocalVariable(Decl *decl, VariableFlags flags); 163 LocalVariable *Copy(ArenaAllocator *allocator, Decl *decl) const;
|
| /arkcompiler/ets_frontend/es2panda/typescript/types/ |
| D | signature.h | 24 class LocalVariable; variable 51 binder::LocalVariable *restVar {}; 52 ArenaVector<binder::LocalVariable *> params; 70 const ArenaVector<binder::LocalVariable *> &Params() const in Params() 110 const binder::LocalVariable *RestVar() const in RestVar()
|
| D | objectDescriptor.h | 24 class LocalVariable; variable 48 binder::LocalVariable *FindProperty(const util::StringView &name) const; 52 ArenaVector<binder::LocalVariable *> properties;
|
| D | interfaceType.h | 68 …binder::LocalVariable *GetProperty(const util::StringView &name, [[maybe_unused]] bool searchInBas… in GetProperty() 70 binder::LocalVariable *resultProp = ObjectType::GetProperty(name, false); in GetProperty() 125 ArenaVector<binder::LocalVariable *> Properties() override in Properties() 127 ArenaVector<binder::LocalVariable *> properties(allocator_->Adapter()); in Properties() 138 void CollectProperties(ArenaVector<binder::LocalVariable *> *collectedPropeties) const;
|
| D | objectType.h | 28 class LocalVariable; variable 127 virtual ArenaVector<binder::LocalVariable *> Properties() in DEFINE_BITOPS() 142 void AddProperty(binder::LocalVariable *prop) in DEFINE_BITOPS() 147 …virtual binder::LocalVariable *GetProperty(const util::StringView &name, [[maybe_unused]] bool sea… in DEFINE_BITOPS()
|
| D | interfaceType.cpp | 54 const ArenaVector<binder::LocalVariable *> &targetProperties = Properties(); in Identical() 55 const ArenaVector<binder::LocalVariable *> &sourceProperties = otherInterface->Properties(); in Identical() 65 [targetProp, relation](binder::LocalVariable *sourceProp) { in Identical() 163 void InterfaceType::CollectProperties(ArenaVector<binder::LocalVariable *> *collectedPropeties) con… in CollectProperties()
|
| D | tupleType.h | 27 using NamedTupleMemberPool = std::unordered_map<binder::LocalVariable *, util::StringView>; 99 const util::StringView &FindNamedMemberName(binder::LocalVariable *member) const in FindNamedMemberName()
|
| D | objectType.cpp | 71 binder::LocalVariable *found = otherObj->Desc()->FindProperty(it->Name()); in Identical() 116 const ArenaVector<binder::LocalVariable *> &targetProperties = Properties(); in AssignProperties() 121 binder::LocalVariable *found = source->GetProperty(it->Name(), true); in AssignProperties()
|
| D | objectDescriptor.cpp | 24 binder::LocalVariable *ObjectDescriptor::FindProperty(const util::StringView &name) const in FindProperty()
|
| D | tupleType.cpp | 78 binder::LocalVariable *targetProp = desc_->properties[i]; in Identical() 79 binder::LocalVariable *sourceProp = otherTuple->Properties()[i]; in Identical()
|
| /arkcompiler/ets_frontend/ts2panda/tests/expression/ |
| D | thisKeyWord.test.ts | 26 import { LocalVariable } from "../../src/variable"; 48 expect(thisVar instanceof LocalVariable).to.be.true; 64 expect(thisVar instanceof LocalVariable).to.be.true;
|
| /arkcompiler/ets_frontend/ts2panda/tests/statements/ |
| D | variableDeclaration.test.ts | 39 LocalVariable 78 expect(v instanceof LocalVariable).to.be.true; 94 expect(v instanceof LocalVariable).to.be.true; 128 expect(v instanceof LocalVariable).to.be.true; 148 expect(i instanceof LocalVariable).to.be.true; 150 expect(j instanceof LocalVariable).to.be.true; 159 expect(i instanceof LocalVariable).to.be.true; 161 expect(j instanceof LocalVariable).to.be.true; 180 expect(i instanceof LocalVariable).to.be.true;
|
| D | functionDeclaration.test.ts | 38 LocalVariable 102 expect(foo instanceof LocalVariable).to.be.true;
|
| /arkcompiler/ets_frontend/es2panda/typescript/ |
| D | checker.h | 38 class LocalVariable; variable 111 using FunctionParamsResolveResult = std::variant<std::vector<binder::LocalVariable *> &, bool>; 112 using InterfacePropertyMap = std::unordered_map<util::StringView, std::pair<binder::LocalVariable *… 115 using PropertyMap = std::unordered_map<util::StringView, binder::LocalVariable *>; 415 std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> CheckFunctionParameter( 417 …std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> CheckFunctionIdentifierParamete… 419 …std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> CheckFunctionAssignmentPatternP… 421 std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> CheckFunctionRestParameter( 423 …std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> CheckFunctionArrayPatternParame… 425 …std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> CheckFunctionObjectPatternParam…
|
| /arkcompiler/ets_frontend/es2panda/typescript/core/ |
| D | function.cpp | 121 std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> Checker::CheckFunctionIdentifier… in CheckFunctionIdentifierParameter() 158 binder::LocalVariable *newMember = binder::Scope::CreateVar( in CreateParameterTypeForArrayAssignmentPattern() 182 …binder::LocalVariable *foundVar = newObject->GetProperty(prop->Key()->AsIdentifier()->Name(), true… in CreateParameterTypeForObjectAssignmentPattern() 195 binder::LocalVariable *newProp = in CreateParameterTypeForObjectAssignmentPattern() 206 std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> Checker::CheckFunctionAssignment… in CheckFunctionAssignmentPatternParameter() 249 binder::LocalVariable *patternVar = in CheckFunctionAssignmentPatternParameter() 256 std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> Checker::CheckFunctionRestParame… in CheckFunctionRestParameter() 322 std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> Checker::CheckFunctionArrayPatte… in CheckFunctionArrayPatternParameter() 328 binder::LocalVariable *patternVar = in CheckFunctionArrayPatternParameter() 344 std::tuple<binder::LocalVariable *, binder::LocalVariable *, bool> Checker::CheckFunctionObjectPatt… in CheckFunctionObjectPatternParameter() [all …]
|
| /arkcompiler/ets_frontend/ts2panda/tests/ |
| D | scope.test.ts | 27 LocalVariable, 55 expect(variable instanceof LocalVariable).to.be.true; 65 expect(variable instanceof LocalVariable).to.be.true; 93 expect(variable instanceof LocalVariable).to.be.true; 103 expect(variable instanceof LocalVariable).to.be.true; 113 expect(variable instanceof LocalVariable).to.be.true; 144 expect(variable instanceof LocalVariable).to.be.true; 159 expect(variable instanceof LocalVariable).to.be.true; 172 expect(variable instanceof LocalVariable).to.be.true;
|
| /arkcompiler/ets_frontend/ts2panda/src/ |
| D | scope.ts | 21 LocalVariable, 304 protected parameters: LocalVariable[] = []; 342 if (!(v instanceof LocalVariable)) { 370 getParameters(): LocalVariable[] { 412 v = new LocalVariable(declKind, name, status); 453 v = new LocalVariable(declKind, name); 455 v = new LocalVariable(declKind, name, status); 504 v = new LocalVariable(declKind, name); 507 v = new LocalVariable(declKind, name, status); 537 v = new LocalVariable(declKind, name, status);
|
| D | lexenv.ts | 36 LocalVariable, 86 if (!(<LocalVariable>v).isInitialized()) { 131 let v = <LocalVariable>this.variable; 156 let v = <LocalVariable>this.variable;
|
| /arkcompiler/runtime_core/assembler/ |
| D | assembly-debug.h | 47 struct LocalVariable { struct
|
| /arkcompiler/ets_frontend/es2panda/compiler/debugger/ |
| D | debuginfoDumper.h | 43 void WriteVariableInfo(const pandasm::debuginfo::LocalVariable &localVariableDebug);
|