| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_PARSER_H_ | 5 #ifndef V8_PARSER_H_ |
| 6 #define V8_PARSER_H_ | 6 #define V8_PARSER_H_ |
| 7 | 7 |
| 8 #include "src/allocation.h" | 8 #include "src/allocation.h" |
| 9 #include "src/ast.h" | 9 #include "src/ast.h" |
| 10 #include "src/compiler.h" // For CachedDataMode | 10 #include "src/compiler.h" // For CachedDataMode |
| (...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 540 AstNodeFactory<AstConstructionVisitor>* factory, | 540 AstNodeFactory<AstConstructionVisitor>* factory, |
| 541 int pos = RelocInfo::kNoPosition); | 541 int pos = RelocInfo::kNoPosition); |
| 542 Expression* SuperReference(Scope* scope, | 542 Expression* SuperReference(Scope* scope, |
| 543 AstNodeFactory<AstConstructionVisitor>* factory, | 543 AstNodeFactory<AstConstructionVisitor>* factory, |
| 544 int pos = RelocInfo::kNoPosition); | 544 int pos = RelocInfo::kNoPosition); |
| 545 Expression* ClassExpression(const AstRawString* name, Expression* extends, | 545 Expression* ClassExpression(const AstRawString* name, Expression* extends, |
| 546 Expression* constructor, | 546 Expression* constructor, |
| 547 ZoneList<ObjectLiteral::Property*>* properties, | 547 ZoneList<ObjectLiteral::Property*>* properties, |
| 548 int start_position, int end_position, | 548 int start_position, int end_position, |
| 549 AstNodeFactory<AstConstructionVisitor>* factory); | 549 AstNodeFactory<AstConstructionVisitor>* factory); |
| 550 | 550 Expression* DefaultConstructor( |
| 551 bool call_super, Scope* scope, |
| 552 AstNodeFactory<AstConstructionVisitor>* factory); |
| 551 Literal* ExpressionFromLiteral( | 553 Literal* ExpressionFromLiteral( |
| 552 Token::Value token, int pos, Scanner* scanner, | 554 Token::Value token, int pos, Scanner* scanner, |
| 553 AstNodeFactory<AstConstructionVisitor>* factory); | 555 AstNodeFactory<AstConstructionVisitor>* factory); |
| 554 Expression* ExpressionFromIdentifier( | 556 Expression* ExpressionFromIdentifier( |
| 555 const AstRawString* name, int pos, Scope* scope, | 557 const AstRawString* name, int pos, Scope* scope, |
| 556 AstNodeFactory<AstConstructionVisitor>* factory); | 558 AstNodeFactory<AstConstructionVisitor>* factory); |
| 557 Expression* ExpressionFromString( | 559 Expression* ExpressionFromString( |
| 558 int pos, Scanner* scanner, | 560 int pos, Scanner* scanner, |
| 559 AstNodeFactory<AstConstructionVisitor>* factory); | 561 AstNodeFactory<AstConstructionVisitor>* factory); |
| 560 Expression* GetIterator(Expression* iterable, | 562 Expression* GetIterator(Expression* iterable, |
| (...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 918 private: | 920 private: |
| 919 static const int kLiteralTypeSlot = 0; | 921 static const int kLiteralTypeSlot = 0; |
| 920 static const int kElementsSlot = 1; | 922 static const int kElementsSlot = 1; |
| 921 | 923 |
| 922 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); | 924 DISALLOW_IMPLICIT_CONSTRUCTORS(CompileTimeValue); |
| 923 }; | 925 }; |
| 924 | 926 |
| 925 } } // namespace v8::internal | 927 } } // namespace v8::internal |
| 926 | 928 |
| 927 #endif // V8_PARSER_H_ | 929 #endif // V8_PARSER_H_ |
| OLD | NEW |