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

Side by Side Diff: pkg/compiler/lib/src/tree/nodes.dart

Issue 1762723002: Cleanup 1: split parts into their own libraries, remove unused imports (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of tree; 5 import '../common.dart';
6 import '../tokens/precedence_constants.dart' as Precedence show FUNCTION_INFO;
7 import '../tokens/token.dart' show BeginGroupToken, Token;
8 import '../tokens/token_constants.dart' as Tokens show IDENTIFIER_TOKEN, KEYWORD _TOKEN, PLUS_TOKEN;
9 import '../util/util.dart';
10 import '../util/characters.dart';
11 import '../resolution/secret_tree_element.dart' show NullTreeElementMixin, Store dTreeElementMixin;
12 import '../elements/elements.dart' show MetadataAnnotation;
13 import 'dartstring.dart';
14 import 'prettyprint.dart';
15 import 'unparser.dart';
6 16
7 abstract class Visitor<R> { 17 abstract class Visitor<R> {
8 const Visitor(); 18 const Visitor();
9 19
10 R visitNode(Node node); 20 R visitNode(Node node);
11 21
12 R visitAssert(Assert node) => visitStatement(node); 22 R visitAssert(Assert node) => visitStatement(node);
13 R visitAsyncForIn(AsyncForIn node) => visitLoop(node); 23 R visitAsyncForIn(AsyncForIn node) => visitLoop(node);
14 R visitAsyncModifier(AsyncModifier node) => visitNode(node); 24 R visitAsyncModifier(AsyncModifier node) => visitNode(node);
15 R visitAwait(Await node) => visitExpression(node); 25 R visitAwait(Await node) => visitExpression(node);
(...skipping 2465 matching lines...) Expand 10 before | Expand all | Expand 10 after
2481 2491
2482 // VariableDefinitions. 2492 // VariableDefinitions.
2483 get metadata => null; 2493 get metadata => null;
2484 get type => null; 2494 get type => null;
2485 2495
2486 // Typedef. 2496 // Typedef.
2487 get typeParameters => null; 2497 get typeParameters => null;
2488 get formals => null; 2498 get formals => null;
2489 get typedefKeyword => null; 2499 get typedefKeyword => null;
2490 } 2500 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698