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

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

Issue 2955353002: Split inference type-info accessors into members, parameters and local functions (Closed)
Patch Set: Cleanup Created 3 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) 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 '../constants/constructors.dart'; 9 import '../constants/constructors.dart';
10 import '../constants/expressions.dart'; 10 import '../constants/expressions.dart';
(...skipping 1278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1289 /// The getter corresponding to this setter, if any. 1289 /// The getter corresponding to this setter, if any.
1290 GetterElement get getter; 1290 GetterElement get getter;
1291 } 1291 }
1292 1292
1293 /// A top level, static or instance function. 1293 /// A top level, static or instance function.
1294 abstract class MethodElement extends FunctionElement 1294 abstract class MethodElement extends FunctionElement
1295 implements MemberElement, FunctionEntity {} 1295 implements MemberElement, FunctionEntity {}
1296 1296
1297 /// A local function or closure (anonymous local function). 1297 /// A local function or closure (anonymous local function).
1298 abstract class LocalFunctionElement extends FunctionElement 1298 abstract class LocalFunctionElement extends FunctionElement
1299 implements LocalElement {} 1299 implements LocalElement {
1300 /// The synthesized 'call' method created for this local function during
1301 /// closure conversion.
1302 MethodElement callMethod;
1303 }
1300 1304
1301 /// A constructor. 1305 /// A constructor.
1302 abstract class ConstructorElement extends MethodElement 1306 abstract class ConstructorElement extends MethodElement
1303 implements ConstructorEntity { 1307 implements ConstructorEntity {
1304 /// Returns `true` if [effectiveTarget] has been computed for this 1308 /// Returns `true` if [effectiveTarget] has been computed for this
1305 /// constructor. 1309 /// constructor.
1306 bool get hasEffectiveTarget; 1310 bool get hasEffectiveTarget;
1307 1311
1308 /// The effective target of this constructor, that is the non-redirecting 1312 /// The effective target of this constructor, that is the non-redirecting
1309 /// constructor that is called on invocation of this constructor. 1313 /// constructor that is called on invocation of this constructor.
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1895 /// by a field. 1899 /// by a field.
1896 bool get isDeclaredByField; 1900 bool get isDeclaredByField;
1897 1901
1898 /// Returns `true` if this member is abstract. 1902 /// Returns `true` if this member is abstract.
1899 bool get isAbstract; 1903 bool get isAbstract;
1900 1904
1901 /// If abstract, [implementation] points to the overridden concrete member, 1905 /// If abstract, [implementation] points to the overridden concrete member,
1902 /// if any. Otherwise [implementation] points to the member itself. 1906 /// if any. Otherwise [implementation] points to the member itself.
1903 Member get implementation; 1907 Member get implementation;
1904 } 1908 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698