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

Side by Side Diff: pkg/analyzer/lib/src/summary/format.fbs

Issue 2013883003: Migrate UnlinkedVariable.constExpr to UnlinkedExecutable.bodyExpr. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Fix a comment Created 4 years, 7 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.dart ('k') | pkg/analyzer/lib/src/summary/idl.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 // This file has been automatically generated. Please do not edit it manually. 5 // This file has been automatically generated. Please do not edit it manually.
6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files". 6 // To regenerate the file, use the script "pkg/analyzer/tool/generate_files".
7 7
8 8
9 /** 9 /**
10 * Kind of a source in the cache. 10 * Kind of a source in the cache.
(...skipping 1454 matching lines...) Expand 10 before | Expand all | Expand 10 after
1465 * `invokeConstructor`. 1465 * `invokeConstructor`.
1466 */ 1466 */
1467 strings:[string] (id: 3); 1467 strings:[string] (id: 3);
1468 } 1468 }
1469 1469
1470 /** 1470 /**
1471 * Unlinked summary information about a constructor initializer. 1471 * Unlinked summary information about a constructor initializer.
1472 */ 1472 */
1473 table UnlinkedConstructorInitializer { 1473 table UnlinkedConstructorInitializer {
1474 /** 1474 /**
1475 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the
1476 * invocation. Otherwise empty.
1477 */
1478 arguments:[UnlinkedConst] (id: 3);
1479
1480 /**
1481 * If there are `m` [arguments] and `n` [argumentNames], then each argument 1475 * If there are `m` [arguments] and `n` [argumentNames], then each argument
1482 * from [arguments] with index `i` such that `n + i - m >= 0`, should be used 1476 * from [arguments] with index `i` such that `n + i - m >= 0`, should be used
1483 * with the name at `n + i - m`. 1477 * with the name at `n + i - m`.
1484 */ 1478 */
1485 argumentNames:[string] (id: 4); 1479 argumentNames:[string] (id: 4);
1486 1480
1487 /** 1481 /**
1482 * If [kind] is `thisInvocation` or `superInvocation`, the arguments of the
1483 * invocation. Otherwise empty.
1484 */
1485 arguments:[UnlinkedConst] (id: 3);
1486
1487 /**
1488 * If [kind] is `field`, the expression of the field initializer. 1488 * If [kind] is `field`, the expression of the field initializer.
1489 * Otherwise `null`. 1489 * Otherwise `null`.
1490 */ 1490 */
1491 expression:UnlinkedConst (id: 1); 1491 expression:UnlinkedConst (id: 1);
1492 1492
1493 /** 1493 /**
1494 * The kind of the constructor initializer (field, redirect, super). 1494 * The kind of the constructor initializer (field, redirect, super).
1495 */ 1495 */
1496 kind:UnlinkedConstructorInitializerKind (id: 2); 1496 kind:UnlinkedConstructorInitializerKind (id: 2);
1497 1497
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
1590 * Unlinked summary information about a function, method, getter, or setter 1590 * Unlinked summary information about a function, method, getter, or setter
1591 * declaration. 1591 * declaration.
1592 */ 1592 */
1593 table UnlinkedExecutable { 1593 table UnlinkedExecutable {
1594 /** 1594 /**
1595 * Annotations for this executable. 1595 * Annotations for this executable.
1596 */ 1596 */
1597 annotations:[UnlinkedConst] (id: 6); 1597 annotations:[UnlinkedConst] (id: 6);
1598 1598
1599 /** 1599 /**
1600 * If this executable's function body is declared using `=>`, the expression
1601 * to the right of the `=>`. May be omitted if neither type inference nor
1602 * constant evaluation depends on the function body.
1603 */
1604 bodyExpr:UnlinkedConst (id: 29);
1605
1606 /**
1600 * Code range of the executable. 1607 * Code range of the executable.
1601 */ 1608 */
1602 codeRange:CodeRange (id: 26); 1609 codeRange:CodeRange (id: 26);
1603 1610
1604 /** 1611 /**
1605 * If a constant [UnlinkedExecutableKind.constructor], the constructor 1612 * If a constant [UnlinkedExecutableKind.constructor], the constructor
1606 * initializers. Otherwise empty. 1613 * initializers. Otherwise empty.
1607 */ 1614 */
1608 constantInitializers:[UnlinkedConstructorInitializer] (id: 14); 1615 constantInitializers:[UnlinkedConstructorInitializer] (id: 14);
1609 1616
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after
2289 */ 2296 */
2290 table UnlinkedVariable { 2297 table UnlinkedVariable {
2291 /** 2298 /**
2292 * Annotations for this variable. 2299 * Annotations for this variable.
2293 */ 2300 */
2294 annotations:[UnlinkedConst] (id: 8); 2301 annotations:[UnlinkedConst] (id: 8);
2295 2302
2296 /** 2303 /**
2297 * Code range of the variable. 2304 * Code range of the variable.
2298 */ 2305 */
2299 codeRange:CodeRange (id: 14); 2306 codeRange:CodeRange (id: 5);
2300
2301 /**
2302 * If [isConst] is true, and the variable has an initializer, the constant
2303 * expression in the initializer. Note that the presence of this expression
2304 * does not mean that it is a valid, check [UnlinkedConst.isInvalid].
2305 */
2306 constExpr:UnlinkedConst (id: 5);
2307 2307
2308 /** 2308 /**
2309 * Documentation comment for the variable, or `null` if there is no 2309 * Documentation comment for the variable, or `null` if there is no
2310 * documentation comment. 2310 * documentation comment.
2311 */ 2311 */
2312 documentationComment:UnlinkedDocumentationComment (id: 10); 2312 documentationComment:UnlinkedDocumentationComment (id: 10);
2313 2313
2314 /** 2314 /**
2315 * If this variable is inferable, nonzero slot id identifying which entry in 2315 * If this variable is inferable, nonzero slot id identifying which entry in
2316 * [LinkedLibrary.types] contains the inferred type for this variable. If 2316 * [LinkedLibrary.types] contains the inferred type for this variable. If
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
2376 2376
2377 /** 2377 /**
2378 * If a local variable, the beginning of the visible range; zero otherwise. 2378 * If a local variable, the beginning of the visible range; zero otherwise.
2379 */ 2379 */
2380 visibleOffset:uint (id: 12); 2380 visibleOffset:uint (id: 12);
2381 } 2381 }
2382 2382
2383 root_type PackageBundle; 2383 root_type PackageBundle;
2384 2384
2385 file_identifier "PBdl"; 2385 file_identifier "PBdl";
OLDNEW
« no previous file with comments | « pkg/analyzer/lib/src/summary/format.dart ('k') | pkg/analyzer/lib/src/summary/idl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698