-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cfe] Add support for Fields to round-trip text serialization
The flags on the fields are serialized as lists of flag names, allowing for any combination of the flags in any order. Similar technique is used in this CL to serialize the flags on Procedures and VariableDeclarations. This is in the contrast with the previous approach for those nodes, when the flags were the part of the serialized name of the node (such as "static-method" for static Procedures or "final" for final VariableDeclarations). Change-Id: I02eb5ac92f6273542f08f269aee8e6519d3085e9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/153766 Commit-Queue: Dmitry Stefantsov <[email protected]> Reviewed-by: Johnni Winther <[email protected]>
- Loading branch information
1 parent
f75a982
commit 145d458
Showing
4 changed files
with
172 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.