-
Notifications
You must be signed in to change notification settings - Fork 440
More renames of syntax nodes #1949
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@swift-ci Please test macOS |
swiftlang/swift-stress-tester#244 @swift-ci Please test macOS |
@@ -738,9 +738,9 @@ public let EXPR_NODES: [Node] = [ | |||
kind: .token(choices: [.token(tokenKind: "BackslashToken")]) | |||
), | |||
Child( | |||
name: "RawStringDelimiter", | |||
name: "Pounds", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I think I prefer RawStringDelimiter
. That's mostly because pounds
just reads weirdly to me though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed offline, with pounds
, I think is easier to understand what this represents.
@@ -1676,7 +1686,8 @@ public let EXPR_NODES: [Node] = [ | |||
kind: .token(choices: [.keyword(text: "switch")]) | |||
), | |||
Child( | |||
name: "Expression", | |||
name: "Subject", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reference calls this the "control expression" FWIW
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The compiler calls it “subject”. I think I prefer “subject”.
swiftlang/swift-format#572 @swift-ci Please test macOS |
swiftlang/swift-format#572 @swift-ci Please test Linux |
swiftlang/swift-format#572 @swift-ci Please test Windows |
1 similar comment
swiftlang/swift-format#572 @swift-ci Please test Windows |
No description provided.