Match
indirect enum Match : Equatable, Sendable
extension Consumer.Match: CustomStringConvertible
Abstract syntax tree returned by consumer
-
Undocumented
Declaration
Swift
case token(String, Location)
-
Undocumented
Declaration
Swift
case node(Label?, [Match])
-
The location of the match in the original source (if known)
Declaration
Swift
public var location: Location? { get }
-
Transform generic AST to application-specific form
Declaration
Swift
public func transform(_ fn: Transform) rethrows -> Sendable?
-
Lisp-like description of the AST
Declaration
Swift
public var description: String { get }