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

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

Issue 2657583007: Record isFinal for parameters into summaries. (Closed)
Patch Set: Created 3 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 2550 matching lines...) Expand 10 before | Expand all | Expand 10 after
2561 @Id(12) 2561 @Id(12)
2562 UnlinkedExecutable get initializer; 2562 UnlinkedExecutable get initializer;
2563 2563
2564 /** 2564 /**
2565 * Indicates whether this parameter is explicitly marked as being covariant. 2565 * Indicates whether this parameter is explicitly marked as being covariant.
2566 */ 2566 */
2567 @Id(15) 2567 @Id(15)
2568 bool get isExplicitlyCovariant; 2568 bool get isExplicitlyCovariant;
2569 2569
2570 /** 2570 /**
2571 * Indicates whether the parameter is declared using the `final` keyword.
2572 */
2573 @Id(16)
2574 bool get isFinal;
2575
2576 /**
2571 * Indicates whether this is a function-typed parameter. 2577 * Indicates whether this is a function-typed parameter.
2572 */ 2578 */
2573 @Id(5) 2579 @Id(5)
2574 bool get isFunctionTyped; 2580 bool get isFunctionTyped;
2575 2581
2576 /** 2582 /**
2577 * Indicates whether this is an initializing formal parameter (i.e. it is 2583 * Indicates whether this is an initializing formal parameter (i.e. it is
2578 * declared using `this.` syntax). 2584 * declared using `this.` syntax).
2579 */ 2585 */
2580 @Id(6) 2586 @Id(6)
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
3125 @Id(11) 3131 @Id(11)
3126 int get visibleLength; 3132 int get visibleLength;
3127 3133
3128 /** 3134 /**
3129 * If a local variable, the beginning of the visible range; zero otherwise. 3135 * If a local variable, the beginning of the visible range; zero otherwise.
3130 */ 3136 */
3131 @informative 3137 @informative
3132 @Id(12) 3138 @Id(12)
3133 int get visibleOffset; 3139 int get visibleOffset;
3134 } 3140 }
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.fbs ('k') | pkg/analyzer/lib/src/summary/summarize_ast.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698