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

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

Issue 2638063003: Reverts the following two commits: (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1095 matching lines...) Expand 10 before | Expand all | Expand 10 after
1106 implements FunctionTypedElement, TypedElement, AstElement { 1106 implements FunctionTypedElement, TypedElement, AstElement {
1107 /// Use [functionDeclaration] instead. 1107 /// Use [functionDeclaration] instead.
1108 @deprecated 1108 @deprecated
1109 get enclosingElement; 1109 get enclosingElement;
1110 1110
1111 /// The function, typedef or inline function-typed parameter on which 1111 /// The function, typedef or inline function-typed parameter on which
1112 /// this parameter is declared. 1112 /// this parameter is declared.
1113 FunctionTypedElement get functionDeclaration; 1113 FunctionTypedElement get functionDeclaration;
1114 1114
1115 VariableDefinitions get node; 1115 VariableDefinitions get node;
1116
1117 /// Whether the parameter is unnamed in a function type.
1118 bool get isUnnamed;
1119 } 1116 }
1120 1117
1121 /// A formal parameter of a function or constructor. 1118 /// A formal parameter of a function or constructor.
1122 /// 1119 ///
1123 /// Normal parameter that introduce a local variable are modeled by 1120 /// Normal parameter that introduce a local variable are modeled by
1124 /// [LocalParameterElement] whereas initializing formals, that is parameter of 1121 /// [LocalParameterElement] whereas initializing formals, that is parameter of
1125 /// the form `this.x`, are modeled by [InitializingFormalElement]. 1122 /// the form `this.x`, are modeled by [InitializingFormalElement].
1126 abstract class ParameterElement extends Element 1123 abstract class ParameterElement extends Element
1127 implements VariableElement, FormalElement, LocalElement { 1124 implements VariableElement, FormalElement, LocalElement {
1128 /// Use [functionDeclaration] instead. 1125 /// Use [functionDeclaration] instead.
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
1921 /// by a field. 1918 /// by a field.
1922 bool get isDeclaredByField; 1919 bool get isDeclaredByField;
1923 1920
1924 /// Returns `true` if this member is abstract. 1921 /// Returns `true` if this member is abstract.
1925 bool get isAbstract; 1922 bool get isAbstract;
1926 1923
1927 /// If abstract, [implementation] points to the overridden concrete member, 1924 /// If abstract, [implementation] points to the overridden concrete member,
1928 /// if any. Otherwise [implementation] points to the member itself. 1925 /// if any. Otherwise [implementation] points to the member itself.
1929 Member get implementation; 1926 Member get implementation;
1930 } 1927 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/common/resolution.dart ('k') | pkg/compiler/lib/src/elements/modelx.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698