Lines Matching refs:Expect
443 Expect(Token::FUNCTION, CHECK_OK); in ParseFunctionDeclaration()
462 Expect(Token::CLASS, CHECK_OK); in ParseClassDeclaration()
483 Expect(Token::LBRACE, CHECK_OK); in ParseBlock()
488 Expect(Token::RBRACE, ok); in ParseBlock()
732 Expect(Token::IF, CHECK_OK); in ParseIfStatement()
733 Expect(Token::LPAREN, CHECK_OK); in ParseIfStatement()
735 Expect(Token::RPAREN, CHECK_OK); in ParseIfStatement()
753 Expect(Token::CONTINUE, CHECK_OK); in ParseContinueStatement()
771 Expect(Token::BREAK, CHECK_OK); in ParseBreakStatement()
792 Expect(Token::RETURN, CHECK_OK); in ParseReturnStatement()
823 Expect(Token::WITH, CHECK_OK); in ParseWithStatement()
829 Expect(Token::LPAREN, CHECK_OK); in ParseWithStatement()
831 Expect(Token::RPAREN, CHECK_OK); in ParseWithStatement()
844 Expect(Token::SWITCH, CHECK_OK); in ParseSwitchStatement()
845 Expect(Token::LPAREN, 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()
856 Expect(Token::DEFAULT, CHECK_OK); in ParseSwitchStatement()
858 Expect(Token::COLON, CHECK_OK); in ParseSwitchStatement()
875 Expect(Token::RBRACE, ok); in ParseSwitchStatement()
884 Expect(Token::DO, CHECK_OK); in ParseDoWhileStatement()
886 Expect(Token::WHILE, CHECK_OK); in ParseDoWhileStatement()
887 Expect(Token::LPAREN, CHECK_OK); in ParseDoWhileStatement()
889 Expect(Token::RPAREN, ok); in ParseDoWhileStatement()
899 Expect(Token::WHILE, CHECK_OK); in ParseWhileStatement()
900 Expect(Token::LPAREN, 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()
954 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
984 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
999 Expect(Token::SEMICOLON, CHECK_OK); in ParseForStatement()
1004 Expect(Token::SEMICOLON, CHECK_OK); in ParseForStatement()
1009 Expect(Token::RPAREN, CHECK_OK); in ParseForStatement()
1020 Expect(Token::THROW, CHECK_OK); in ParseThrowStatement()
1044 Expect(Token::TRY, CHECK_OK); in ParseTryStatement()
1056 Expect(Token::LPAREN, CHECK_OK); in ParseTryStatement()
1060 Expect(Token::RPAREN, CHECK_OK); in ParseTryStatement()
1084 Expect(Token::DEBUGGER, CHECK_OK); in ParseDebuggerStatement()
1117 Expect(Token::LPAREN, CHECK_OK); in ParseFunctionLiteral()
1122 Expect(Token::RPAREN, CHECK_OK); in ParseFunctionLiteral()
1135 Expect(Token::LBRACE, CHECK_OK); in ParseFunctionLiteral()
1141 Expect(Token::RBRACE, CHECK_OK); in ParseFunctionLiteral()
1230 Expect(Token::LBRACE, CHECK_OK); in ParseClassLiteral()
1245 Expect(Token::RBRACE, CHECK_OK); in ParseClassLiteral()
1254 Expect(Token::MOD, CHECK_OK); in ParseV8Intrinsic()
1275 Expect(Token::DO, CHECK_OK); in ParseDoExpression()
1276 Expect(Token::LBRACE, CHECK_OK); in ParseDoExpression()
1283 Expect(Token::RBRACE, CHECK_OK); in ParseDoExpression()