OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 elements.modelx; | 5 library elements.modelx; |
6 | 6 |
7 import '../common.dart'; | 7 import '../common.dart'; |
8 import '../common/names.dart' show Identifiers; | 8 import '../common/names.dart' show Identifiers; |
9 import '../common/resolution.dart' show Resolution, ParsingContext; | 9 import '../common/resolution.dart' show Resolution, ParsingContext; |
10 import '../compiler.dart' show Compiler; | 10 import '../compiler.dart' show Compiler; |
11 import '../constants/constant_constructors.dart'; | 11 import '../constants/constant_constructors.dart'; |
12 import '../constants/constructors.dart'; | 12 import '../constants/constructors.dart'; |
13 import '../constants/expressions.dart'; | 13 import '../constants/expressions.dart'; |
| 14 import '../core_types.dart' show CoreClasses; |
14 import '../dart_types.dart'; | 15 import '../dart_types.dart'; |
15 import '../diagnostics/messages.dart' show MessageTemplate; | 16 import '../diagnostics/messages.dart' show MessageTemplate; |
16 import '../ordered_typeset.dart' show OrderedTypeSet; | 17 import '../ordered_typeset.dart' show OrderedTypeSet; |
17 import '../resolution/class_members.dart' show ClassMemberMixin; | 18 import '../resolution/class_members.dart' show ClassMemberMixin; |
18 import '../resolution/resolution.dart' show AnalyzableElementX; | 19 import '../resolution/resolution.dart' show AnalyzableElementX; |
19 import '../resolution/scope.dart' | 20 import '../resolution/scope.dart' |
20 show ClassScope, LibraryScope, Scope, TypeDeclarationScope; | 21 show ClassScope, LibraryScope, Scope, TypeDeclarationScope; |
21 import '../resolution/tree_elements.dart' show TreeElements; | 22 import '../resolution/tree_elements.dart' show TreeElements; |
22 import '../resolution/typedefs.dart' show TypedefCyclicVisitor; | 23 import '../resolution/typedefs.dart' show TypedefCyclicVisitor; |
23 import '../script.dart'; | 24 import '../script.dart'; |
(...skipping 3378 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3402 body = node.asFunctionExpression().body; | 3403 body = node.asFunctionExpression().body; |
3403 } | 3404 } |
3404 return new ParsedResolvedAst( | 3405 return new ParsedResolvedAst( |
3405 declaration, | 3406 declaration, |
3406 node, | 3407 node, |
3407 body, | 3408 body, |
3408 definingElement.treeElements, | 3409 definingElement.treeElements, |
3409 definingElement.compilationUnit.script.resourceUri); | 3410 definingElement.compilationUnit.script.resourceUri); |
3410 } | 3411 } |
3411 } | 3412 } |
OLD | NEW |