Searched refs:memberVar (Results 1 – 4 of 4) sorted by relevance
61 auto *memberVar = in GetType() local70 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()
214 binder::Variable *memberVar = tuple->GetProperty(memberIndex, false); in GetTypeFromTupleByIndex() local216 if (!memberVar) { in GetTypeFromTupleByIndex()220 return memberVar->TsType(); in GetTypeFromTupleByIndex()318 auto *memberVar = in CreateTupleTypeForRest() local320 memberVar->SetTsType(tupleElementType); in CreateTupleTypeForRest()322 desc->properties.push_back(memberVar); in CreateTupleTypeForRest()542 auto *memberVar = in CreateObjectTypeForRest() local544 memberVar->SetTsType(it->TsType()); in CreateObjectTypeForRest()545 memberVar->AddFlag(it->Flags()); in CreateObjectTypeForRest()546 desc->properties.push_back(memberVar); in CreateObjectTypeForRest()
361 auto *memberVar = in CheckPattern() local365 memberVar->AddFlag(binder::VariableFlags::OPTIONAL); in CheckPattern()370 memberVar->SetTsType(elementType); in CheckPattern()372 desc->properties.insert(desc->properties.begin(), memberVar); in CheckPattern()
665 auto *memberVar = binder::Scope::CreateVar(checker->Allocator(), propName, flags, it); in Check() local668 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()