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

Side by Side Diff: pkg/front_end/lib/src/fasta/builder/formal_parameter_builder.dart

Issue 2726793003: Remove package imports from itself. (Closed)
Patch Set: Created 3 years, 9 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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 fasta.formal_parameter_builder; 5 library fasta.formal_parameter_builder;
6 6
7 import 'package:front_end/src/fasta/parser/parser.dart' 7 import '../parser/parser.dart' show FormalParameterType;
8 show FormalParameterType;
9 8
10 import 'builder.dart' 9 import 'builder.dart'
11 show LibraryBuilder, MetadataBuilder, ModifierBuilder, TypeBuilder; 10 show LibraryBuilder, MetadataBuilder, ModifierBuilder, TypeBuilder;
12 11
13 abstract class FormalParameterBuilder<T extends TypeBuilder> 12 abstract class FormalParameterBuilder<T extends TypeBuilder>
14 extends ModifierBuilder { 13 extends ModifierBuilder {
15 final List<MetadataBuilder> metadata; 14 final List<MetadataBuilder> metadata;
16 15
17 final int modifiers; 16 final int modifiers;
18 17
(...skipping 13 matching lines...) Expand all
32 bool get isRequired => kind.isRequired; 31 bool get isRequired => kind.isRequired;
33 32
34 bool get isPositional => kind.isPositional || kind.isRequired; 33 bool get isPositional => kind.isPositional || kind.isRequired;
35 34
36 bool get isNamed => kind.isNamed; 35 bool get isNamed => kind.isNamed;
37 36
38 bool get isOptional => !isRequired; 37 bool get isOptional => !isRequired;
39 38
40 bool get isLocal => true; 39 bool get isLocal => true;
41 } 40 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/bin/run.dart ('k') | pkg/front_end/lib/src/fasta/kernel/body_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698