| OLD | NEW |
| 1 // This code was auto-generated, is not intended to be edited, and is subject to | 1 // This code was auto-generated, is not intended to be edited, and is subject to |
| 2 // significant change. Please see the README file for more information. | 2 // significant change. Please see the README file for more information. |
| 3 library engine.element; | 3 library engine.element; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'java_core.dart'; | 5 import 'java_core.dart'; |
| 6 import 'java_engine.dart'; | 6 import 'java_engine.dart'; |
| 7 import 'source.dart'; | 7 import 'source.dart'; |
| 8 import 'scanner.dart' show Keyword; | 8 import 'scanner.dart' show Keyword; |
| 9 import 'ast.dart' show Identifier, LibraryIdentifier; | 9 import 'ast.dart' show Identifier, LibraryIdentifier; |
| 10 import 'sdk.dart' show DartSdk; | 10 import 'sdk.dart' show DartSdk; |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 245 * </ul> | 245 * </ul> |
| 246 * </blockquote> | 246 * </blockquote> |
| 247 * @param setterName the name of the setter being looked up | 247 * @param setterName the name of the setter being looked up |
| 248 * @param library the library with respect to which the lookup is being perfor
med | 248 * @param library the library with respect to which the lookup is being perfor
med |
| 249 * @return the result of looking up the given setter in this class with respec
t to the given | 249 * @return the result of looking up the given setter in this class with respec
t to the given |
| 250 * library | 250 * library |
| 251 */ | 251 */ |
| 252 PropertyAccessorElement lookUpSetter(String setterName, LibraryElement library
); | 252 PropertyAccessorElement lookUpSetter(String setterName, LibraryElement library
); |
| 253 } | 253 } |
| 254 /** | 254 /** |
| 255 * The interface {@code ClassMemberElement} defines the behavior of elements tha
t are contained |
| 256 * within a {@link ClassElement}. |
| 257 */ |
| 258 abstract class ClassMemberElement implements Element { |
| 259 |
| 260 /** |
| 261 * Return the type in which this constructor is defined. |
| 262 * @return the type in which this constructor is defined |
| 263 */ |
| 264 ClassElement get enclosingElement; |
| 265 } |
| 266 /** |
| 255 * The interface {@code CompilationUnitElement} defines the behavior of elements
representing a | 267 * The interface {@code CompilationUnitElement} defines the behavior of elements
representing a |
| 256 * compilation unit. | 268 * compilation unit. |
| 257 * @coverage dart.engine.element | 269 * @coverage dart.engine.element |
| 258 */ | 270 */ |
| 259 abstract class CompilationUnitElement implements Element, UriReferencedElement { | 271 abstract class CompilationUnitElement implements Element, UriReferencedElement { |
| 260 | 272 |
| 261 /** | 273 /** |
| 262 * Return an array containing all of the top-level accessors (getters and sett
ers) contained in | 274 * Return an array containing all of the top-level accessors (getters and sett
ers) contained in |
| 263 * this compilation unit. | 275 * this compilation unit. |
| 264 * @return the top-level accessors contained in this compilation unit | 276 * @return the top-level accessors contained in this compilation unit |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 301 * Return an array containing all of the classes contained in this compilation
unit. | 313 * Return an array containing all of the classes contained in this compilation
unit. |
| 302 * @return the classes contained in this compilation unit | 314 * @return the classes contained in this compilation unit |
| 303 */ | 315 */ |
| 304 List<ClassElement> get types; | 316 List<ClassElement> get types; |
| 305 } | 317 } |
| 306 /** | 318 /** |
| 307 * The interface {@code ConstructorElement} defines the behavior of elements rep
resenting a | 319 * The interface {@code ConstructorElement} defines the behavior of elements rep
resenting a |
| 308 * constructor or a factory method defined within a type. | 320 * constructor or a factory method defined within a type. |
| 309 * @coverage dart.engine.element | 321 * @coverage dart.engine.element |
| 310 */ | 322 */ |
| 311 abstract class ConstructorElement implements ExecutableElement { | 323 abstract class ConstructorElement implements ClassMemberElement, ExecutableEleme
nt { |
| 312 | |
| 313 /** | |
| 314 * Return the type in which this constructor is defined. | |
| 315 * @return the type in which this constructor is defined | |
| 316 */ | |
| 317 ClassElement get enclosingElement; | |
| 318 | 324 |
| 319 /** | 325 /** |
| 320 * Return the constructor to which this constructor is redirecting. | 326 * Return the constructor to which this constructor is redirecting. |
| 321 * @return the constructor to which this constructor is redirecting | 327 * @return the constructor to which this constructor is redirecting |
| 322 */ | 328 */ |
| 323 ConstructorElement get redirectedConstructor; | 329 ConstructorElement get redirectedConstructor; |
| 324 | 330 |
| 325 /** | 331 /** |
| 326 * Return {@code true} if this constructor is a const constructor. | 332 * Return {@code true} if this constructor is a const constructor. |
| 327 * @return {@code true} if this constructor is a const constructor | 333 * @return {@code true} if this constructor is a const constructor |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 702 * reference a Dart library source file. | 708 * reference a Dart library source file. |
| 703 * @return the source for the external Dart library | 709 * @return the source for the external Dart library |
| 704 */ | 710 */ |
| 705 Source get scriptSource; | 711 Source get scriptSource; |
| 706 } | 712 } |
| 707 /** | 713 /** |
| 708 * The interface {@code FieldElement} defines the behavior of elements represent
ing a field defined | 714 * The interface {@code FieldElement} defines the behavior of elements represent
ing a field defined |
| 709 * within a type. | 715 * within a type. |
| 710 * @coverage dart.engine.element | 716 * @coverage dart.engine.element |
| 711 */ | 717 */ |
| 712 abstract class FieldElement implements PropertyInducingElement { | 718 abstract class FieldElement implements ClassMemberElement, PropertyInducingEleme
nt { |
| 713 | |
| 714 /** | |
| 715 * Return the type in which this field is defined. | |
| 716 * @return the type in which this field is defined | |
| 717 */ | |
| 718 ClassElement get enclosingElement; | |
| 719 } | 719 } |
| 720 /** | 720 /** |
| 721 * The interface {@code FieldFormalParameterElement} defines the behavior of ele
ments representing a | 721 * The interface {@code FieldFormalParameterElement} defines the behavior of ele
ments representing a |
| 722 * field formal parameter defined within a constructor element. | 722 * field formal parameter defined within a constructor element. |
| 723 */ | 723 */ |
| 724 abstract class FieldFormalParameterElement implements ParameterElement { | 724 abstract class FieldFormalParameterElement implements ParameterElement { |
| 725 | 725 |
| 726 /** | 726 /** |
| 727 * Return the field element associated with this field formal parameter, or {@
code null} if the | 727 * Return the field element associated with this field formal parameter, or {@
code null} if the |
| 728 * parameter references a field that doesn't exist. | 728 * parameter references a field that doesn't exist. |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 * a local variable. | 966 * a local variable. |
| 967 * @coverage dart.engine.element | 967 * @coverage dart.engine.element |
| 968 */ | 968 */ |
| 969 abstract class LocalVariableElement implements LocalElement, VariableElement { | 969 abstract class LocalVariableElement implements LocalElement, VariableElement { |
| 970 } | 970 } |
| 971 /** | 971 /** |
| 972 * The interface {@code MethodElement} defines the behavior of elements that rep
resent a method | 972 * The interface {@code MethodElement} defines the behavior of elements that rep
resent a method |
| 973 * defined within a type. | 973 * defined within a type. |
| 974 * @coverage dart.engine.element | 974 * @coverage dart.engine.element |
| 975 */ | 975 */ |
| 976 abstract class MethodElement implements ExecutableElement { | 976 abstract class MethodElement implements ClassMemberElement, ExecutableElement { |
| 977 | |
| 978 /** | |
| 979 * Return the type in which this method is defined. | |
| 980 * @return the type in which this method is defined | |
| 981 */ | |
| 982 ClassElement get enclosingElement; | |
| 983 | 977 |
| 984 /** | 978 /** |
| 985 * Return {@code true} if this method is abstract. Methods are abstract if the
y are not external | 979 * Return {@code true} if this method is abstract. Methods are abstract if the
y are not external |
| 986 * and have no body. | 980 * and have no body. |
| 987 * @return {@code true} if this method is abstract | 981 * @return {@code true} if this method is abstract |
| 988 */ | 982 */ |
| 989 bool isAbstract(); | 983 bool isAbstract(); |
| 990 } | 984 } |
| 991 /** | 985 /** |
| 992 * The interface {@code MultiplyDefinedElement} defines the behavior of pseudo-e
lements that | 986 * The interface {@code MultiplyDefinedElement} defines the behavior of pseudo-e
lements that |
| (...skipping 5856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6849 abstract class TypeVariableType implements Type2 { | 6843 abstract class TypeVariableType implements Type2 { |
| 6850 TypeVariableElement get element; | 6844 TypeVariableElement get element; |
| 6851 } | 6845 } |
| 6852 /** | 6846 /** |
| 6853 * The interface {@code VoidType} defines the behavior of the unique object repr
esenting the type{@code void}. | 6847 * The interface {@code VoidType} defines the behavior of the unique object repr
esenting the type{@code void}. |
| 6854 * @coverage dart.engine.type | 6848 * @coverage dart.engine.type |
| 6855 */ | 6849 */ |
| 6856 abstract class VoidType implements Type2 { | 6850 abstract class VoidType implements Type2 { |
| 6857 VoidType substitute2(List<Type2> argumentTypes, List<Type2> parameterTypes); | 6851 VoidType substitute2(List<Type2> argumentTypes, List<Type2> parameterTypes); |
| 6858 } | 6852 } |
| OLD | NEW |