1import Foundation 2 3public protocol TreeKindType: Equatable, Sendable { 4 static var error: Self { get } 5} 6 7public protocol TokenKindType: Equatable, Sendable { 8 static var eof: Self { get } 9} 10 11public protocol Language { 12 associatedtype TokenKind: TokenKindType 13 associatedtype TreeKind: TreeKindType 14 associatedtype TokenMetadata: Sendable, Equatable 15 associatedtype TreeMetadata: Sendable, Equatable 16}