| OLD | NEW | 
|---|
| 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 1190 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1201     implements FunctionTypedElement, TypedElement, AstElement { | 1201     implements FunctionTypedElement, TypedElement, AstElement { | 
| 1202   /// Use [functionDeclaration] instead. | 1202   /// Use [functionDeclaration] instead. | 
| 1203   @deprecated | 1203   @deprecated | 
| 1204   get enclosingElement; | 1204   get enclosingElement; | 
| 1205 | 1205 | 
| 1206   /// The function, typedef or inline function-typed parameter on which | 1206   /// The function, typedef or inline function-typed parameter on which | 
| 1207   /// this parameter is declared. | 1207   /// this parameter is declared. | 
| 1208   FunctionTypedElement get functionDeclaration; | 1208   FunctionTypedElement get functionDeclaration; | 
| 1209 | 1209 | 
| 1210   VariableDefinitions get node; | 1210   VariableDefinitions get node; | 
|  | 1211 | 
|  | 1212   /// Whether the parameter is unnamed in a function type. | 
|  | 1213   bool get isUnnamed; | 
| 1211 } | 1214 } | 
| 1212 | 1215 | 
| 1213 /// A formal parameter of a function or constructor. | 1216 /// A formal parameter of a function or constructor. | 
| 1214 /// | 1217 /// | 
| 1215 /// Normal parameter that introduce a local variable are modeled by | 1218 /// Normal parameter that introduce a local variable are modeled by | 
| 1216 /// [LocalParameterElement] whereas initializing formals, that is parameter of | 1219 /// [LocalParameterElement] whereas initializing formals, that is parameter of | 
| 1217 /// the form `this.x`, are modeled by [InitializingFormalElement]. | 1220 /// the form `this.x`, are modeled by [InitializingFormalElement]. | 
| 1218 abstract class ParameterElement extends Element | 1221 abstract class ParameterElement extends Element | 
| 1219     implements VariableElement, FormalElement, LocalElement { | 1222     implements VariableElement, FormalElement, LocalElement { | 
| 1220   /// Use [functionDeclaration] instead. | 1223   /// Use [functionDeclaration] instead. | 
| (...skipping 793 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2014   /// by a field. | 2017   /// by a field. | 
| 2015   bool get isDeclaredByField; | 2018   bool get isDeclaredByField; | 
| 2016 | 2019 | 
| 2017   /// Returns `true` if this member is abstract. | 2020   /// Returns `true` if this member is abstract. | 
| 2018   bool get isAbstract; | 2021   bool get isAbstract; | 
| 2019 | 2022 | 
| 2020   /// If abstract, [implementation] points to the overridden concrete member, | 2023   /// If abstract, [implementation] points to the overridden concrete member, | 
| 2021   /// if any. Otherwise [implementation] points to the member itself. | 2024   /// if any. Otherwise [implementation] points to the member itself. | 
| 2022   Member get implementation; | 2025   Member get implementation; | 
| 2023 } | 2026 } | 
| OLD | NEW | 
|---|