Files
swift-mirror/utils/gyb_syntax_support/NodeSerializationCodes.py
Robert Widmann 845a4e4541 Formalize Labeled Syntax
This represents labeled statements as an explicit kind of statement and removes the Labeled trait. Any kind of statement is allowed to be labeled in the tree, but we specifically diagnose the syntax elements that aren't allowed to have labels. This homogenizes the way clients deal with statement labels and also makes parser recovery quite a bit easier in the case where we have a label but no actual statement following it.
2022-08-05 15:01:02 -07:00

8.2 KiB