| 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 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 * unnamed functions and exist in order to more accurately represent the semanti
c structure of the | 354 * unnamed functions and exist in order to more accurately represent the semanti
c structure of the |
| 355 * program. | 355 * program. |
| 356 * @coverage dart.engine.element | 356 * @coverage dart.engine.element |
| 357 */ | 357 */ |
| 358 abstract class Element { | 358 abstract class Element { |
| 359 | 359 |
| 360 /** | 360 /** |
| 361 * A comparator that can be used to sort elements by their name offset. Elemen
ts with a smaller | 361 * A comparator that can be used to sort elements by their name offset. Elemen
ts with a smaller |
| 362 * offset will be sorted to be before elements with a larger name offset. | 362 * offset will be sorted to be before elements with a larger name offset. |
| 363 */ | 363 */ |
| 364 static Comparator<Element> SORT_BY_OFFSET = (Element firstElement, Element sec
ondElement) => firstElement.nameOffset - secondElement.nameOffset; | 364 static final Comparator<Element> SORT_BY_OFFSET = (Element firstElement, Eleme
nt secondElement) => firstElement.nameOffset - secondElement.nameOffset; |
| 365 | 365 |
| 366 /** | 366 /** |
| 367 * Use the given visitor to visit this element. | 367 * Use the given visitor to visit this element. |
| 368 * @param visitor the visitor that will visit this element | 368 * @param visitor the visitor that will visit this element |
| 369 * @return the value returned by the visitor as a result of visiting this elem
ent | 369 * @return the value returned by the visitor as a result of visiting this elem
ent |
| 370 */ | 370 */ |
| 371 accept(ElementVisitor visitor); | 371 accept(ElementVisitor visitor); |
| 372 | 372 |
| 373 /** | 373 /** |
| 374 * Return the documentation comment for this element as it appears in the orig
inal source | 374 * Return the documentation comment for this element as it appears in the orig
inal source |
| (...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 /** | 666 /** |
| 667 * The interface {@code ExportElement} defines the behavior of objects represent
ing information | 667 * The interface {@code ExportElement} defines the behavior of objects represent
ing information |
| 668 * about a single export directive within a library. | 668 * about a single export directive within a library. |
| 669 * @coverage dart.engine.element | 669 * @coverage dart.engine.element |
| 670 */ | 670 */ |
| 671 abstract class ExportElement implements Element, UriReferencedElement { | 671 abstract class ExportElement implements Element, UriReferencedElement { |
| 672 | 672 |
| 673 /** | 673 /** |
| 674 * An empty array of export elements. | 674 * An empty array of export elements. |
| 675 */ | 675 */ |
| 676 static List<ExportElement> EMPTY_ARRAY = new List<ExportElement>(0); | 676 static final List<ExportElement> EMPTY_ARRAY = new List<ExportElement>(0); |
| 677 | 677 |
| 678 /** | 678 /** |
| 679 * Return an array containing the combinators that were specified as part of t
he export directive | 679 * Return an array containing the combinators that were specified as part of t
he export directive |
| 680 * in the order in which they were specified. | 680 * in the order in which they were specified. |
| 681 * @return the combinators specified in the export directive | 681 * @return the combinators specified in the export directive |
| 682 */ | 682 */ |
| 683 List<NamespaceCombinator> get combinators; | 683 List<NamespaceCombinator> get combinators; |
| 684 | 684 |
| 685 /** | 685 /** |
| 686 * Return the library that is exported from this library by this export direct
ive. | 686 * Return the library that is exported from this library by this export direct
ive. |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 806 /** | 806 /** |
| 807 * The interface {@code ImportElement} defines the behavior of objects represent
ing information | 807 * The interface {@code ImportElement} defines the behavior of objects represent
ing information |
| 808 * about a single import directive within a library. | 808 * about a single import directive within a library. |
| 809 * @coverage dart.engine.element | 809 * @coverage dart.engine.element |
| 810 */ | 810 */ |
| 811 abstract class ImportElement implements Element, UriReferencedElement { | 811 abstract class ImportElement implements Element, UriReferencedElement { |
| 812 | 812 |
| 813 /** | 813 /** |
| 814 * An empty array of import elements. | 814 * An empty array of import elements. |
| 815 */ | 815 */ |
| 816 static List<ImportElement> EMPTY_ARRAY = new List<ImportElement>(0); | 816 static final List<ImportElement> EMPTY_ARRAY = new List<ImportElement>(0); |
| 817 | 817 |
| 818 /** | 818 /** |
| 819 * Return an array containing the combinators that were specified as part of t
he import directive | 819 * Return an array containing the combinators that were specified as part of t
he import directive |
| 820 * in the order in which they were specified. | 820 * in the order in which they were specified. |
| 821 * @return the combinators specified in the import directive | 821 * @return the combinators specified in the import directive |
| 822 */ | 822 */ |
| 823 List<NamespaceCombinator> get combinators; | 823 List<NamespaceCombinator> get combinators; |
| 824 | 824 |
| 825 /** | 825 /** |
| 826 * Return the library that is imported into this library by this import direct
ive. | 826 * Return the library that is imported into this library by this import direct
ive. |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1007 /** | 1007 /** |
| 1008 * The interface {@code NamespaceCombinator} defines the behavior common to obje
cts that control how | 1008 * The interface {@code NamespaceCombinator} defines the behavior common to obje
cts that control how |
| 1009 * namespaces are combined. | 1009 * namespaces are combined. |
| 1010 * @coverage dart.engine.element | 1010 * @coverage dart.engine.element |
| 1011 */ | 1011 */ |
| 1012 abstract class NamespaceCombinator { | 1012 abstract class NamespaceCombinator { |
| 1013 | 1013 |
| 1014 /** | 1014 /** |
| 1015 * An empty array of namespace combinators. | 1015 * An empty array of namespace combinators. |
| 1016 */ | 1016 */ |
| 1017 static List<NamespaceCombinator> EMPTY_ARRAY = new List<NamespaceCombinator>(0
); | 1017 static final List<NamespaceCombinator> EMPTY_ARRAY = new List<NamespaceCombina
tor>(0); |
| 1018 } | 1018 } |
| 1019 /** | 1019 /** |
| 1020 * The interface {@code ParameterElement} defines the behavior of elements repre
senting a parameter | 1020 * The interface {@code ParameterElement} defines the behavior of elements repre
senting a parameter |
| 1021 * defined within an executable element. | 1021 * defined within an executable element. |
| 1022 * @coverage dart.engine.element | 1022 * @coverage dart.engine.element |
| 1023 */ | 1023 */ |
| 1024 abstract class ParameterElement implements LocalElement, VariableElement { | 1024 abstract class ParameterElement implements LocalElement, VariableElement { |
| 1025 | 1025 |
| 1026 /** | 1026 /** |
| 1027 * Return the kind of this parameter. | 1027 * Return the kind of this parameter. |
| (...skipping 5801 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6829 abstract class TypeVariableType implements Type2 { | 6829 abstract class TypeVariableType implements Type2 { |
| 6830 TypeVariableElement get element; | 6830 TypeVariableElement get element; |
| 6831 } | 6831 } |
| 6832 /** | 6832 /** |
| 6833 * The interface {@code VoidType} defines the behavior of the unique object repr
esenting the type{@code void}. | 6833 * The interface {@code VoidType} defines the behavior of the unique object repr
esenting the type{@code void}. |
| 6834 * @coverage dart.engine.type | 6834 * @coverage dart.engine.type |
| 6835 */ | 6835 */ |
| 6836 abstract class VoidType implements Type2 { | 6836 abstract class VoidType implements Type2 { |
| 6837 VoidType substitute2(List<Type2> argumentTypes, List<Type2> parameterTypes); | 6837 VoidType substitute2(List<Type2> argumentTypes, List<Type2> parameterTypes); |
| 6838 } | 6838 } |
| OLD | NEW |