Commit bce87c7
committed
Modify SyntaxVisitor to supprt throwing during travresal.
SyntaxVisitor becomes ThrowingSyntaxVisitor<E: Error>, and each visit method now supports throwing an error of type `E`.
This does not impact existing users of SwiftSyntax.
SyntaxVisitor becomes a typealias for `ThrowingSyntaxVisitor<Never>`, which behaves the same the same as the current SyntaxVisitor.1 parent 33e647e commit bce87c7
File tree
2 files changed
+95
-24
lines changed- Sources/SwiftSyntax/generated
2 files changed
+95
-24
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments