You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
-2Lines changed: 0 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,6 @@ Note: This is in reverse chronological order, so newer entries are added to the
4
4
5
5
## Swift 5.3
6
6
7
-
* Introduced `integerValue` and `floatingValue` properties to `IntegerLiteralExprSyntax` and `FloatLiteralExprSyntax`, respectively. Converted their `digits` and `floatingDigits` setters, respectively, into throwing functions.
8
-
9
7
* Introduced `FunctionCallExprSyntax.additionalTrailingClosures` property with type `MultipleTrailingClosureElementListSyntax?` for supporting [SE-0279 Multiple Trailing Closures](https://github.com/apple/swift-evolution/blob/master/proposals/0279-multiple-trailing-closures.md).
10
8
11
9
* Introduced `syntaxNodeType` property for all types conforming to `SyntaxProtocol`, which returns the underlying syntax node type. It is primarily intended as a debugging aid during development.
// We know that the SyntaxData is valid since we are walking a valid syntax tree and haven't modified the syntax data. Thus the initializer below will never return nil.
96
-
letnode= ${node.name}(data)!
97
-
%else:
98
94
letnode= ${node.name}(data)
99
-
% end
100
95
// Accessing _syntaxNode directly is faster than calling Syntax(node)
Copy file name to clipboardExpand all lines: Sources/SwiftSyntax/SyntaxVisitor.swift.gyb
-5Lines changed: 0 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -86,12 +86,7 @@ open class SyntaxVisitor {
86
86
}
87
87
visitPost(node)
88
88
%else:
89
-
% if node.must_uphold_invariant:
90
-
// We know that the SyntaxData is valid since we are walking a valid syntax tree and haven't modified the syntax data. Thus the initializer below will never return nil.
0 commit comments