OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 Statement* ParseNativeDeclaration(bool* ok); | 491 Statement* ParseNativeDeclaration(bool* ok); |
492 Block* ParseBlock(ZoneStringList* labels, bool* ok); | 492 Block* ParseBlock(ZoneStringList* labels, bool* ok); |
493 Block* ParseVariableStatement(bool* ok); | 493 Block* ParseVariableStatement(bool* ok); |
494 Block* ParseVariableDeclarations(bool accept_IN, Expression** var, bool* ok); | 494 Block* ParseVariableDeclarations(bool accept_IN, Expression** var, bool* ok); |
495 Statement* ParseExpressionOrLabelledStatement(ZoneStringList* labels, | 495 Statement* ParseExpressionOrLabelledStatement(ZoneStringList* labels, |
496 bool* ok); | 496 bool* ok); |
497 IfStatement* ParseIfStatement(ZoneStringList* labels, bool* ok); | 497 IfStatement* ParseIfStatement(ZoneStringList* labels, bool* ok); |
498 Statement* ParseContinueStatement(bool* ok); | 498 Statement* ParseContinueStatement(bool* ok); |
499 Statement* ParseBreakStatement(ZoneStringList* labels, bool* ok); | 499 Statement* ParseBreakStatement(ZoneStringList* labels, bool* ok); |
500 Statement* ParseReturnStatement(bool* ok); | 500 Statement* ParseReturnStatement(bool* ok); |
501 Block* WithHelper(Expression* obj, | 501 Block* WithHelper(Expression* obj, ZoneStringList* labels, bool* ok); |
502 ZoneStringList* labels, | |
503 bool is_catch_block, | |
504 bool* ok); | |
505 Statement* ParseWithStatement(ZoneStringList* labels, bool* ok); | 502 Statement* ParseWithStatement(ZoneStringList* labels, bool* ok); |
506 CaseClause* ParseCaseClause(bool* default_seen_ptr, bool* ok); | 503 CaseClause* ParseCaseClause(bool* default_seen_ptr, bool* ok); |
507 SwitchStatement* ParseSwitchStatement(ZoneStringList* labels, bool* ok); | 504 SwitchStatement* ParseSwitchStatement(ZoneStringList* labels, bool* ok); |
508 DoWhileStatement* ParseDoWhileStatement(ZoneStringList* labels, bool* ok); | 505 DoWhileStatement* ParseDoWhileStatement(ZoneStringList* labels, bool* ok); |
509 WhileStatement* ParseWhileStatement(ZoneStringList* labels, bool* ok); | 506 WhileStatement* ParseWhileStatement(ZoneStringList* labels, bool* ok); |
510 Statement* ParseForStatement(ZoneStringList* labels, bool* ok); | 507 Statement* ParseForStatement(ZoneStringList* labels, bool* ok); |
511 Statement* ParseThrowStatement(bool* ok); | 508 Statement* ParseThrowStatement(bool* ok); |
512 Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); | 509 Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); |
513 TryStatement* ParseTryStatement(bool* ok); | 510 TryStatement* ParseTryStatement(bool* ok); |
514 DebuggerStatement* ParseDebuggerStatement(bool* ok); | 511 DebuggerStatement* ParseDebuggerStatement(bool* ok); |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
756 private: | 753 private: |
757 static const int kTypeSlot = 0; | 754 static const int kTypeSlot = 0; |
758 static const int kElementsSlot = 1; | 755 static const int kElementsSlot = 1; |
759 | 756 |
760 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); | 757 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); |
761 }; | 758 }; |
762 | 759 |
763 } } // namespace v8::internal | 760 } } // namespace v8::internal |
764 | 761 |
765 #endif // V8_PARSER_H_ | 762 #endif // V8_PARSER_H_ |
OLD | NEW |