Lines Matching refs:CHECK_OK
308 #define CHECK_OK ok); \ macro
403 Statement statement = ParseFunctionDeclaration(CHECK_OK); in ParseSubStatement()
443 Expect(Token::FUNCTION, CHECK_OK); in ParseFunctionDeclaration()
448 &is_strict_reserved, CHECK_OK); in ParseFunctionDeclaration()
456 CHECK_OK); in ParseFunctionDeclaration()
462 Expect(Token::CLASS, CHECK_OK); in ParseClassDeclaration()
472 ParseIdentifierOrStrictReservedWord(&is_strict_reserved, CHECK_OK); in ParseClassDeclaration()
474 CHECK_OK); in ParseClassDeclaration()
483 Expect(Token::LBRACE, CHECK_OK); in ParseBlock()
486 final = ParseStatementListItem(CHECK_OK); in ParseBlock()
500 var_context, nullptr, nullptr, nullptr, nullptr, nullptr, CHECK_OK); in ParseVariableStatement()
501 ExpectSemicolon(CHECK_OK); in ParseVariableStatement()
580 pattern = ParsePrimaryExpression(&pattern_classifier, CHECK_OK); in ParseVariableDeclarations()
582 ValidateBindingPattern(&pattern_classifier, CHECK_OK); in ParseVariableDeclarations()
584 ValidateLetPattern(&pattern_classifier, CHECK_OK); in ParseVariableDeclarations()
606 CHECK_OK); in ParseVariableDeclarations()
607 ValidateExpression(&classifier, CHECK_OK); in ParseVariableDeclarations()
660 expr = ParseStrongInitializationExpression(&classifier, CHECK_OK); in ParseExpressionOrLabelledStatement()
662 expr = ParseStrongSuperCallExpression(&classifier, CHECK_OK); in ParseExpressionOrLabelledStatement()
664 ValidateExpression(&classifier, CHECK_OK); in ParseExpressionOrLabelledStatement()
695 Expression expr = ParseExpression(true, &classifier, CHECK_OK); in ParseExpressionOrLabelledStatement()
696 ValidateExpression(&classifier, CHECK_OK); in ParseExpressionOrLabelledStatement()
723 ExpectSemicolon(CHECK_OK); in ParseExpressionOrLabelledStatement()
732 Expect(Token::IF, CHECK_OK); in ParseIfStatement()
733 Expect(Token::LPAREN, CHECK_OK); in ParseIfStatement()
734 ParseExpression(true, CHECK_OK); in ParseIfStatement()
735 Expect(Token::RPAREN, CHECK_OK); in ParseIfStatement()
736 Statement stat = ParseSubStatement(CHECK_OK); in ParseIfStatement()
739 Statement else_stat = ParseSubStatement(CHECK_OK); in ParseIfStatement()
753 Expect(Token::CONTINUE, CHECK_OK); in ParseContinueStatement()
760 ParseIdentifier(kAllowRestrictedIdentifiers, CHECK_OK); in ParseContinueStatement()
762 ExpectSemicolon(CHECK_OK); in ParseContinueStatement()
771 Expect(Token::BREAK, CHECK_OK); in ParseBreakStatement()
778 ParseIdentifier(kAllowRestrictedIdentifiers, CHECK_OK); in ParseBreakStatement()
780 ExpectSemicolon(CHECK_OK); in ParseBreakStatement()
792 Expect(Token::RETURN, CHECK_OK); in ParseReturnStatement()
813 ParseExpression(true, CHECK_OK); in ParseReturnStatement()
815 ExpectSemicolon(CHECK_OK); in ParseReturnStatement()
823 Expect(Token::WITH, CHECK_OK); in ParseWithStatement()
829 Expect(Token::LPAREN, CHECK_OK); in ParseWithStatement()
830 ParseExpression(true, CHECK_OK); in ParseWithStatement()
831 Expect(Token::RPAREN, CHECK_OK); in ParseWithStatement()
835 ParseSubStatement(CHECK_OK); in ParseWithStatement()
844 Expect(Token::SWITCH, CHECK_OK); in ParseSwitchStatement()
845 Expect(Token::LPAREN, CHECK_OK); in ParseSwitchStatement()
846 ParseExpression(true, CHECK_OK); in ParseSwitchStatement()
847 Expect(Token::RPAREN, CHECK_OK); in ParseSwitchStatement()
849 Expect(Token::LBRACE, CHECK_OK); in ParseSwitchStatement()
853 Expect(Token::CASE, CHECK_OK); in ParseSwitchStatement()
854 ParseExpression(true, CHECK_OK); in ParseSwitchStatement()
856 Expect(Token::DEFAULT, CHECK_OK); in ParseSwitchStatement()
858 Expect(Token::COLON, CHECK_OK); in ParseSwitchStatement()
864 statement = ParseStatementListItem(CHECK_OK); in ParseSwitchStatement()
884 Expect(Token::DO, CHECK_OK); in ParseDoWhileStatement()
885 ParseSubStatement(CHECK_OK); in ParseDoWhileStatement()
886 Expect(Token::WHILE, CHECK_OK); in ParseDoWhileStatement()
887 Expect(Token::LPAREN, CHECK_OK); in ParseDoWhileStatement()
888 ParseExpression(true, CHECK_OK); in ParseDoWhileStatement()
899 Expect(Token::WHILE, CHECK_OK); in ParseWhileStatement()
900 Expect(Token::LPAREN, CHECK_OK); in ParseWhileStatement()
901 ParseExpression(true, CHECK_OK); in ParseWhileStatement()
902 Expect(Token::RPAREN, CHECK_OK); in ParseWhileStatement()
912 Expect(Token::FOR, CHECK_OK); in ParseForStatement()
913 Expect(Token::LPAREN, CHECK_OK); in ParseForStatement()
926 &bindings_loc, CHECK_OK); in ParseForStatement()
953 ParseExpression(true, CHECK_OK); in ParseForStatement()
954 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
955 ParseSubStatement(CHECK_OK); in ParseForStatement()
961 Expression lhs = ParseExpression(false, &classifier, CHECK_OK); in ParseForStatement()
972 ValidateAssignmentPattern(&classifier, CHECK_OK); in ParseForStatement()
974 ValidateExpression(&classifier, CHECK_OK); in ParseForStatement()
981 kSyntaxError, CHECK_OK); in ParseForStatement()
983 ParseExpression(true, CHECK_OK); in ParseForStatement()
984 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
985 ParseSubStatement(CHECK_OK); in ParseForStatement()
999 Expect(Token::SEMICOLON, CHECK_OK); in ParseForStatement()
1002 ParseExpression(true, CHECK_OK); in ParseForStatement()
1004 Expect(Token::SEMICOLON, CHECK_OK); in ParseForStatement()
1007 ParseExpression(true, CHECK_OK); in ParseForStatement()
1009 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
1020 Expect(Token::THROW, CHECK_OK); in ParseThrowStatement()
1026 ParseExpression(true, CHECK_OK); in ParseThrowStatement()
1044 Expect(Token::TRY, CHECK_OK); in ParseTryStatement()
1046 ParseBlock(CHECK_OK); in ParseTryStatement()
1056 Expect(Token::LPAREN, CHECK_OK); in ParseTryStatement()
1058 ParsePrimaryExpression(&pattern_classifier, CHECK_OK); in ParseTryStatement()
1059 ValidateBindingPattern(&pattern_classifier, CHECK_OK); in ParseTryStatement()
1060 Expect(Token::RPAREN, CHECK_OK); in ParseTryStatement()
1065 ParseBlock(CHECK_OK); in ParseTryStatement()
1071 ParseBlock(CHECK_OK); in ParseTryStatement()
1084 Expect(Token::DEBUGGER, CHECK_OK); in ParseDebuggerStatement()
1090 #undef CHECK_OK
1091 #define CHECK_OK ok); \ macro
1117 Expect(Token::LPAREN, CHECK_OK); in ParseFunctionLiteral()
1121 ParseFormalParameterList(&formals, &formals_classifier, CHECK_OK); in ParseFunctionLiteral()
1122 Expect(Token::RPAREN, CHECK_OK); in ParseFunctionLiteral()
1127 formals_end_position, CHECK_OK); in ParseFunctionLiteral()
1135 Expect(Token::LBRACE, CHECK_OK); in ParseFunctionLiteral()
1137 ParseLazyFunctionLiteralBody(CHECK_OK); in ParseFunctionLiteral()
1139 ParseStatementList(Token::RBRACE, CHECK_OK); in ParseFunctionLiteral()
1141 Expect(Token::RBRACE, CHECK_OK); in ParseFunctionLiteral()
1149 function_name_location, CHECK_OK); in ParseFunctionLiteral()
1153 allow_duplicate_parameters, CHECK_OK); in ParseFunctionLiteral()
1157 CheckStrictOctalLiteral(start_position, end_position, CHECK_OK); in ParseFunctionLiteral()
1223 ParseLeftHandSideExpression(&classifier, CHECK_OK); in ParseClassLiteral()
1224 ValidateExpression(&classifier, CHECK_OK); in ParseClassLiteral()
1230 Expect(Token::LBRACE, CHECK_OK); in ParseClassLiteral()
1241 &classifier, &name, CHECK_OK); in ParseClassLiteral()
1242 ValidateExpression(&classifier, CHECK_OK); in ParseClassLiteral()
1245 Expect(Token::RBRACE, CHECK_OK); in ParseClassLiteral()
1254 Expect(Token::MOD, CHECK_OK); in ParseV8Intrinsic()
1260 ParseIdentifier(kAllowRestrictedIdentifiers, CHECK_OK); in ParseV8Intrinsic()
1264 ValidateExpression(&classifier, CHECK_OK); in ParseV8Intrinsic()
1275 Expect(Token::DO, CHECK_OK); in ParseDoExpression()
1276 Expect(Token::LBRACE, CHECK_OK); in ParseDoExpression()
1281 ParseStatementListItem(CHECK_OK); in ParseDoExpression()
1283 Expect(Token::RBRACE, CHECK_OK); in ParseDoExpression()
1288 #undef CHECK_OK