Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[enums] Parsing of unknown members (
...
)
Summary: This adds parsing support for Flow Enums with unknown members. The error for using this when the option is not enabled is part of the next diff. Whether an enum has unknown members is logically part of the enum body, so I've put it as part of this AST node, though this does cause a bit of repetition. Syntax: ``` enum E { A, B, ... } ``` The `...` must be last, and cannot have a trialing comma. Reviewed By: Hans-Halverson Differential Revision: D24152192 fbshipit-source-id: a7194ae00d3971146e965a35a132fe050f3a06a6
- Loading branch information
1 parent
b49b79c
commit de2296c
Showing
65 changed files
with
451 additions
and
111 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
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
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.