Lines Matching refs:assignment
1436 Assignment* assignment = AsAssignment(stat); in Update() local
1438 if (BlockContinues(assignment)) { in Update()
1439 UpdateBlock(assignment); in Update()
1444 if (!InBlock() && (assignment != NULL) && in Update()
1445 (assignment->op() == Token::ASSIGN)) { in Update()
1446 StartBlock(assignment); in Update()
1484 bool BlockContinues(Assignment* assignment) { in BlockContinues() argument
1485 if ((assignment == NULL) || (first_in_block_ == NULL)) return false; in BlockContinues()
1486 if (assignment->op() != Token::ASSIGN) return false; in BlockContinues()
1488 assignment->target()); in BlockContinues()
1491 void StartBlock(Assignment* assignment) { in StartBlock() argument
1492 first_in_block_ = assignment; in StartBlock()
1493 last_in_block_ = assignment; in StartBlock()
1497 void UpdateBlock(Assignment* assignment) { in UpdateBlock() argument
1498 last_in_block_ = assignment; in UpdateBlock()
1540 Assignment* assignment = AsAssignment(stat); in Update() local
1541 if (IsThisPropertyAssignment(assignment)) { in Update()
1542 HandleThisPropertyAssignment(scope, assignment); in Update()
1575 bool IsThisPropertyAssignment(Assignment* assignment) { in IsThisPropertyAssignment() argument
1576 if (assignment != NULL) { in IsThisPropertyAssignment()
1577 Property* property = assignment->target()->AsProperty(); in IsThisPropertyAssignment()
1578 return assignment->op() == Token::ASSIGN in IsThisPropertyAssignment()
1586 void HandleThisPropertyAssignment(Scope* scope, Assignment* assignment) { in HandleThisPropertyAssignment() argument
1588 Property* property = assignment->target()->AsProperty(); in HandleThisPropertyAssignment()
1599 if (assignment->value()->AsLiteral() != NULL) { in HandleThisPropertyAssignment()
1601 Literal* literal = assignment->value()->AsLiteral(); in HandleThisPropertyAssignment()
1604 } else if (assignment->value()->AsVariableProxy() != NULL) { in HandleThisPropertyAssignment()
1607 assignment->value()->AsVariableProxy()->name(); in HandleThisPropertyAssignment()
2200 Assignment* assignment = NEW(Assignment(op, last_var, value, position)); in ParseVariableDeclarations() local
2201 if (block) block->AddStatement(NEW(ExpressionStatement(assignment))); in ParseVariableDeclarations()