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/elements.dart

Issue 2498493003: kernel->ssa: get simple constructors working (Closed)
Patch Set: Created 4 years, 1 month 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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 elements; 5 library elements;
6 6
7 import '../common.dart'; 7 import '../common.dart';
8 import '../common/resolution.dart' show Resolution; 8 import '../common/resolution.dart' show Resolution;
9 import '../compiler.dart' show Compiler; 9 import '../compiler.dart' show Compiler;
10 import '../constants/constructors.dart'; 10 import '../constants/constructors.dart';
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 /// `true` if this element is a generative or factory constructor. 231 /// `true` if this element is a generative or factory constructor.
232 bool get isConstructor; 232 bool get isConstructor;
233 233
234 /// `true` if this element is a generative constructor, potentially 234 /// `true` if this element is a generative constructor, potentially
235 /// redirecting. 235 /// redirecting.
236 bool get isGenerativeConstructor; 236 bool get isGenerativeConstructor;
237 237
238 /// `true` if this element is the body of a generative constructor. 238 /// `true` if this element is the body of a generative constructor.
239 /// 239 ///
240 /// This is a synthetic element kind used only be the JavaScript backend. 240 /// This is a synthetic element kind used only by the JavaScript backend.
241 bool get isGenerativeConstructorBody; 241 bool get isGenerativeConstructorBody;
242 242
243 /// `true` if this element is a factory constructor, 243 /// `true` if this element is a factory constructor,
244 /// potentially redirecting. 244 /// potentially redirecting.
245 bool get isFactoryConstructor; 245 bool get isFactoryConstructor;
246 246
247 /// `true` if this element is a local variable. 247 /// `true` if this element is a local variable.
248 bool get isVariable; 248 bool get isVariable;
249 249
250 /// `true` if this element is a top level variable, static or instance field. 250 /// `true` if this element is a top level variable, static or instance field.
(...skipping 1672 matching lines...) Expand 10 before | Expand all | Expand 10 after
1923 /// by a field. 1923 /// by a field.
1924 bool get isDeclaredByField; 1924 bool get isDeclaredByField;
1925 1925
1926 /// Returns `true` if this member is abstract. 1926 /// Returns `true` if this member is abstract.
1927 bool get isAbstract; 1927 bool get isAbstract;
1928 1928
1929 /// If abstract, [implementation] points to the overridden concrete member, 1929 /// If abstract, [implementation] points to the overridden concrete member,
1930 /// if any. Otherwise [implementation] points to the member itself. 1930 /// if any. Otherwise [implementation] points to the member itself.
1931 Member get implementation; 1931 Member get implementation;
1932 } 1932 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/ssa/builder.dart » ('j') | pkg/compiler/lib/src/ssa/builder_kernel.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698