Type Aliasswift-syntax 600.0.1SwiftSyntax
RawSyntaxBuffer
RawSyntax.swift:13This declaration is gated by at least one @_spi attribute.
typealias RawSyntaxBuffer = SyntaxArenaAllocatedBufferPointer<RawSyntax?>
This declaration is gated by at least one @_spi attribute.
typealias RawSyntaxBuffer = SyntaxArenaAllocatedBufferPointer<RawSyntax?>
import SwiftSyntax
A library for working with Swift code.
struct SyntaxArenaAllocatedBufferPointer<Element> where Element : Sendable
An UnsafeBufferPointer
pointing into memory that was allocated by a SyntaxArena
.
struct RawSyntax
Represents the raw tree structure underlying the syntax tree. These nodes have no notion of identity and only provide structure to the tree. They are immutable and can be freely shared between syntax nodes.