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

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

Issue 1787803003: Improve used name relations and fields indexing. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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
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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 * Is invoked at. 217 * Is invoked at.
218 * Right: location. 218 * Right: location.
219 */ 219 */
220 IS_INVOKED_BY, 220 IS_INVOKED_BY,
221 221
222 /** 222 /**
223 * Left: any element. 223 * Left: any element.
224 * Is referenced (and not invoked, read/written) at. 224 * Is referenced (and not invoked, read/written) at.
225 * Right: location. 225 * Right: location.
226 */ 226 */
227 IS_REFERENCED_BY 227 IS_REFERENCED_BY,
228
229 /**
230 * Left: unresolved member name.
231 * Is read at.
232 * Right: location.
233 */
234 IS_READ_BY,
235
236 /**
237 * Left: unresolved member name.
238 * Is both read and written at.
239 * Right: location.
240 */
241 IS_READ_WRITTEN_BY,
242
243 /**
244 * Left: unresolved member name.
245 * Is written at.
246 * Right: location.
247 */
248 IS_WRITTEN_BY
228 } 249 }
229 250
230 /** 251 /**
231 * When we need to reference a synthetic element in [PackageIndex] we use a 252 * When we need to reference a synthetic element in [PackageIndex] we use a
232 * value of this enum to specify which kind of the synthetic element we 253 * value of this enum to specify which kind of the synthetic element we
233 * actually reference. 254 * actually reference.
234 */ 255 */
235 enum IndexSyntheticElementKind { 256 enum IndexSyntheticElementKind {
236 /** 257 /**
237 * Not a synthetic element. 258 * Not a synthetic element.
(...skipping 2104 matching lines...) Expand 10 before | Expand all | Expand 10 after
2342 */ 2363 */
2343 @Id(11) 2364 @Id(11)
2344 int get visibleLength; 2365 int get visibleLength;
2345 2366
2346 /** 2367 /**
2347 * If a local variable, the beginning of the visible range; zero otherwise. 2368 * If a local variable, the beginning of the visible range; zero otherwise.
2348 */ 2369 */
2349 @Id(12) 2370 @Id(12)
2350 int get visibleOffset; 2371 int get visibleOffset;
2351 } 2372 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698