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

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

Issue 2974803002: Store FunctionType(s) of local functions by value. (Closed)
Patch Set: Created 3 years, 5 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 | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/link.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) 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 816 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 */ 827 */
828 @Id(2) 828 @Id(2)
829 ReferenceKind get kind; 829 ReferenceKind get kind;
830 830
831 /** 831 /**
832 * If [kind] is [ReferenceKind.function] (that is, the entity being referred 832 * If [kind] is [ReferenceKind.function] (that is, the entity being referred
833 * to is a local function), the index of the function within 833 * to is a local function), the index of the function within
834 * [UnlinkedExecutable.localFunctions]. Otherwise zero. 834 * [UnlinkedExecutable.localFunctions]. Otherwise zero.
835 */ 835 */
836 @Id(6) 836 @Id(6)
837 @deprecated
Paul Berry 2017/07/10 18:32:46 I'm worried that this will cause compatibility iss
837 int get localIndex; 838 int get localIndex;
838 839
839 /** 840 /**
840 * If this [LinkedReference] doesn't have an associated [UnlinkedReference], 841 * If this [LinkedReference] doesn't have an associated [UnlinkedReference],
841 * name of the entity being referred to. For the pseudo-type `dynamic`, the 842 * name of the entity being referred to. For the pseudo-type `dynamic`, the
842 * string is "dynamic". For the pseudo-type `void`, the string is "void". 843 * string is "dynamic". For the pseudo-type `void`, the string is "void".
843 */ 844 */
844 @Id(3) 845 @Id(3)
845 String get name; 846 String get name;
846 847
(...skipping 2505 matching lines...) Expand 10 before | Expand all | Expand 10 after
3352 @Id(11) 3353 @Id(11)
3353 int get visibleLength; 3354 int get visibleLength;
3354 3355
3355 /** 3356 /**
3356 * If a local variable, the beginning of the visible range; zero otherwise. 3357 * If a local variable, the beginning of the visible range; zero otherwise.
3357 */ 3358 */
3358 @informative 3359 @informative
3359 @Id(12) 3360 @Id(12)
3360 int get visibleOffset; 3361 int get visibleOffset;
3361 } 3362 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/link.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698