Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: src/parser.h

Issue 1170263002: Revert of [es6] Parsing of new.target (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/messages.h ('k') | src/parser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" // TODO(titzer): remove this include dependency 10 #include "src/compiler.h" // TODO(titzer): remove this include dependency
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 const AstRawString* GetSymbol(Scanner* scanner); 723 const AstRawString* GetSymbol(Scanner* scanner);
724 const AstRawString* GetNextSymbol(Scanner* scanner); 724 const AstRawString* GetNextSymbol(Scanner* scanner);
725 const AstRawString* GetNumberAsSymbol(Scanner* scanner); 725 const AstRawString* GetNumberAsSymbol(Scanner* scanner);
726 726
727 Expression* ThisExpression(Scope* scope, AstNodeFactory* factory, 727 Expression* ThisExpression(Scope* scope, AstNodeFactory* factory,
728 int pos = RelocInfo::kNoPosition); 728 int pos = RelocInfo::kNoPosition);
729 Expression* SuperPropertyReference(Scope* scope, AstNodeFactory* factory, 729 Expression* SuperPropertyReference(Scope* scope, AstNodeFactory* factory,
730 int pos); 730 int pos);
731 Expression* SuperCallReference(Scope* scope, AstNodeFactory* factory, 731 Expression* SuperCallReference(Scope* scope, AstNodeFactory* factory,
732 int pos); 732 int pos);
733 Expression* NewTargetExpression(Scope* scope, AstNodeFactory* factory,
734 int pos);
735 Expression* DefaultConstructor(bool call_super, Scope* scope, int pos, 733 Expression* DefaultConstructor(bool call_super, Scope* scope, int pos,
736 int end_pos); 734 int end_pos);
737 Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner, 735 Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner,
738 AstNodeFactory* factory); 736 AstNodeFactory* factory);
739 Expression* ExpressionFromIdentifier(const AstRawString* name, 737 Expression* ExpressionFromIdentifier(const AstRawString* name,
740 int start_position, int end_position, 738 int start_position, int end_position,
741 Scope* scope, AstNodeFactory* factory); 739 Scope* scope, AstNodeFactory* factory);
742 Expression* ExpressionFromString(int pos, Scanner* scanner, 740 Expression* ExpressionFromString(int pos, Scanner* scanner,
743 AstNodeFactory* factory); 741 AstNodeFactory* factory);
744 Expression* GetIterator(Expression* iterable, AstNodeFactory* factory); 742 Expression* GetIterator(Expression* iterable, AstNodeFactory* factory);
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 } 1276 }
1279 1277
1280 1278
1281 Expression* ParserTraits::SpreadCallNew( 1279 Expression* ParserTraits::SpreadCallNew(
1282 Expression* function, ZoneList<v8::internal::Expression*>* args, int pos) { 1280 Expression* function, ZoneList<v8::internal::Expression*>* args, int pos) {
1283 return parser_->SpreadCallNew(function, args, pos); 1281 return parser_->SpreadCallNew(function, args, pos);
1284 } 1282 }
1285 } } // namespace v8::internal 1283 } } // namespace v8::internal
1286 1284
1287 #endif // V8_PARSER_H_ 1285 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/messages.h ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698