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

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

Issue 2788153002: Create separate scopes for constructors, setters, and other members. (Closed)
Patch Set: Update subpackage dependencies. Created 3 years, 8 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.builder; 5 library fasta.builder;
6 6
7 import '../errors.dart' show internalError; 7 import '../errors.dart' show internalError;
8 8
9 export 'class_builder.dart' show ClassBuilder; 9 export 'class_builder.dart' show ClassBuilder;
10 10
(...skipping 28 matching lines...) Expand all
39 export '../source/unhandled_listener.dart' show Unhandled; 39 export '../source/unhandled_listener.dart' show Unhandled;
40 40
41 export 'member_builder.dart' show MemberBuilder; 41 export 'member_builder.dart' show MemberBuilder;
42 42
43 export 'modifier_builder.dart' show ModifierBuilder; 43 export 'modifier_builder.dart' show ModifierBuilder;
44 44
45 export 'prefix_builder.dart' show PrefixBuilder; 45 export 'prefix_builder.dart' show PrefixBuilder;
46 46
47 export 'invalid_type_builder.dart' show InvalidTypeBuilder; 47 export 'invalid_type_builder.dart' show InvalidTypeBuilder;
48 48
49 export 'mixed_accessor.dart' show MixedAccessor; 49 export '../scope.dart' show AccessErrorBuilder, Scope, ScopeBuilder;
50
51 export '../scope.dart' show AccessErrorBuilder, Scope;
52 50
53 export 'builtin_type_builder.dart' show BuiltinTypeBuilder; 51 export 'builtin_type_builder.dart' show BuiltinTypeBuilder;
54 52
55 export 'dynamic_type_builder.dart' show DynamicTypeBuilder; 53 export 'dynamic_type_builder.dart' show DynamicTypeBuilder;
56 54
57 export 'void_type_builder.dart' show VoidTypeBuilder; 55 export 'void_type_builder.dart' show VoidTypeBuilder;
58 56
59 export 'function_type_builder.dart' show FunctionTypeBuilder; 57 export 'function_type_builder.dart' show FunctionTypeBuilder;
60 58
61 import 'library_builder.dart' show LibraryBuilder; 59 import 'library_builder.dart' show LibraryBuilder;
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 126
129 Uri computeLibraryUri() { 127 Uri computeLibraryUri() {
130 Builder builder = this; 128 Builder builder = this;
131 do { 129 do {
132 if (builder is LibraryBuilder) return builder.uri; 130 if (builder is LibraryBuilder) return builder.uri;
133 builder = builder.parent; 131 builder = builder.parent;
134 } while (builder != null); 132 } while (builder != null);
135 return internalError("No library parent."); 133 return internalError("No library parent.");
136 } 134 }
137 } 135 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698