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_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 Loading... |
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 Loading... |
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_ |
OLD | NEW |