Lines Matching full:it
35 for (auto *it : elements_) { in ConvertibleToArrayPattern() local
36 switch (it->Type()) { in ConvertibleToArrayPattern()
38 convResult = it->AsArrayExpression()->ConvertibleToArrayPattern(); in ConvertibleToArrayPattern()
42 if (!restFound && it == elements_.back() && !trailingComma_) { in ConvertibleToArrayPattern()
43 convResult = it->AsSpreadElement()->ConvertibleToRest(isDeclaration_); in ConvertibleToArrayPattern()
51 convResult = it->AsObjectExpression()->ConvertibleToObjectPattern(); in ConvertibleToArrayPattern()
55 convResult = it->AsAssignmentExpression()->ConvertibleToAssignmentPattern(); in ConvertibleToArrayPattern()
82 for (auto *it : elements_) { in ValidateExpression() local
83 switch (it->Type()) { in ValidateExpression()
85 info = it->AsObjectExpression()->ValidateExpression(); in ValidateExpression()
89 info = it->AsArrayExpression()->ValidateExpression(); in ValidateExpression()
93 auto *assignmentExpr = it->AsAssignmentExpression(); in ValidateExpression()
104 info = it->AsSpreadElement()->ValidateExpression(); in ValidateExpression()
122 for (auto *it : elements_) { in Iterate() local
123 cb(it); in Iterate()
156 for (auto *it : spreadTuple->Properties()) { in GetSpreadElementType() local
158 elementTypes.push_back(it->TsType()); in GetSpreadElementType()
162 tupleElementTypes.push_back(it->TsType()); in GetSpreadElementType()
187 for (auto *it : tuple->Properties()) { in GetSpreadElementType() local
188 spreadTypes.push_back(it->TsType()); in GetSpreadElementType()
215 for (auto *it : elements_) { in Check() local
216 if (it->IsSpreadElement()) { in Check()
217 checker::Type *spreadType = it->AsSpreadElement()->Argument()->Check(checker); in Check()
225 GetSpreadElementType(checker, spreadType, elementTypes, it->Start()); in Check()
230 checker::Type *elementType = it->Check(checker); in Check()
244 for (auto it = elementTypes.begin(); it != elementTypes.end(); it++, index++) { in Check() local
253 tupleMember->SetTsType(*it); in Check()
280 for (auto it = elements_.rbegin(); it != elements_.rend(); it++) { in CheckPattern() local
284 switch ((*it)->Type()) { in CheckPattern()
292 elementType = (*it)->AsObjectPattern()->CheckPattern(checker); in CheckPattern()
298 elementType = (*it)->AsArrayPattern()->CheckPattern(checker); in CheckPattern()
304 const ir::AssignmentExpression *assignmentPattern = (*it)->AsAssignmentPattern(); in CheckPattern()
346 const ir::Identifier *ident = (*it)->AsIdentifier(); in CheckPattern()
362 … binder::Scope::CreateVar(checker->Allocator(), memberIndex, binder::VariableFlags::PROPERTY, *it); in CheckPattern()