Lines Matching defs:statement
184 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
195 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
266 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
320 "as the body of an if statement");
325 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
334 void ParserImpl::ConsumeSemicolon(ir::Statement *statement)
338 statement->SetEnd(lexer_->GetToken().End());
363 if (auto statement = ParseStatement(flags); statement != nullptr) { // Error processing.
364 statements.push_back(statement);
436 ThrowSyntaxError("Illegal break statement");
489 ThrowSyntaxError("Illegal continue statement");
648 ThrowSyntaxError("Lexical declaration is not allowed in single statement context");
673 "Invalid left-hand side in 'for' statement: must have a single binding."s;
675 static std::string const MISSING_LEFT_IN_FOR = "Missing left parenthesis in 'for' statement."s;
676 static std::string const MISSING_RIGHT_IN_FOR = "Missing right parenthesis in 'for' statement."s;
678 "Type annotation is not allowed when existing variable is used as loop iterator in 'for' statement."s;
795 ThrowSyntaxError("Invalid left-hand side in for-in statement");