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

Side by Side Diff: pkg/compiler/lib/src/elements/modelx.dart

Issue 2808763005: Extract OrderedTypeSetBuilderBase from OrderedTypeSetBuilder (Closed)
Patch Set: Created 3 years, 8 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) 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
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
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 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/elements/elements.dart ('k') | pkg/compiler/lib/src/elements/resolution_types.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698