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

Side by Side Diff: pkg/analyzer/lib/src/summary/idl.dart

Issue 1689283002: Serialize parameters visible ranges. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Changes for review comments. Created 4 years, 10 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
OLDNEW
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 1295 matching lines...) Expand 10 before | Expand all | Expand 10 after
1306 * If [isFunctionTyped] is `true`, the parameters of the function type. 1306 * If [isFunctionTyped] is `true`, the parameters of the function type.
1307 */ 1307 */
1308 List<UnlinkedParam> get parameters; 1308 List<UnlinkedParam> get parameters;
1309 1309
1310 /** 1310 /**
1311 * If [isFunctionTyped] is `true`, the declared return type. If 1311 * If [isFunctionTyped] is `true`, the declared return type. If
1312 * [isFunctionTyped] is `false`, the declared type. Absent if the type is 1312 * [isFunctionTyped] is `false`, the declared type. Absent if the type is
1313 * implicit. 1313 * implicit.
1314 */ 1314 */
1315 EntityRef get type; 1315 EntityRef get type;
1316
1317 /**
1318 * The length of the visible range.
1319 */
1320 int get visibleLength;
1321
1322 /**
1323 * The beginning of the visible range.
1324 */
1325 int get visibleOffset;
1316 } 1326 }
1317 1327
1318 /** 1328 /**
1319 * Enum used to indicate the kind of a parameter. 1329 * Enum used to indicate the kind of a parameter.
1320 */ 1330 */
1321 enum UnlinkedParamKind { 1331 enum UnlinkedParamKind {
1322 /** 1332 /**
1323 * Parameter is required. 1333 * Parameter is required.
1324 */ 1334 */
1325 required, 1335 required,
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 /** 1702 /**
1693 * If a local variable, the length of the visible range; zero otherwise. 1703 * If a local variable, the length of the visible range; zero otherwise.
1694 */ 1704 */
1695 int get visibleLength; 1705 int get visibleLength;
1696 1706
1697 /** 1707 /**
1698 * If a local variable, the beginning of the visible range; zero otherwise. 1708 * If a local variable, the beginning of the visible range; zero otherwise.
1699 */ 1709 */
1700 int get visibleOffset; 1710 int get visibleOffset;
1701 } 1711 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/summarize_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698