| 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 /** | 5 /** | 
| 6  * Defines the element model. The element model describes the semantic (as | 6  * Defines the element model. The element model describes the semantic (as | 
| 7  * opposed to syntactic) structure of Dart code. The syntactic structure of the | 7  * opposed to syntactic) structure of Dart code. The syntactic structure of the | 
| 8  * code is modeled by the [AST structure](../ast/ast.dart). | 8  * code is modeled by the [AST structure](../ast/ast.dart). | 
| 9  * | 9  * | 
| 10  * The element model consists of two closely related kinds of objects: elements | 10  * The element model consists of two closely related kinds of objects: elements | 
| (...skipping 1136 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1147    * element that is not associated with a particular instance, but rather with | 1147    * element that is not associated with a particular instance, but rather with | 
| 1148    * an entire library or class. | 1148    * an entire library or class. | 
| 1149    */ | 1149    */ | 
| 1150   bool get isStatic; | 1150   bool get isStatic; | 
| 1151 | 1151 | 
| 1152   /** | 1152   /** | 
| 1153    * Return `true` if this executable element has a body marked as being | 1153    * Return `true` if this executable element has a body marked as being | 
| 1154    * synchronous. | 1154    * synchronous. | 
| 1155    */ | 1155    */ | 
| 1156   bool get isSynchronous; | 1156   bool get isSynchronous; | 
| 1157 |  | 
| 1158   /** |  | 
| 1159    * Return a list containing all of the labels defined within this executable |  | 
| 1160    * element. |  | 
| 1161    */ |  | 
| 1162   List<LabelElement> get labels; |  | 
| 1163 } | 1157 } | 
| 1164 | 1158 | 
| 1165 /** | 1159 /** | 
| 1166  * An export directive within a library. | 1160  * An export directive within a library. | 
| 1167  * | 1161  * | 
| 1168  * Clients may not extend, implement or mix-in this class. | 1162  * Clients may not extend, implement or mix-in this class. | 
| 1169  */ | 1163  */ | 
| 1170 abstract class ExportElement implements Element, UriReferencedElement { | 1164 abstract class ExportElement implements Element, UriReferencedElement { | 
| 1171   /** | 1165   /** | 
| 1172    * An empty list of export elements. | 1166    * An empty list of export elements. | 
| (...skipping 900 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2073   DartType get type; | 2067   DartType get type; | 
| 2074 | 2068 | 
| 2075   /** | 2069   /** | 
| 2076    * Return a representation of the value of this variable, forcing the value | 2070    * Return a representation of the value of this variable, forcing the value | 
| 2077    * to be computed if it had not previously been computed, or `null` if either | 2071    * to be computed if it had not previously been computed, or `null` if either | 
| 2078    * this variable was not declared with the 'const' modifier or if the value of | 2072    * this variable was not declared with the 'const' modifier or if the value of | 
| 2079    * this variable could not be computed because of errors. | 2073    * this variable could not be computed because of errors. | 
| 2080    */ | 2074    */ | 
| 2081   DartObject computeConstantValue(); | 2075   DartObject computeConstantValue(); | 
| 2082 } | 2076 } | 
| OLD | NEW | 
|---|