Lines Matching refs:ok
58 #define CHECK_OK ok); \
59 if (!*ok) return -1; \
98 bool* ok) {
109 PreParser::Statement PreParser::ParseStatement(bool* ok) {
137 return ParseBlock(ok);
141 return ParseVariableStatement(ok);
148 return ParseIfStatement(ok);
151 return ParseDoWhileStatement(ok);
154 return ParseWhileStatement(ok);
157 return ParseForStatement(ok);
160 return ParseContinueStatement(ok);
163 return ParseBreakStatement(ok);
166 return ParseReturnStatement(ok);
169 return ParseWithStatement(ok);
172 return ParseSwitchStatement(ok);
175 return ParseThrowStatement(ok);
178 return ParseTryStatement(ok);
181 return ParseFunctionDeclaration(ok);
184 return ParseNativeDeclaration(ok);
187 return ParseDebuggerStatement(ok);
190 return ParseExpressionOrLabelledStatement(ok);
195 PreParser::Statement PreParser::ParseFunctionDeclaration(bool* ok) {
209 PreParser::Statement PreParser::ParseNativeDeclaration(bool* ok) {
228 PreParser::Statement PreParser::ParseBlock(bool* ok) {
244 PreParser::Statement PreParser::ParseVariableStatement(bool* ok) {
261 bool* ok) {
270 *ok = false;
294 bool* ok) {
302 return ParseStatement(ok);
310 PreParser::Statement PreParser::ParseIfStatement(bool* ok) {
327 PreParser::Statement PreParser::ParseContinueStatement(bool* ok) {
344 PreParser::Statement PreParser::ParseBreakStatement(bool* ok) {
361 PreParser::Statement PreParser::ParseReturnStatement(bool* ok) {
387 PreParser::Statement PreParser::ParseWithStatement(bool* ok) {
402 PreParser::Statement PreParser::ParseSwitchStatement(bool* ok) {
432 PreParser::Statement PreParser::ParseDoWhileStatement(bool* ok) {
446 PreParser::Statement PreParser::ParseWhileStatement(bool* ok) {
459 PreParser::Statement PreParser::ParseForStatement(bool* ok) {
508 PreParser::Statement PreParser::ParseThrowStatement(bool* ok) {
517 *ok = false;
527 PreParser::Statement PreParser::ParseTryStatement(bool* ok) {
553 ParseBlock(ok);
555 if (!*ok) return kUnknownStatement;
564 *ok = false;
570 PreParser::Statement PreParser::ParseDebuggerStatement(bool* ok) {
584 PreParser::Expression PreParser::ParseExpression(bool accept_IN, bool* ok) {
601 bool* ok) {
626 bool* ok) {
656 bool* ok) {
670 PreParser::Expression PreParser::ParseUnaryExpression(bool* ok) {
686 ParseUnaryExpression(ok);
689 return ParsePostfixExpression(ok);
694 PreParser::Expression PreParser::ParsePostfixExpression(bool* ok) {
708 PreParser::Expression PreParser::ParseLeftHandSideExpression(bool* ok) {
757 PreParser::Expression PreParser::ParseNewExpression(bool* ok) {
775 return ParseMemberWithNewPrefixesExpression(new_count, ok);
779 PreParser::Expression PreParser::ParseMemberExpression(bool* ok) {
780 return ParseMemberWithNewPrefixesExpression(0, ok);
785 unsigned new_count, bool* ok) {
840 PreParser::Expression PreParser::ParsePrimaryExpression(bool* ok) {
912 *ok = false;
921 PreParser::Expression PreParser::ParseArrayLiteral(bool* ok) {
940 PreParser::Expression PreParser::ParseObjectLiteral(bool* ok) {
964 *ok = false;
990 *ok = false;
1009 bool* ok) {
1015 *ok = false;
1026 *ok = false;
1034 PreParser::Arguments PreParser::ParseArguments(bool* ok) {
1052 PreParser::Expression PreParser::ParseFunctionLiteral(bool* ok) {
1087 ParseSourceElements(i::Token::RBRACE, ok);
1089 if (!*ok) return kUnknownExpression;
1106 PreParser::Expression PreParser::ParseV8Intrinsic(bool* ok) {
1118 void PreParser::ExpectSemicolon(bool* ok) {
1131 ok);
1157 PreParser::Identifier PreParser::ParseIdentifier(bool* ok) {
1159 Expect(i::Token::IDENTIFIER, ok);
1161 if (!*ok) return kUnknownIdentifier;
1166 PreParser::Identifier PreParser::ParseIdentifierName(bool* ok) {
1179 *ok = false;
1188 bool* ok) {