Protocolswift-syntax 600.0.1SwiftSyntax
SyntaxHashable
Protocol that provides a common Hashable implementation for all syntax nodes
protocol SyntaxHashable : Hashable
Browse conforming typesProtocol that provides a common Hashable implementation for all syntax nodes
protocol SyntaxHashable : Hashable
import SwiftSyntax
A library for working with Swift code.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Equatable
A type that can be compared for value equality.
var _syntaxNode: Syntax { get }
protocol SyntaxProtocol : CustomDebugStringConvertible, CustomReflectable, CustomStringConvertible, Sendable, TextOutputStreamable
Provide common functionality for specialized syntax nodes. Extend this protocol to provide common functionality for all syntax nodes.
class SyntaxArena
A syntax arena owns the memory for all syntax nodes within it.
enum SyntaxEnum
Enum to exhaustively switch over all different syntax nodes.
struct SyntaxIdentifier
Provides a stable and unique identity for Syntax
nodes.
static func == (lhs: Self, rhs: Self) -> Bool
func hash(into hasher: inout Hasher)