Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(565)

Side by Side Diff: pkg/analyzer/lib/dart/element/element.dart

Issue 2765153002: Fix analyzer formatter errors. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/type.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 885 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 static const ElementKind ERROR = const ElementKind('ERROR', 4, "<error>"); 896 static const ElementKind ERROR = const ElementKind('ERROR', 4, "<error>");
897 897
898 static const ElementKind EXPORT = 898 static const ElementKind EXPORT =
899 const ElementKind('EXPORT', 5, "export directive"); 899 const ElementKind('EXPORT', 5, "export directive");
900 900
901 static const ElementKind FIELD = const ElementKind('FIELD', 6, "field"); 901 static const ElementKind FIELD = const ElementKind('FIELD', 6, "field");
902 902
903 static const ElementKind FUNCTION = 903 static const ElementKind FUNCTION =
904 const ElementKind('FUNCTION', 7, "function"); 904 const ElementKind('FUNCTION', 7, "function");
905 905
906 static const ElementKind GENERIC_FUNCTION_TYPE = const ElementKind('GENERIC_FU NCTION_TYPE', 8, 'generic function type'); 906 static const ElementKind GENERIC_FUNCTION_TYPE =
907 const ElementKind('GENERIC_FUNCTION_TYPE', 8, 'generic function type');
907 908
908 static const ElementKind GETTER = const ElementKind('GETTER', 9, "getter"); 909 static const ElementKind GETTER = const ElementKind('GETTER', 9, "getter");
909 910
910 static const ElementKind IMPORT = 911 static const ElementKind IMPORT =
911 const ElementKind('IMPORT', 10, "import directive"); 912 const ElementKind('IMPORT', 10, "import directive");
912 913
913 static const ElementKind LABEL = const ElementKind('LABEL', 11, "label"); 914 static const ElementKind LABEL = const ElementKind('LABEL', 11, "label");
914 915
915 static const ElementKind LIBRARY = 916 static const ElementKind LIBRARY =
916 const ElementKind('LIBRARY', 12, "library"); 917 const ElementKind('LIBRARY', 12, "library");
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
1271 */ 1272 */
1272 bool get isEntryPoint; 1273 bool get isEntryPoint;
1273 1274
1274 @override 1275 @override
1275 FunctionDeclaration computeNode(); 1276 FunctionDeclaration computeNode();
1276 } 1277 }
1277 1278
1278 /** 1279 /**
1279 * The pseudo-declaration that defines a generic function type. 1280 * The pseudo-declaration that defines a generic function type.
1280 */ 1281 */
1281 abstract class GenericFunctionTypeElement implements FunctionTypedElement { 1282 abstract class GenericFunctionTypeElement implements FunctionTypedElement {}
1282
1283 }
1284 1283
1285 /** 1284 /**
1286 * A function type alias (`typedef`). 1285 * A function type alias (`typedef`).
1287 * 1286 *
1288 * Clients may not extend, implement or mix-in this class. 1287 * Clients may not extend, implement or mix-in this class.
1289 */ 1288 */
1290 abstract class FunctionTypeAliasElement 1289 abstract class FunctionTypeAliasElement
1291 implements FunctionTypedElement, TypeDefiningElement { 1290 implements FunctionTypedElement, TypeDefiningElement {
1292 /** 1291 /**
1293 * An empty array of type alias elements. 1292 * An empty array of type alias elements.
(...skipping 770 matching lines...) Expand 10 before | Expand all | Expand 10 after
2064 DartType get type; 2063 DartType get type;
2065 2064
2066 /** 2065 /**
2067 * Return a representation of the value of this variable, forcing the value 2066 * Return a representation of the value of this variable, forcing the value
2068 * to be computed if it had not previously been computed, or `null` if either 2067 * to be computed if it had not previously been computed, or `null` if either
2069 * this variable was not declared with the 'const' modifier or if the value of 2068 * this variable was not declared with the 'const' modifier or if the value of
2070 * this variable could not be computed because of errors. 2069 * this variable could not be computed because of errors.
2071 */ 2070 */
2072 DartObject computeConstantValue(); 2071 DartObject computeConstantValue();
2073 } 2072 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/element/type.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698