| 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; |
| (...skipping 2684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2695 with | 2695 with |
| 2696 AstElementMixin, | 2696 AstElementMixin, |
| 2697 AnalyzableElementX, | 2697 AnalyzableElementX, |
| 2698 ClassElementCommon, | 2698 ClassElementCommon, |
| 2699 TypeDeclarationElementX<ResolutionInterfaceType>, | 2699 TypeDeclarationElementX<ResolutionInterfaceType>, |
| 2700 PatchMixin<ClassElement>, | 2700 PatchMixin<ClassElement>, |
| 2701 ClassMemberMixin | 2701 ClassMemberMixin |
| 2702 implements ClassElement { | 2702 implements ClassElement { |
| 2703 final int id; | 2703 final int id; |
| 2704 | 2704 |
| 2705 ResolutionDartType supertype; | 2705 ResolutionInterfaceType supertype; |
| 2706 Link<ResolutionDartType> interfaces; | 2706 Link<ResolutionDartType> interfaces; |
| 2707 int supertypeLoadState; | 2707 int supertypeLoadState; |
| 2708 int resolutionState; | 2708 int resolutionState; |
| 2709 bool isProxy = false; | 2709 bool isProxy = false; |
| 2710 bool hasIncompleteHierarchy = false; | 2710 bool hasIncompleteHierarchy = false; |
| 2711 | 2711 |
| 2712 OrderedTypeSet allSupertypesAndSelf; | 2712 OrderedTypeSet allSupertypesAndSelf; |
| 2713 | 2713 |
| 2714 BaseClassElementX(String name, Element enclosing, this.id, int initialState) | 2714 BaseClassElementX(String name, Element enclosing, this.id, int initialState) |
| 2715 : supertypeLoadState = initialState, | 2715 : supertypeLoadState = initialState, |
| (...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3490 body = node.asFunctionExpression().body; | 3490 body = node.asFunctionExpression().body; |
| 3491 } | 3491 } |
| 3492 return new ParsedResolvedAst( | 3492 return new ParsedResolvedAst( |
| 3493 declaration, | 3493 declaration, |
| 3494 node, | 3494 node, |
| 3495 body, | 3495 body, |
| 3496 definingElement.treeElements, | 3496 definingElement.treeElements, |
| 3497 definingElement.compilationUnit.script.resourceUri); | 3497 definingElement.compilationUnit.script.resourceUri); |
| 3498 } | 3498 } |
| 3499 } | 3499 } |
| OLD | NEW |