Initializerswift 6.0.1_RegexParser
init(name:dash:priorName:)
init(name: Source.Located<String>?, dash: SourceLocation, priorName: Source.Located<String>)
init(name: Source.Located<String>?, dash: SourceLocation, priorName: Source.Located<String>)
s12_RegexParser3ASTV5GroupV15BalancedCaptureV4name4dash9priorNameAgA6SourceV7LocatedVy_SSGSg_AL8LocationVAOtcfc
What are these?1I73D
import _RegexParser
struct BalancedCapture
struct AST
A regex abstract syntax tree.
struct Group
struct Source
The source of text being given to a parser.
struct Located<T>
A value wrapped with a source range.
@frozen struct String
A Unicode string value that is a collection of characters.
typealias SourceLocation = Source.Location
var dash: SourceLocation
The location of the -
in the group.
var name: Source.Located<String>?
The name of the group, or nil if the group has no name.
var priorName: Source.Located<String>
The name of the prior group that the balancing group references.