OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 trydart.poi.diff; | 5 library trydart.poi.diff; |
6 | 6 |
7 import 'package:compiler/src/elements/elements.dart' show | 7 import 'package:compiler/implementation/elements/elements.dart' show |
8 AbstractFieldElement, | 8 AbstractFieldElement, |
9 ClassElement, | 9 ClassElement, |
10 CompilationUnitElement, | 10 CompilationUnitElement, |
11 Element, | 11 Element, |
12 ElementCategory, | 12 ElementCategory, |
13 FunctionElement, | 13 FunctionElement, |
14 LibraryElement, | 14 LibraryElement, |
15 ScopeContainerElement; | 15 ScopeContainerElement; |
16 | 16 |
17 import 'package:compiler/src/elements/modelx.dart' as modelx; | 17 import 'package:compiler/implementation/elements/modelx.dart' as modelx; |
18 | 18 |
19 import 'package:compiler/src/elements/modelx.dart' show | 19 import 'package:compiler/implementation/elements/modelx.dart' show |
20 DeclarationSite; | 20 DeclarationSite; |
21 | 21 |
22 import 'package:compiler/src/scanner/scannerlib.dart' show | 22 import 'package:compiler/implementation/scanner/scannerlib.dart' show |
23 EOF_TOKEN, | 23 EOF_TOKEN, |
24 ErrorToken, | 24 ErrorToken, |
25 IDENTIFIER_TOKEN, | 25 IDENTIFIER_TOKEN, |
26 KEYWORD_TOKEN, | 26 KEYWORD_TOKEN, |
27 PartialClassElement, | 27 PartialClassElement, |
28 PartialElement, | 28 PartialElement, |
29 Token; | 29 Token; |
30 | 30 |
31 class Difference { | 31 class Difference { |
32 final DeclarationSite before; | 32 final DeclarationSite before; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 beforeToken = beforeToken.next; | 109 beforeToken = beforeToken.next; |
110 afterToken = afterToken.next; | 110 afterToken = afterToken.next; |
111 beforeKind = beforeToken.kind; | 111 beforeKind = beforeToken.kind; |
112 afterKind = afterToken.kind; | 112 afterKind = afterToken.kind; |
113 } | 113 } |
114 return beforeKind != afterKind; | 114 return beforeKind != afterKind; |
115 } | 115 } |
116 print("$before isn't a PartialElement"); | 116 print("$before isn't a PartialElement"); |
117 return true; | 117 return true; |
118 } | 118 } |
OLD | NEW |