Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 652 bool* ok); | 652 bool* ok); |
| 653 IfStatement* ParseIfStatement(ZoneStringList* labels, bool* ok); | 653 IfStatement* ParseIfStatement(ZoneStringList* labels, bool* ok); |
| 654 Statement* ParseContinueStatement(bool* ok); | 654 Statement* ParseContinueStatement(bool* ok); |
| 655 Statement* ParseBreakStatement(ZoneStringList* labels, bool* ok); | 655 Statement* ParseBreakStatement(ZoneStringList* labels, bool* ok); |
| 656 Statement* ParseReturnStatement(bool* ok); | 656 Statement* ParseReturnStatement(bool* ok); |
| 657 Statement* ParseWithStatement(ZoneStringList* labels, bool* ok); | 657 Statement* ParseWithStatement(ZoneStringList* labels, bool* ok); |
| 658 CaseClause* ParseCaseClause(bool* default_seen_ptr, bool* ok); | 658 CaseClause* ParseCaseClause(bool* default_seen_ptr, bool* ok); |
| 659 SwitchStatement* ParseSwitchStatement(ZoneStringList* labels, bool* ok); | 659 SwitchStatement* ParseSwitchStatement(ZoneStringList* labels, bool* ok); |
| 660 DoWhileStatement* ParseDoWhileStatement(ZoneStringList* labels, bool* ok); | 660 DoWhileStatement* ParseDoWhileStatement(ZoneStringList* labels, bool* ok); |
| 661 WhileStatement* ParseWhileStatement(ZoneStringList* labels, bool* ok); | 661 WhileStatement* ParseWhileStatement(ZoneStringList* labels, bool* ok); |
| 662 void InitializeForEachStatement(ForEachStatement* stmt, | |
|
Michael Starzinger
2013/06/06 11:09:09
Let's move this declaration out of the block of pa
wingo
2013/06/06 17:10:06
Done.
| |
| 663 Expression* each, | |
| 664 Expression* subject, | |
| 665 Statement* body); | |
| 662 Statement* ParseForStatement(ZoneStringList* labels, bool* ok); | 666 Statement* ParseForStatement(ZoneStringList* labels, bool* ok); |
| 663 Statement* ParseThrowStatement(bool* ok); | 667 Statement* ParseThrowStatement(bool* ok); |
| 664 Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); | 668 Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); |
| 665 TryStatement* ParseTryStatement(bool* ok); | 669 TryStatement* ParseTryStatement(bool* ok); |
| 666 DebuggerStatement* ParseDebuggerStatement(bool* ok); | 670 DebuggerStatement* ParseDebuggerStatement(bool* ok); |
| 667 | 671 |
| 668 // Support for hamony block scoped bindings. | 672 // Support for hamony block scoped bindings. |
| 669 Block* ParseScopedBlock(ZoneStringList* labels, bool* ok); | 673 Block* ParseScopedBlock(ZoneStringList* labels, bool* ok); |
| 670 | 674 |
| 671 Expression* ParseExpression(bool accept_IN, bool* ok); | 675 Expression* ParseExpression(bool accept_IN, bool* ok); |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 914 private: | 918 private: |
| 915 static const int kTypeSlot = 0; | 919 static const int kTypeSlot = 0; |
| 916 static const int kElementsSlot = 1; | 920 static const int kElementsSlot = 1; |
| 917 | 921 |
| 918 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); | 922 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); |
| 919 }; | 923 }; |
| 920 | 924 |
| 921 } } // namespace v8::internal | 925 } } // namespace v8::internal |
| 922 | 926 |
| 923 #endif // V8_PARSER_H_ | 927 #endif // V8_PARSER_H_ |
| OLD | NEW |