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

Side by Side Diff: src/parsing/parser.h

Issue 1620253003: Implement the function.sent proposal. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Add TODO Created 4 years, 11 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/objects-inl.h ('k') | src/parsing/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_PARSING_PARSER_H_ 5 #ifndef V8_PARSING_PARSER_H_
6 #define V8_PARSING_PARSER_H_ 6 #define V8_PARSING_PARSER_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/ast/ast.h" 9 #include "src/ast/ast.h"
10 #include "src/ast/scopes.h" 10 #include "src/ast/scopes.h"
(...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 const AstRawString* GetNumberAsSymbol(Scanner* scanner); 506 const AstRawString* GetNumberAsSymbol(Scanner* scanner);
507 507
508 Expression* ThisExpression(Scope* scope, AstNodeFactory* factory, 508 Expression* ThisExpression(Scope* scope, AstNodeFactory* factory,
509 int pos = RelocInfo::kNoPosition); 509 int pos = RelocInfo::kNoPosition);
510 Expression* SuperPropertyReference(Scope* scope, AstNodeFactory* factory, 510 Expression* SuperPropertyReference(Scope* scope, AstNodeFactory* factory,
511 int pos); 511 int pos);
512 Expression* SuperCallReference(Scope* scope, AstNodeFactory* factory, 512 Expression* SuperCallReference(Scope* scope, AstNodeFactory* factory,
513 int pos); 513 int pos);
514 Expression* NewTargetExpression(Scope* scope, AstNodeFactory* factory, 514 Expression* NewTargetExpression(Scope* scope, AstNodeFactory* factory,
515 int pos); 515 int pos);
516 Expression* FunctionSentExpression(Scope* scope, AstNodeFactory* factory,
517 int pos);
516 Expression* DefaultConstructor(bool call_super, Scope* scope, int pos, 518 Expression* DefaultConstructor(bool call_super, Scope* scope, int pos,
517 int end_pos, LanguageMode language_mode); 519 int end_pos, LanguageMode language_mode);
518 Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner, 520 Literal* ExpressionFromLiteral(Token::Value token, int pos, Scanner* scanner,
519 AstNodeFactory* factory); 521 AstNodeFactory* factory);
520 Expression* ExpressionFromIdentifier(const AstRawString* name, 522 Expression* ExpressionFromIdentifier(const AstRawString* name,
521 int start_position, int end_position, 523 int start_position, int end_position,
522 Scope* scope, AstNodeFactory* factory); 524 Scope* scope, AstNodeFactory* factory);
523 Expression* ExpressionFromString(int pos, Scanner* scanner, 525 Expression* ExpressionFromString(int pos, Scanner* scanner,
524 AstNodeFactory* factory); 526 AstNodeFactory* factory);
525 Expression* GetIterator(Expression* iterable, AstNodeFactory* factory, 527 Expression* GetIterator(Expression* iterable, AstNodeFactory* factory,
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
1211 1213
1212 DoExpression* ParserTraits::ParseDoExpression(bool* ok) { 1214 DoExpression* ParserTraits::ParseDoExpression(bool* ok) {
1213 return parser_->ParseDoExpression(ok); 1215 return parser_->ParseDoExpression(ok);
1214 } 1216 }
1215 1217
1216 1218
1217 } // namespace internal 1219 } // namespace internal
1218 } // namespace v8 1220 } // namespace v8
1219 1221
1220 #endif // V8_PARSING_PARSER_H_ 1222 #endif // V8_PARSING_PARSER_H_
OLDNEW
« no previous file with comments | « src/objects-inl.h ('k') | src/parsing/parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698