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

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

Issue 2132383002: Renamed isParameter to isRegularParameter. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Review response Created 4 years, 5 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) 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 CoreClasses; 10 import '../core_types.dart' show CoreClasses;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 @override 60 @override
61 bool get isVariable => kind == ElementKind.VARIABLE; 61 bool get isVariable => kind == ElementKind.VARIABLE;
62 62
63 @override 63 @override
64 bool get isField => kind == ElementKind.FIELD; 64 bool get isField => kind == ElementKind.FIELD;
65 65
66 @override 66 @override
67 bool get isAbstractField => kind == ElementKind.ABSTRACT_FIELD; 67 bool get isAbstractField => kind == ElementKind.ABSTRACT_FIELD;
68 68
69 @override 69 @override
70 bool get isParameter => kind == ElementKind.PARAMETER; 70 bool get isRegularParameter => kind == ElementKind.PARAMETER;
71 71
72 @override 72 @override
73 bool get isInitializingFormal => kind == ElementKind.INITIALIZING_FORMAL; 73 bool get isInitializingFormal => kind == ElementKind.INITIALIZING_FORMAL;
74 74
75 @override 75 @override
76 bool get isError => kind == ElementKind.ERROR; 76 bool get isError => kind == ElementKind.ERROR;
77 77
78 @override 78 @override
79 bool get isAmbiguous => kind == ElementKind.AMBIGUOUS; 79 bool get isAmbiguous => kind == ElementKind.AMBIGUOUS;
80 80
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 @override 646 @override
647 bool get isBoolFromEnvironmentConstructor { 647 bool get isBoolFromEnvironmentConstructor {
648 return fromEnvironmentState == _FromEnvironmentState.BOOL; 648 return fromEnvironmentState == _FromEnvironmentState.BOOL;
649 } 649 }
650 650
651 @override 651 @override
652 bool get isStringFromEnvironmentConstructor { 652 bool get isStringFromEnvironmentConstructor {
653 return fromEnvironmentState == _FromEnvironmentState.STRING; 653 return fromEnvironmentState == _FromEnvironmentState.STRING;
654 } 654 }
655 } 655 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/dart_backend/placeholder_collector.dart ('k') | pkg/compiler/lib/src/elements/elements.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698