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

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

Issue 2767653002: Implement fullNameForErrors on all Builders. (Closed)
Patch Set: Used <unnamed> instead of empty string. 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 '../parser/parser.dart' show FormalParameterType; 7 import '../parser/parser.dart' show FormalParameterType;
8 8
9 import 'builder.dart' 9 import 'builder.dart'
10 show LibraryBuilder, MetadataBuilder, ModifierBuilder, TypeBuilder; 10 show LibraryBuilder, MetadataBuilder, ModifierBuilder, TypeBuilder;
(...skipping 19 matching lines...) Expand all
30 30
31 bool get isRequired => kind.isRequired; 31 bool get isRequired => kind.isRequired;
32 32
33 bool get isPositional => kind.isPositional || kind.isRequired; 33 bool get isPositional => kind.isPositional || kind.isRequired;
34 34
35 bool get isNamed => kind.isNamed; 35 bool get isNamed => kind.isNamed;
36 36
37 bool get isOptional => !isRequired; 37 bool get isOptional => !isRequired;
38 38
39 bool get isLocal => true; 39 bool get isLocal => true;
40
41 @override
42 String get fullNameForErrors => name;
40 } 43 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/builder/class_builder.dart ('k') | pkg/front_end/lib/src/fasta/builder/member_builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698