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

Side by Side Diff: src/parser.h

Issue 1161243005: Revert of [es6] Super call in arrows and eval (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/mips64/full-codegen-mips64.cc ('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 706 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 // Odd-ball literal creators. 717 // Odd-ball literal creators.
718 Literal* GetLiteralTheHole(int position, AstNodeFactory* factory); 718 Literal* GetLiteralTheHole(int position, AstNodeFactory* factory);
719 719
720 // Producing data during the recursive descent. 720 // Producing data during the recursive descent.
721 const AstRawString* GetSymbol(Scanner* scanner); 721 const AstRawString* GetSymbol(Scanner* scanner);
722 const AstRawString* GetNextSymbol(Scanner* scanner); 722 const AstRawString* GetNextSymbol(Scanner* scanner);
723 const AstRawString* GetNumberAsSymbol(Scanner* scanner); 723 const AstRawString* GetNumberAsSymbol(Scanner* scanner);
724 724
725 Expression* ThisExpression(Scope* scope, AstNodeFactory* factory, 725 Expression* ThisExpression(Scope* scope, AstNodeFactory* factory,
726 int pos = RelocInfo::kNoPosition); 726 int pos = RelocInfo::kNoPosition);
727 Expression* SuperPropertyReference(Scope* scope, AstNodeFactory* factory, 727 Expression* SuperReference(Scope* scope, AstNodeFactory* factory, int pos);
728 int pos);
729 Expression* SuperCallReference(Scope* scope, AstNodeFactory* factory,
730 int pos);
731 Expression* DefaultConstructor(bool call_super, Scope* scope, int pos, 728 Expression* DefaultConstructor(bool call_super, Scope* scope, int pos,
732 int end_pos); 729 int end_pos);
733 Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner, 730 Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner,
734 AstNodeFactory* factory); 731 AstNodeFactory* factory);
735 Expression* ExpressionFromIdentifier(const AstRawString* name, 732 Expression* ExpressionFromIdentifier(const AstRawString* name,
736 int start_position, int end_position, 733 int start_position, int end_position,
737 Scope* scope, AstNodeFactory* factory); 734 Scope* scope, AstNodeFactory* factory);
738 Expression* ExpressionFromString(int pos, Scanner* scanner, 735 Expression* ExpressionFromString(int pos, Scanner* scanner,
739 AstNodeFactory* factory); 736 AstNodeFactory* factory);
740 Expression* GetIterator(Expression* iterable, AstNodeFactory* factory); 737 Expression* GetIterator(Expression* iterable, AstNodeFactory* factory);
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
1274 } 1271 }
1275 1272
1276 1273
1277 Expression* ParserTraits::SpreadCallNew( 1274 Expression* ParserTraits::SpreadCallNew(
1278 Expression* function, ZoneList<v8::internal::Expression*>* args, int pos) { 1275 Expression* function, ZoneList<v8::internal::Expression*>* args, int pos) {
1279 return parser_->SpreadCallNew(function, args, pos); 1276 return parser_->SpreadCallNew(function, args, pos);
1280 } 1277 }
1281 } } // namespace v8::internal 1278 } } // namespace v8::internal
1282 1279
1283 #endif // V8_PARSER_H_ 1280 #endif // V8_PARSER_H_
OLDNEW
« no previous file with comments | « src/mips64/full-codegen-mips64.cc ('k') | src/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698