Skip to content

SwiftSyntax: Single out an API to deserialize SourceFileSyntax. NFC #14164

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

Merged
merged 3 commits into from
Jan 25, 2018
Merged

SwiftSyntax: Single out an API to deserialize SourceFileSyntax. NFC #14164

merged 3 commits into from
Jan 25, 2018

Conversation

nkcsgexi
Copy link
Contributor

Since our recent integration with SourceKit, clients may get a SourceFileSyntax
in a serialized form from SourceKit response. We need an API in the
SwiftSyntax framework to decode this form. This'll be a more common
pattern to get a Swift side syntax tree than invoking swiftc internally.

Since our recent integration with SourceKit, clients may get a SourceFileSyntax
in a serialized form from SourceKit response.  We need an API in the
SwiftSyntax framework to decode this form. This'll be a more common
pattern to get a Swift side syntax tree than invoking swiftc internally.
@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@harlanhaskins
Copy link
Contributor

I can't overstate how much better using SourceKit is than invoking swiftc. Thank you!

@nkcsgexi
Copy link
Contributor Author

@swift-ci please smoke test

@nkcsgexi nkcsgexi merged commit d13f83d into swiftlang:master Jan 25, 2018
@nkcsgexi nkcsgexi deleted the deserialization-swift-syntax branch January 25, 2018 21:40
maldahleh pushed a commit to maldahleh/swift that referenced this pull request Oct 26, 2020
… NFC (swiftlang#14164)

Since our recent integration with SourceKit, clients may get a SourceFileSyntax
in a serialized form from SourceKit response.  We need an API in the
SwiftSyntax framework to decode this form. This'll be a more common
pattern to get a Swift side syntax tree than invoking swiftc internally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants