OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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 #include "src/ast/ast.h" | 5 #include "src/ast/ast.h" |
6 #include "src/messages.h" | 6 #include "src/messages.h" |
| 7 #include "src/objects-inl.h" |
7 #include "src/parsing/parameter-initializer-rewriter.h" | 8 #include "src/parsing/parameter-initializer-rewriter.h" |
8 #include "src/parsing/parser.h" | 9 #include "src/parsing/parser.h" |
9 | 10 |
10 namespace v8 { | 11 namespace v8 { |
11 | 12 |
12 namespace internal { | 13 namespace internal { |
13 | 14 |
14 void Parser::PatternRewriter::DeclareAndInitializeVariables( | 15 void Parser::PatternRewriter::DeclareAndInitializeVariables( |
15 Parser* parser, Block* block, | 16 Parser* parser, Block* block, |
16 const DeclarationDescriptor* declaration_descriptor, | 17 const DeclarationDescriptor* declaration_descriptor, |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
691 NOT_A_PATTERN(TryFinallyStatement) | 692 NOT_A_PATTERN(TryFinallyStatement) |
692 NOT_A_PATTERN(UnaryOperation) | 693 NOT_A_PATTERN(UnaryOperation) |
693 NOT_A_PATTERN(VariableDeclaration) | 694 NOT_A_PATTERN(VariableDeclaration) |
694 NOT_A_PATTERN(WhileStatement) | 695 NOT_A_PATTERN(WhileStatement) |
695 NOT_A_PATTERN(WithStatement) | 696 NOT_A_PATTERN(WithStatement) |
696 NOT_A_PATTERN(Yield) | 697 NOT_A_PATTERN(Yield) |
697 | 698 |
698 #undef NOT_A_PATTERN | 699 #undef NOT_A_PATTERN |
699 } // namespace internal | 700 } // namespace internal |
700 } // namespace v8 | 701 } // namespace v8 |
OLD | NEW |