| 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 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1217 | 1219 |
| 1218 DoExpression* ParserTraits::ParseDoExpression(bool* ok) { | 1220 DoExpression* ParserTraits::ParseDoExpression(bool* ok) { |
| 1219 return parser_->ParseDoExpression(ok); | 1221 return parser_->ParseDoExpression(ok); |
| 1220 } | 1222 } |
| 1221 | 1223 |
| 1222 | 1224 |
| 1223 } // namespace internal | 1225 } // namespace internal |
| 1224 } // namespace v8 | 1226 } // namespace v8 |
| 1225 | 1227 |
| 1226 #endif // V8_PARSING_PARSER_H_ | 1228 #endif // V8_PARSING_PARSER_H_ |
| OLD | NEW |