withSyntaxText(_:)

Runs body with a SyntaxText that refers the contiguous memory of this string. Like String.withUTF8(_:), this may mutate the string if this string was not contiguous.

SyntaxText.swift:265

This declaration is gated by at least one @_spi attribute.

mutating func withSyntaxText<R>(_ body: (SyntaxText) throws -> R) rethrows -> R