Enumerationswift 6.1.2_RegexParser
Member
enum Memberenum Memberimport _RegexParserstruct CustomCharacterClassstruct ASTA regex abstract syntax tree.
case atom(AST.Atom)A single character or escape
case custom(AST.CustomCharacterClass)A nested custom character class [[ab][cd]]
case quote(AST.Quote)A quoted sequence. Inside a custom character class this just means the contents should be interpreted literally.
case range(AST.CustomCharacterClass.Range)A character range a-z
case setOperation([AST.CustomCharacterClass.Member], Source.Located<AST.CustomCharacterClass.SetOp>, [AST.CustomCharacterClass.Member])A binary operator applied to sets of members abc&&def
case trivia(AST.Trivia)Trivia such as non-semantic whitespace.
init(_ start: Source.Located<AST.CustomCharacterClass.Start>, _ members: [AST.CustomCharacterClass.Member], _ sr: SourceLocation) var isInverted: Bool { get }let location: SourceLocationvar members: [AST.CustomCharacterClass.Member]var start: Source.Located<AST.CustomCharacterClass.Start>var strippingTriviaShallow: AST.CustomCharacterClass { get }Strips trivia from the character class members.
struct Rangeenum SetOpenum Startprotocol CopyableA type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertibleA type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertibleA type with a customized textual representation.
protocol EquatableA type that can be compared for value equality.
protocol Escapableprotocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
var asTrivia: AST.Trivia? { get }var isSemantic: Bool { get }var isTrivia: Bool { get }var location: SourceLocation { get }var halfWidthCornerQuoted: String { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.