Lines Matching refs:left
185 scoped_ptr<ParseNode> left = (this->*prefix)(token);
187 return left.Pass();
199 left = (this->*infix)(left.Pass(), token);
204 return left.Pass();
240 scoped_ptr<ParseNode> Parser::BinaryOperator(scoped_ptr<ParseNode> left,
252 binary_op->set_left(left.Pass());
257 scoped_ptr<ParseNode> Parser::IdentifierOrCall(scoped_ptr<ParseNode> left,
283 if (!left && !has_arg) {
295 scoped_ptr<ParseNode> Parser::Assignment(scoped_ptr<ParseNode> left,
297 if (left->AsIdentifier() == NULL) {
298 *err_ = Err(left.get(), "Left-hand side of assignment must be identifier.");
304 assign->set_left(left.Pass());
309 scoped_ptr<ParseNode> Parser::Subscript(scoped_ptr<ParseNode> left,
313 if (left->AsIdentifier() == NULL) {
314 *err_ = Err(left.get(), "May only subscript simple identifiers");
320 accessor->set_base(left->AsIdentifier()->value());