Structureswift 6.1.2_RegexParser
Builder
struct Builderstruct Builderimport _RegexParserstruct CaptureListinit<S>(_ s: S) where S : Sequence, S.Element == CaptureList.Capture init(arrayLiteral elements: CaptureList.Capture...) var captures: [CaptureList.Capture]var description: String { get }mutating func append(_ c: CaptureList.Capture) func hasCapture(named name: String) -> Bool Whether the capture list has a given named capture.
func indexOfCapture(named name: String) -> Int? Retrieve the capture index of a given named capture, or nil if there is no such capture.
struct Captureinit() static func build(_ ast: AST) -> CaptureList var captures: CaptureListmutating func addCaptures(of node: AST.Node, optionalNesting nesting: CaptureList.Builder.OptionalNesting, visibleInTypedOutput: Bool) struct OptionalNesting