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

Side by Side Diff: pkg/compiler/lib/src/resolution/resolution.dart

Issue 2644843006: Use packages dart_parser, dart_scanner, and compiler_util. (Closed)
Patch Set: Created 3 years, 11 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 library dart2js.resolution; 5 library dart2js.resolution;
6 6
7 import 'dart:collection' show Queue; 7 import 'dart:collection' show Queue;
8 8
9 import '../common.dart'; 9 import '../common.dart';
10 import '../common/names.dart' show Identifiers; 10 import '../common/names.dart' show Identifiers;
(...skipping 19 matching lines...) Expand all
30 FieldElementX, 30 FieldElementX,
31 FunctionElementX, 31 FunctionElementX,
32 GetterElementX, 32 GetterElementX,
33 MetadataAnnotationX, 33 MetadataAnnotationX,
34 MixinApplicationElementX, 34 MixinApplicationElementX,
35 ParameterMetadataAnnotation, 35 ParameterMetadataAnnotation,
36 SetterElementX, 36 SetterElementX,
37 TypedefElementX; 37 TypedefElementX;
38 import '../enqueue.dart'; 38 import '../enqueue.dart';
39 import '../options.dart'; 39 import '../options.dart';
40 import '../tokens/token.dart' 40 import 'package:dart_scanner/dart_scanner.dart'
41 show 41 show
42 isBinaryOperator, 42 isBinaryOperator,
43 isMinusOperator, 43 isMinusOperator,
44 isTernaryOperator, 44 isTernaryOperator,
45 isUnaryOperator, 45 isUnaryOperator,
46 isUserDefinableOperator; 46 isUserDefinableOperator;
47 import '../tree/tree.dart'; 47 import '../tree/tree.dart';
48 import '../universe/call_structure.dart' show CallStructure; 48 import '../universe/call_structure.dart' show CallStructure;
49 import '../universe/feature.dart' show Feature; 49 import '../universe/feature.dart' show Feature;
50 import '../universe/use.dart' show StaticUse, TypeUse; 50 import '../universe/use.dart' show StaticUse, TypeUse;
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 TreeElements get treeElements { 1138 TreeElements get treeElements {
1139 assert(invariant(this, _treeElements != null, 1139 assert(invariant(this, _treeElements != null,
1140 message: "TreeElements have not been computed for $this.")); 1140 message: "TreeElements have not been computed for $this."));
1141 return _treeElements; 1141 return _treeElements;
1142 } 1142 }
1143 1143
1144 void reuseElement() { 1144 void reuseElement() {
1145 _treeElements = null; 1145 _treeElements = null;
1146 } 1146 }
1147 } 1147 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698