| 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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 Block* ParseVariableStatement(bool* ok); | 486 Block* ParseVariableStatement(bool* ok); |
| 487 Block* ParseVariableDeclarations(bool accept_IN, | 487 Block* ParseVariableDeclarations(bool accept_IN, |
| 488 Handle<String>* out, | 488 Handle<String>* out, |
| 489 bool* ok); | 489 bool* ok); |
| 490 Statement* ParseExpressionOrLabelledStatement(ZoneStringList* labels, | 490 Statement* ParseExpressionOrLabelledStatement(ZoneStringList* labels, |
| 491 bool* ok); | 491 bool* ok); |
| 492 IfStatement* ParseIfStatement(ZoneStringList* labels, bool* ok); | 492 IfStatement* ParseIfStatement(ZoneStringList* labels, bool* ok); |
| 493 Statement* ParseContinueStatement(bool* ok); | 493 Statement* ParseContinueStatement(bool* ok); |
| 494 Statement* ParseBreakStatement(ZoneStringList* labels, bool* ok); | 494 Statement* ParseBreakStatement(ZoneStringList* labels, bool* ok); |
| 495 Statement* ParseReturnStatement(bool* ok); | 495 Statement* ParseReturnStatement(bool* ok); |
| 496 Block* WithHelper(Expression* obj, ZoneStringList* labels, bool* ok); | |
| 497 Statement* ParseWithStatement(ZoneStringList* labels, bool* ok); | 496 Statement* ParseWithStatement(ZoneStringList* labels, bool* ok); |
| 498 CaseClause* ParseCaseClause(bool* default_seen_ptr, bool* ok); | 497 CaseClause* ParseCaseClause(bool* default_seen_ptr, bool* ok); |
| 499 SwitchStatement* ParseSwitchStatement(ZoneStringList* labels, bool* ok); | 498 SwitchStatement* ParseSwitchStatement(ZoneStringList* labels, bool* ok); |
| 500 DoWhileStatement* ParseDoWhileStatement(ZoneStringList* labels, bool* ok); | 499 DoWhileStatement* ParseDoWhileStatement(ZoneStringList* labels, bool* ok); |
| 501 WhileStatement* ParseWhileStatement(ZoneStringList* labels, bool* ok); | 500 WhileStatement* ParseWhileStatement(ZoneStringList* labels, bool* ok); |
| 502 Statement* ParseForStatement(ZoneStringList* labels, bool* ok); | 501 Statement* ParseForStatement(ZoneStringList* labels, bool* ok); |
| 503 Statement* ParseThrowStatement(bool* ok); | 502 Statement* ParseThrowStatement(bool* ok); |
| 504 Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); | 503 Expression* MakeCatchContext(Handle<String> id, VariableProxy* value); |
| 505 TryStatement* ParseTryStatement(bool* ok); | 504 TryStatement* ParseTryStatement(bool* ok); |
| 506 DebuggerStatement* ParseDebuggerStatement(bool* ok); | 505 DebuggerStatement* ParseDebuggerStatement(bool* ok); |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 746 private: | 745 private: |
| 747 static const int kTypeSlot = 0; | 746 static const int kTypeSlot = 0; |
| 748 static const int kElementsSlot = 1; | 747 static const int kElementsSlot = 1; |
| 749 | 748 |
| 750 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); | 749 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); |
| 751 }; | 750 }; |
| 752 | 751 |
| 753 } } // namespace v8::internal | 752 } } // namespace v8::internal |
| 754 | 753 |
| 755 #endif // V8_PARSER_H_ | 754 #endif // V8_PARSER_H_ |
| OLD | NEW |