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

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

Issue 2606253002: Move dart_types to elements/resolution_types (Closed)
Patch Set: Created 3 years, 11 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;
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 '../dart_types.dart';
15 import '../diagnostics/messages.dart' show MessageTemplate; 14 import '../diagnostics/messages.dart' show MessageTemplate;
16 import '../ordered_typeset.dart' show OrderedTypeSet; 15 import '../ordered_typeset.dart' show OrderedTypeSet;
17 import '../resolution/class_members.dart' show ClassMemberMixin; 16 import '../resolution/class_members.dart' show ClassMemberMixin;
18 import '../resolution/resolution.dart' show AnalyzableElementX; 17 import '../resolution/resolution.dart' show AnalyzableElementX;
19 import '../resolution/scope.dart' 18 import '../resolution/scope.dart'
20 show ClassScope, LibraryScope, Scope, TypeDeclarationScope; 19 show ClassScope, LibraryScope, Scope, TypeDeclarationScope;
21 import '../resolution/tree_elements.dart' show TreeElements; 20 import '../resolution/tree_elements.dart' show TreeElements;
22 import '../resolution/typedefs.dart' show TypedefCyclicVisitor; 21 import '../resolution/typedefs.dart' show TypedefCyclicVisitor;
23 import '../script.dart'; 22 import '../script.dart';
24 import '../tokens/token.dart' show ErrorToken, Token; 23 import '../tokens/token.dart' show ErrorToken, Token;
25 import '../tokens/token_constants.dart' as Tokens show EOF_TOKEN; 24 import '../tokens/token_constants.dart' as Tokens show EOF_TOKEN;
26 import '../tree/tree.dart'; 25 import '../tree/tree.dart';
27 import '../util/util.dart'; 26 import '../util/util.dart';
28 import 'common.dart'; 27 import 'common.dart';
29 import 'elements.dart'; 28 import 'elements.dart';
29 import 'resolution_types.dart';
30 import 'visitor.dart' show ElementVisitor; 30 import 'visitor.dart' show ElementVisitor;
31 31
32 /// Object that identifies a declaration site. 32 /// Object that identifies a declaration site.
33 /// 33 ///
34 /// For most elements, this is the element itself, but for variable declarations 34 /// For most elements, this is the element itself, but for variable declarations
35 /// where multi-declarations like `var a, b, c` are allowed, the declaration 35 /// where multi-declarations like `var a, b, c` are allowed, the declaration
36 /// site is a separate object. 36 /// site is a separate object.
37 // TODO(johnniwinther): Add [beginToken] and [endToken] getters. 37 // TODO(johnniwinther): Add [beginToken] and [endToken] getters.
38 abstract class DeclarationSite {} 38 abstract class DeclarationSite {}
39 39
(...skipping 3374 matching lines...) Expand 10 before | Expand all | Expand 10 after
3414 body = node.asFunctionExpression().body; 3414 body = node.asFunctionExpression().body;
3415 } 3415 }
3416 return new ParsedResolvedAst( 3416 return new ParsedResolvedAst(
3417 declaration, 3417 declaration,
3418 node, 3418 node,
3419 body, 3419 body,
3420 definingElement.treeElements, 3420 definingElement.treeElements,
3421 definingElement.compilationUnit.script.resourceUri); 3421 definingElement.compilationUnit.script.resourceUri);
3422 } 3422 }
3423 } 3423 }
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