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

Side by Side Diff: pkg/compiler/lib/src/elements/common.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
« no previous file with comments | « pkg/compiler/lib/src/deferred_load.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, 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 /// Mixins that implement convenience methods on [Element] subclasses. 5 /// Mixins that implement convenience methods on [Element] subclasses.
6 6
7 library elements.common; 7 library elements.common;
8 8
9 import '../common/names.dart' show Identifiers, Names, Uris; 9 import '../common/names.dart' show Identifiers, Names, Uris;
10 import '../core_types.dart' show CommonElements; 10 import '../core_types.dart' show CommonElements;
11 import '../dart_types.dart' show DartType, InterfaceType, FunctionType;
12 import '../util/util.dart' show Link; 11 import '../util/util.dart' show Link;
13 import 'elements.dart'; 12 import 'elements.dart';
13 import 'resolution_types.dart' show DartType, InterfaceType, FunctionType;
14 14
15 abstract class ElementCommon implements Element { 15 abstract class ElementCommon implements Element {
16 @override 16 @override
17 bool get isLibrary => kind == ElementKind.LIBRARY; 17 bool get isLibrary => kind == ElementKind.LIBRARY;
18 18
19 @override 19 @override
20 bool get isCompilationUnit => kind == ElementKind.COMPILATION_UNIT; 20 bool get isCompilationUnit => kind == ElementKind.COMPILATION_UNIT;
21 21
22 @override 22 @override
23 bool get isPrefix => kind == ElementKind.PREFIX; 23 bool get isPrefix => kind == ElementKind.PREFIX;
(...skipping 621 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 @override 645 @override
646 bool get isBoolFromEnvironmentConstructor { 646 bool get isBoolFromEnvironmentConstructor {
647 return fromEnvironmentState == _FromEnvironmentState.BOOL; 647 return fromEnvironmentState == _FromEnvironmentState.BOOL;
648 } 648 }
649 649
650 @override 650 @override
651 bool get isStringFromEnvironmentConstructor { 651 bool get isStringFromEnvironmentConstructor {
652 return fromEnvironmentState == _FromEnvironmentState.STRING; 652 return fromEnvironmentState == _FromEnvironmentState.STRING;
653 } 653 }
654 } 654 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/deferred_load.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698