We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e947f3b commit 61935fdCopy full SHA for 61935fd
tools/SwiftSyntax/SwiftSyntax.swift
@@ -92,7 +92,7 @@ public final class SyntaxTreeDeserializer {
92
/// - Returns: A top-level Syntax node representing the contents of the tree,
93
/// if the parse was successful.
94
public func deserialize(
95
- _ data: Data, serializationFormat: SerializationFormat
+ _ data: Data, serializationFormat: SerializationFormat = .json
96
) throws -> SourceFileSyntax {
97
reusedNodeIds = []
98
let rawSyntax: RawSyntax
0 commit comments