| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.element; | 8 library engine.element; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| (...skipping 8754 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8765 | 8765 |
| 8766 /** | 8766 /** |
| 8767 * A flag used for libraries indicating that the defining compilation unit con
tains at least one | 8767 * A flag used for libraries indicating that the defining compilation unit con
tains at least one |
| 8768 * import directive whose URI uses the "dart-ext" scheme. | 8768 * import directive whose URI uses the "dart-ext" scheme. |
| 8769 */ | 8769 */ |
| 8770 static const Modifier HAS_EXT_URI = const Modifier('HAS_EXT_URI', 9); | 8770 static const Modifier HAS_EXT_URI = const Modifier('HAS_EXT_URI', 9); |
| 8771 | 8771 |
| 8772 /** | 8772 /** |
| 8773 * Indicates that a class can validly be used as a mixin. | 8773 * Indicates that a class can validly be used as a mixin. |
| 8774 */ | 8774 */ |
| 8775 static const Modifier MIXIN = const Modifier('MIXIN', 11); | 8775 static const Modifier MIXIN = const Modifier('MIXIN', 10); |
| 8776 | 8776 |
| 8777 /** | 8777 /** |
| 8778 * Indicates that the value of a parameter or local variable might be mutated
within the context. | 8778 * Indicates that the value of a parameter or local variable might be mutated
within the context. |
| 8779 */ | 8779 */ |
| 8780 static const Modifier POTENTIALLY_MUTATED_IN_CONTEXT = const Modifier('POTENTI
ALLY_MUTATED_IN_CONTEXT', 12); | 8780 static const Modifier POTENTIALLY_MUTATED_IN_CONTEXT = const Modifier('POTENTI
ALLY_MUTATED_IN_CONTEXT', 11); |
| 8781 | 8781 |
| 8782 /** | 8782 /** |
| 8783 * Indicates that the value of a parameter or local variable might be mutated
within the scope. | 8783 * Indicates that the value of a parameter or local variable might be mutated
within the scope. |
| 8784 */ | 8784 */ |
| 8785 static const Modifier POTENTIALLY_MUTATED_IN_SCOPE = const Modifier('POTENTIAL
LY_MUTATED_IN_SCOPE', 13); | 8785 static const Modifier POTENTIALLY_MUTATED_IN_SCOPE = const Modifier('POTENTIAL
LY_MUTATED_IN_SCOPE', 12); |
| 8786 | 8786 |
| 8787 /** | 8787 /** |
| 8788 * Indicates that a class contains an explicit reference to 'super'. | 8788 * Indicates that a class contains an explicit reference to 'super'. |
| 8789 */ | 8789 */ |
| 8790 static const Modifier REFERENCES_SUPER = const Modifier('REFERENCES_SUPER', 14
); | 8790 static const Modifier REFERENCES_SUPER = const Modifier('REFERENCES_SUPER', 13
); |
| 8791 | 8791 |
| 8792 /** | 8792 /** |
| 8793 * Indicates that the pseudo-modifier 'set' was applied to the element. | 8793 * Indicates that the pseudo-modifier 'set' was applied to the element. |
| 8794 */ | 8794 */ |
| 8795 static const Modifier SETTER = const Modifier('SETTER', 15); | 8795 static const Modifier SETTER = const Modifier('SETTER', 14); |
| 8796 | 8796 |
| 8797 /** | 8797 /** |
| 8798 * Indicates that the modifier 'static' was applied to the element. | 8798 * Indicates that the modifier 'static' was applied to the element. |
| 8799 */ | 8799 */ |
| 8800 static const Modifier STATIC = const Modifier('STATIC', 16); | 8800 static const Modifier STATIC = const Modifier('STATIC', 15); |
| 8801 | 8801 |
| 8802 /** | 8802 /** |
| 8803 * Indicates that the element does not appear in the source code but was impli
citly created. For | 8803 * Indicates that the element does not appear in the source code but was impli
citly created. For |
| 8804 * example, if a class does not define any constructors, an implicit zero-argu
ment constructor | 8804 * example, if a class does not define any constructors, an implicit zero-argu
ment constructor |
| 8805 * will be created and it will be marked as being synthetic. | 8805 * will be created and it will be marked as being synthetic. |
| 8806 */ | 8806 */ |
| 8807 static const Modifier SYNTHETIC = const Modifier('SYNTHETIC', 17); | 8807 static const Modifier SYNTHETIC = const Modifier('SYNTHETIC', 16); |
| 8808 | 8808 |
| 8809 /** | 8809 /** |
| 8810 * Indicates that a class was defined using an alias. TODO(brianwilkerson) Thi
s should be renamed | 8810 * Indicates that a class was defined using an alias. TODO(brianwilkerson) Thi
s should be renamed |
| 8811 * to 'ALIAS'. | 8811 * to 'ALIAS'. |
| 8812 */ | 8812 */ |
| 8813 static const Modifier TYPEDEF = const Modifier('TYPEDEF', 18); | 8813 static const Modifier TYPEDEF = const Modifier('TYPEDEF', 17); |
| 8814 | 8814 |
| 8815 static const List<Modifier> values = const [ | 8815 static const List<Modifier> values = const [ |
| 8816 ABSTRACT, | 8816 ABSTRACT, |
| 8817 ASYNCHRONOUS, | 8817 ASYNCHRONOUS, |
| 8818 CONST, | 8818 CONST, |
| 8819 DEFERRED, | 8819 DEFERRED, |
| 8820 ENUM, | 8820 ENUM, |
| 8821 FACTORY, | 8821 FACTORY, |
| 8822 FINAL, | 8822 FINAL, |
| 8823 GENERATOR, | 8823 GENERATOR, |
| (...skipping 2953 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11777 if (type is UnionType) { | 11777 if (type is UnionType) { |
| 11778 return (type as UnionTypeImpl).internalUnionTypeIsSuperTypeOf(this, visite
dTypePairs); | 11778 return (type as UnionTypeImpl).internalUnionTypeIsSuperTypeOf(this, visite
dTypePairs); |
| 11779 } | 11779 } |
| 11780 // The only subtype relations that pertain to void are therefore: | 11780 // The only subtype relations that pertain to void are therefore: |
| 11781 // void <: void (by reflexivity) | 11781 // void <: void (by reflexivity) |
| 11782 // bottom <: void (as bottom is a subtype of all types). | 11782 // bottom <: void (as bottom is a subtype of all types). |
| 11783 // void <: dynamic (as dynamic is a supertype of all types) | 11783 // void <: dynamic (as dynamic is a supertype of all types) |
| 11784 return identical(type, this) || type.isDynamic; | 11784 return identical(type, this) || type.isDynamic; |
| 11785 } | 11785 } |
| 11786 } | 11786 } |
| OLD | NEW |