Home
last modified time | relevance | path

Searched refs:memberVar (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/ets_frontend/es2panda/ir/ts/
DtsTupleType.cpp61 auto *memberVar = in GetType() local
70 memberVar->AddFlag(binder::VariableFlags::OPTIONAL); in GetType()
77 memberType->SetVariable(memberVar); in GetType()
78 memberVar->SetTsType(memberType); in GetType()
80 namedMembers.insert({memberVar, namedMember->Label()->AsIdentifier()->Name()}); in GetType()
83 memberType->SetVariable(memberVar); in GetType()
84 memberVar->SetTsType(memberType); in GetType()
93 desc->properties.push_back(memberVar); in GetType()
/arkcompiler/ets_frontend/es2panda/typescript/core/
DdestructuringContext.cpp214 binder::Variable *memberVar = tuple->GetProperty(memberIndex, false); in GetTypeFromTupleByIndex() local
216 if (!memberVar) { in GetTypeFromTupleByIndex()
220 return memberVar->TsType(); in GetTypeFromTupleByIndex()
318 auto *memberVar = in CreateTupleTypeForRest() local
320 memberVar->SetTsType(tupleElementType); in CreateTupleTypeForRest()
322 desc->properties.push_back(memberVar); in CreateTupleTypeForRest()
542 auto *memberVar = in CreateObjectTypeForRest() local
544 memberVar->SetTsType(it->TsType()); in CreateObjectTypeForRest()
545 memberVar->AddFlag(it->Flags()); in CreateObjectTypeForRest()
546 desc->properties.push_back(memberVar); in CreateObjectTypeForRest()
/arkcompiler/ets_frontend/es2panda/ir/expressions/
DarrayExpression.cpp361 auto *memberVar = in CheckPattern() local
365 memberVar->AddFlag(binder::VariableFlags::OPTIONAL); in CheckPattern()
370 memberVar->SetTsType(elementType); in CheckPattern()
372 desc->properties.insert(desc->properties.begin(), memberVar); in CheckPattern()
DobjectExpression.cpp665 auto *memberVar = binder::Scope::CreateVar(checker->Allocator(), propName, flags, it); in Check() local
668 memberVar->AddFlag(binder::VariableFlags::READONLY); in Check()
673 memberVar->SetTsType(propType); in Check()
676 memberVar->AddFlag(binder::VariableFlags::NUMERIC_NAME); in Check()
687 desc->properties.push_back(memberVar); in Check()