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

Side by Side Diff: src/parsing/rewriter.cc

Issue 2268513002: Cleanup: Move ParseInfo to a separate file. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 3 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
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 #include "src/parsing/rewriter.h" 5 #include "src/parsing/rewriter.h"
6 6
7 #include "src/ast/ast.h" 7 #include "src/ast/ast.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/parsing/parse-info.h"
9 #include "src/parsing/parser.h" 10 #include "src/parsing/parser.h"
10 11
11 namespace v8 { 12 namespace v8 {
12 namespace internal { 13 namespace internal {
13 14
14 class Processor final : public AstVisitor<Processor> { 15 class Processor final : public AstVisitor<Processor> {
15 public: 16 public:
16 Processor(Isolate* isolate, DeclarationScope* closure_scope, Variable* result, 17 Processor(Isolate* isolate, DeclarationScope* closure_scope, Variable* result,
17 AstValueFactory* ast_value_factory) 18 AstValueFactory* ast_value_factory)
18 : result_(result), 19 : result_(result),
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
387 processor.SetResult(undef), expr->position()); 388 processor.SetResult(undef), expr->position());
388 body->Add(completion, factory->zone()); 389 body->Add(completion, factory->zone());
389 } 390 }
390 } 391 }
391 return true; 392 return true;
392 } 393 }
393 394
394 395
395 } // namespace internal 396 } // namespace internal
396 } // namespace v8 397 } // namespace v8
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698