| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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 * This file is an "idl" style description of the summary format. It | 6 * This file is an "idl" style description of the summary format. It |
| 7 * contains abstract classes which declare the interface for reading data from | 7 * contains abstract classes which declare the interface for reading data from |
| 8 * summaries. It is parsed and transformed into code that implements the | 8 * summaries. It is parsed and transformed into code that implements the |
| 9 * summary format. | 9 * summary format. |
| 10 * | 10 * |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 * is typically considered "linked" for simplicity. | 37 * is typically considered "linked" for simplicity. |
| 38 * | 38 * |
| 39 * Except as otherwise noted, synthetic elements are not stored in the summary; | 39 * Except as otherwise noted, synthetic elements are not stored in the summary; |
| 40 * they are re-synthesized at the time the summary is read. | 40 * they are re-synthesized at the time the summary is read. |
| 41 */ | 41 */ |
| 42 library analyzer.tool.summary.idl; | 42 library analyzer.tool.summary.idl; |
| 43 | 43 |
| 44 import 'base.dart' as base; | 44 import 'base.dart' as base; |
| 45 import 'base.dart' show Id, TopLevel; | 45 import 'base.dart' show Id, TopLevel; |
| 46 import 'format.dart' as generated; | 46 import 'format.dart' as generated; |
| 47 import 'package:analyzer/dart/element/element.dart'; |
| 47 | 48 |
| 48 /** | 49 /** |
| 49 * Annotation describing information which is not part of Dart semantics; in | 50 * Annotation describing information which is not part of Dart semantics; in |
| 50 * other words, if this information (or any information it refers to) changes, | 51 * other words, if this information (or any information it refers to) changes, |
| 51 * static analysis and runtime behavior of the library are unaffected. | 52 * static analysis and runtime behavior of the library are unaffected. |
| 52 * | 53 * |
| 53 * Information that has purely local effect (in other words, it does not affect | 54 * Information that has purely local effect (in other words, it does not affect |
| 54 * the API of the code being analyzed) is also marked as `informative`. | 55 * the API of the code being analyzed) is also marked as `informative`. |
| 55 */ | 56 */ |
| 56 const informative = null; | 57 const informative = null; |
| (...skipping 2655 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2712 */ | 2713 */ |
| 2713 @Id(11) | 2714 @Id(11) |
| 2714 int get visibleLength; | 2715 int get visibleLength; |
| 2715 | 2716 |
| 2716 /** | 2717 /** |
| 2717 * If a local variable, the beginning of the visible range; zero otherwise. | 2718 * If a local variable, the beginning of the visible range; zero otherwise. |
| 2718 */ | 2719 */ |
| 2719 @Id(12) | 2720 @Id(12) |
| 2720 int get visibleOffset; | 2721 int get visibleOffset; |
| 2721 } | 2722 } |
| OLD | NEW |