Enumerationswift 6.0.3_RegexParser
Member
enum Member
enum Member
import _RegexParser
struct CustomCharacterClass
struct AST
A 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: SourceLocation
var members: [AST.CustomCharacterClass.Member]
var start: Source.Located<AST.CustomCharacterClass.Start>
var strippingTriviaShallow: AST.CustomCharacterClass { get }
Strips trivia from the character class members.
struct Range
enum SetOp
enum Start
protocol Copyable
A type whose values can be implicitly or explicitly copied.
protocol CustomDebugStringConvertible
A type with a customized textual representation suitable for debugging purposes.
protocol CustomStringConvertible
A type with a customized textual representation.
protocol Equatable
A type that can be compared for value equality.
protocol Escapable
protocol Hashable : Equatable
A 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.