| 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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 } | 465 } |
| 466 | 466 |
| 467 /** | 467 /** |
| 468 * The interface `AngularPropertyElement` defines a single property in | 468 * The interface `AngularPropertyElement` defines a single property in |
| 469 * [AngularComponentElement]. | 469 * [AngularComponentElement]. |
| 470 */ | 470 */ |
| 471 abstract class AngularPropertyElement implements AngularElement { | 471 abstract class AngularPropertyElement implements AngularElement { |
| 472 /** | 472 /** |
| 473 * An empty array of property elements. | 473 * An empty array of property elements. |
| 474 */ | 474 */ |
| 475 static final List<AngularPropertyElement> EMPTY_ARRAY = []; | 475 static final List<AngularPropertyElement> EMPTY_ARRAY = <AngularPropertyElemen
t>[]; |
| 476 | 476 |
| 477 /** | 477 /** |
| 478 * Returns the field this property is mapped to. | 478 * Returns the field this property is mapped to. |
| 479 * | 479 * |
| 480 * @return the field this property is mapped to. | 480 * @return the field this property is mapped to. |
| 481 */ | 481 */ |
| 482 FieldElement get field; | 482 FieldElement get field; |
| 483 | 483 |
| 484 /** | 484 /** |
| 485 * Return the offset of the field name of this property in the property map, o
r `-1` if | 485 * Return the offset of the field name of this property in the property map, o
r `-1` if |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 589 } | 589 } |
| 590 | 590 |
| 591 /** | 591 /** |
| 592 * The interface `AngularScopeVariableElement` defines the Angular <code>Scope</
code> | 592 * The interface `AngularScopeVariableElement` defines the Angular <code>Scope</
code> |
| 593 * property. They are created for every <code>scope['property'] = value;</code>
code snippet. | 593 * property. They are created for every <code>scope['property'] = value;</code>
code snippet. |
| 594 */ | 594 */ |
| 595 abstract class AngularScopePropertyElement implements AngularElement { | 595 abstract class AngularScopePropertyElement implements AngularElement { |
| 596 /** | 596 /** |
| 597 * An empty array of scope property elements. | 597 * An empty array of scope property elements. |
| 598 */ | 598 */ |
| 599 static final List<AngularScopePropertyElement> EMPTY_ARRAY = []; | 599 static final List<AngularScopePropertyElement> EMPTY_ARRAY = <AngularScopeProp
ertyElement>[]; |
| 600 | 600 |
| 601 /** | 601 /** |
| 602 * Returns the type of this property, not `null`, maybe <code>dynamic</code>. | 602 * Returns the type of this property, not `null`, maybe <code>dynamic</code>. |
| 603 * | 603 * |
| 604 * @return the type of this property. | 604 * @return the type of this property. |
| 605 */ | 605 */ |
| 606 DartType get type; | 606 DartType get type; |
| 607 } | 607 } |
| 608 | 608 |
| 609 /** | 609 /** |
| (...skipping 8490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 9100 } | 9100 } |
| 9101 | 9101 |
| 9102 /** | 9102 /** |
| 9103 * The interface `NamespaceCombinator` defines the behavior common to objects th
at control how | 9103 * The interface `NamespaceCombinator` defines the behavior common to objects th
at control how |
| 9104 * namespaces are combined. | 9104 * namespaces are combined. |
| 9105 */ | 9105 */ |
| 9106 abstract class NamespaceCombinator { | 9106 abstract class NamespaceCombinator { |
| 9107 /** | 9107 /** |
| 9108 * An empty array of namespace combinators. | 9108 * An empty array of namespace combinators. |
| 9109 */ | 9109 */ |
| 9110 static final List<NamespaceCombinator> EMPTY_ARRAY = new List<NamespaceCombina
tor>(0); | 9110 static const List<NamespaceCombinator> EMPTY_ARRAY = const <NamespaceCombinato
r>[]; |
| 9111 } | 9111 } |
| 9112 | 9112 |
| 9113 /** | 9113 /** |
| 9114 * The interface `ParameterElement` defines the behavior of elements representin
g a parameter | 9114 * The interface `ParameterElement` defines the behavior of elements representin
g a parameter |
| 9115 * defined within an executable element. | 9115 * defined within an executable element. |
| 9116 */ | 9116 */ |
| 9117 abstract class ParameterElement implements LocalElement, VariableElement { | 9117 abstract class ParameterElement implements LocalElement, VariableElement { |
| 9118 /** | 9118 /** |
| 9119 * Return the Dart code of the default value, or `null` if no default value. | 9119 * Return the Dart code of the default value, or `null` if no default value. |
| 9120 * | 9120 * |
| (...skipping 2657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 11778 if (type is UnionType) { | 11778 if (type is UnionType) { |
| 11779 return (type as UnionTypeImpl).internalUnionTypeIsSuperTypeOf(this, visite
dTypePairs); | 11779 return (type as UnionTypeImpl).internalUnionTypeIsSuperTypeOf(this, visite
dTypePairs); |
| 11780 } | 11780 } |
| 11781 // The only subtype relations that pertain to void are therefore: | 11781 // The only subtype relations that pertain to void are therefore: |
| 11782 // void <: void (by reflexivity) | 11782 // void <: void (by reflexivity) |
| 11783 // bottom <: void (as bottom is a subtype of all types). | 11783 // bottom <: void (as bottom is a subtype of all types). |
| 11784 // void <: dynamic (as dynamic is a supertype of all types) | 11784 // void <: dynamic (as dynamic is a supertype of all types) |
| 11785 return identical(type, this) || type.isDynamic; | 11785 return identical(type, this) || type.isDynamic; |
| 11786 } | 11786 } |
| 11787 } | 11787 } |
| OLD | NEW |