Lines Matching refs:CHECK_OK
148 #define CHECK_OK ok); \ macro
189 Statement statement = ParseSourceElement(CHECK_OK); in ParseSourceElements()
202 #undef CHECK_OK
203 #define CHECK_OK ok); \ macro
284 Statement statement = ParseFunctionDeclaration(CHECK_OK); in ParseStatement()
312 Expect(Token::FUNCTION, CHECK_OK); in ParseFunctionDeclaration()
317 &is_strict_reserved, CHECK_OK); in ParseFunctionDeclaration()
325 CHECK_OK); in ParseFunctionDeclaration()
337 Expect(Token::LBRACE, CHECK_OK); in ParseBlock()
340 ParseSourceElement(CHECK_OK); in ParseBlock()
342 ParseStatement(CHECK_OK); in ParseBlock()
359 CHECK_OK); in ParseVariableStatement()
360 ExpectSemicolon(CHECK_OK); in ParseVariableStatement()
452 ParseIdentifier(kDontAllowEvalOrArguments, CHECK_OK); in ParseVariableDeclarations()
455 Expect(Token::ASSIGN, CHECK_OK); in ParseVariableDeclarations()
456 ParseAssignmentExpression(var_context != kForStatement, CHECK_OK); in ParseVariableDeclarations()
472 Expression expr = ParseExpression(true, CHECK_OK); in ParseExpressionOrLabelledStatement()
490 ExpectSemicolon(CHECK_OK); in ParseExpressionOrLabelledStatement()
499 Expect(Token::IF, CHECK_OK); in ParseIfStatement()
500 Expect(Token::LPAREN, CHECK_OK); in ParseIfStatement()
501 ParseExpression(true, CHECK_OK); in ParseIfStatement()
502 Expect(Token::RPAREN, CHECK_OK); in ParseIfStatement()
503 ParseStatement(CHECK_OK); in ParseIfStatement()
506 ParseStatement(CHECK_OK); in ParseIfStatement()
516 Expect(Token::CONTINUE, CHECK_OK); in ParseContinueStatement()
523 ParseIdentifier(kAllowEvalOrArguments, CHECK_OK); in ParseContinueStatement()
525 ExpectSemicolon(CHECK_OK); in ParseContinueStatement()
534 Expect(Token::BREAK, CHECK_OK); in ParseBreakStatement()
541 ParseIdentifier(kAllowEvalOrArguments, CHECK_OK); in ParseBreakStatement()
543 ExpectSemicolon(CHECK_OK); in ParseBreakStatement()
555 Expect(Token::RETURN, CHECK_OK); in ParseReturnStatement()
567 ParseExpression(true, CHECK_OK); in ParseReturnStatement()
569 ExpectSemicolon(CHECK_OK); in ParseReturnStatement()
577 Expect(Token::WITH, CHECK_OK); in ParseWithStatement()
583 Expect(Token::LPAREN, CHECK_OK); in ParseWithStatement()
584 ParseExpression(true, CHECK_OK); in ParseWithStatement()
585 Expect(Token::RPAREN, CHECK_OK); in ParseWithStatement()
589 ParseStatement(CHECK_OK); in ParseWithStatement()
598 Expect(Token::SWITCH, CHECK_OK); in ParseSwitchStatement()
599 Expect(Token::LPAREN, CHECK_OK); in ParseSwitchStatement()
600 ParseExpression(true, CHECK_OK); in ParseSwitchStatement()
601 Expect(Token::RPAREN, CHECK_OK); in ParseSwitchStatement()
603 Expect(Token::LBRACE, CHECK_OK); in ParseSwitchStatement()
607 Expect(Token::CASE, CHECK_OK); in ParseSwitchStatement()
608 ParseExpression(true, CHECK_OK); in ParseSwitchStatement()
610 Expect(Token::DEFAULT, CHECK_OK); in ParseSwitchStatement()
612 Expect(Token::COLON, CHECK_OK); in ParseSwitchStatement()
617 ParseStatement(CHECK_OK); in ParseSwitchStatement()
630 Expect(Token::DO, CHECK_OK); in ParseDoWhileStatement()
631 ParseStatement(CHECK_OK); in ParseDoWhileStatement()
632 Expect(Token::WHILE, CHECK_OK); in ParseDoWhileStatement()
633 Expect(Token::LPAREN, CHECK_OK); in ParseDoWhileStatement()
634 ParseExpression(true, CHECK_OK); in ParseDoWhileStatement()
645 Expect(Token::WHILE, CHECK_OK); in ParseWhileStatement()
646 Expect(Token::LPAREN, CHECK_OK); in ParseWhileStatement()
647 ParseExpression(true, CHECK_OK); in ParseWhileStatement()
648 Expect(Token::RPAREN, CHECK_OK); in ParseWhileStatement()
668 Expect(Token::FOR, CHECK_OK); in ParseForStatement()
669 Expect(Token::LPAREN, CHECK_OK); in ParseForStatement()
677 kForStatement, &decl_props, &decl_count, CHECK_OK); in ParseForStatement()
682 ParseExpression(true, CHECK_OK); in ParseForStatement()
683 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
685 ParseStatement(CHECK_OK); in ParseForStatement()
689 Expression lhs = ParseExpression(false, CHECK_OK); in ParseForStatement()
691 ParseExpression(true, CHECK_OK); in ParseForStatement()
692 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
694 ParseStatement(CHECK_OK); in ParseForStatement()
701 Expect(Token::SEMICOLON, CHECK_OK); in ParseForStatement()
704 ParseExpression(true, CHECK_OK); in ParseForStatement()
706 Expect(Token::SEMICOLON, CHECK_OK); in ParseForStatement()
709 ParseExpression(true, CHECK_OK); in ParseForStatement()
711 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
722 Expect(Token::THROW, CHECK_OK); in ParseThrowStatement()
728 ParseExpression(true, CHECK_OK); in ParseThrowStatement()
746 Expect(Token::TRY, CHECK_OK); in ParseTryStatement()
748 ParseBlock(CHECK_OK); in ParseTryStatement()
758 Expect(Token::LPAREN, CHECK_OK); in ParseTryStatement()
759 ParseIdentifier(kDontAllowEvalOrArguments, CHECK_OK); in ParseTryStatement()
760 Expect(Token::RPAREN, CHECK_OK); in ParseTryStatement()
764 ParseBlock(CHECK_OK); in ParseTryStatement()
770 ParseBlock(CHECK_OK); in ParseTryStatement()
783 Expect(Token::DEBUGGER, CHECK_OK); in ParseDebuggerStatement()
789 #undef CHECK_OK
790 #define CHECK_OK ok); \ macro
816 Expect(Token::LPAREN, CHECK_OK); in ParseFunctionLiteral()
832 ParseIdentifierOrStrictReservedWord(&is_strict_reserved, CHECK_OK); in ParseFunctionLiteral()
848 if (!done) Expect(Token::COMMA, CHECK_OK); in ParseFunctionLiteral()
850 Expect(Token::RPAREN, CHECK_OK); in ParseFunctionLiteral()
858 Expect(Token::LBRACE, CHECK_OK); in ParseFunctionLiteral()
860 ParseLazyFunctionLiteralBody(CHECK_OK); in ParseFunctionLiteral()
864 Expect(Token::RBRACE, CHECK_OK); in ParseFunctionLiteral()
896 CheckOctalLiteral(start_position, end_position, CHECK_OK); in ParseFunctionLiteral()
921 Expect(Token::MOD, CHECK_OK); in ParseV8Intrinsic()
927 ParseIdentifier(kAllowEvalOrArguments, CHECK_OK); in ParseV8Intrinsic()
933 #undef CHECK_OK