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.scope_information_visitor; | 5 library trydart.poi.scope_information_visitor; |
6 | 6 |
7 import 'package:compiler/src/elements/modelx.dart' as modelx; | 7 import 'package:compiler/src/elements/modelx.dart' as modelx; |
8 | 8 |
9 import 'package:compiler/src/elements/modelx.dart' show | 9 import 'package:compiler/src/elements/modelx.dart' show |
10 CompilationUnitElementX, | 10 CompilationUnitElementX, |
11 FieldElementX; | 11 FieldElementX; |
12 | 12 |
13 import 'package:compiler/src/elements/visitor.dart' show | 13 import 'package:compiler/src/elements/visitor.dart' show |
14 BaseElementVisitor; | 14 BaseElementVisitor; |
15 | 15 |
16 import 'package:compiler/src/dart2jslib.dart' show | 16 import 'package:compiler/src/compiler.dart' show |
17 Compiler; | 17 Compiler; |
18 | 18 |
19 import 'package:compiler/src/elements/elements.dart' show | 19 import 'package:compiler/src/elements/elements.dart' show |
20 AbstractFieldElement, | 20 AbstractFieldElement, |
21 ClassElement, | 21 ClassElement, |
22 CompilationUnitElement, | 22 CompilationUnitElement, |
23 Element, | 23 Element, |
24 ElementCategory, | 24 ElementCategory, |
25 FunctionElement, | 25 FunctionElement, |
26 LibraryElement, | 26 LibraryElement, |
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 } | 296 } |
297 return result; | 297 return result; |
298 } | 298 } |
299 } | 299 } |
300 | 300 |
301 modelx.ScopeX localScope(modelx.LibraryElementX element) => element.localScope; | 301 modelx.ScopeX localScope(modelx.LibraryElementX element) => element.localScope; |
302 | 302 |
303 modelx.ImportScope importScope(modelx.LibraryElementX element) { | 303 modelx.ImportScope importScope(modelx.LibraryElementX element) { |
304 return element.importScope; | 304 return element.importScope; |
305 } | 305 } |
OLD | NEW |