Enumerationswift 6.1.2_RegexParser
Kind
enum Kindenum Kindimport _RegexParserstruct AbsentFunctionAn Oniguruma absent function.
struct ASTA regex abstract syntax tree.
case clearerAn absent clearer (?~|) which cancels the effect of an absent stopper.
case expression(absentee: AST.Node, pipe: SourceLocation, expr: AST.Node)An absent expression (?~|absent|expr), which defines an absent pattern which must not be matched against while the pattern expr is matched.
case repeater(AST.Node)An absent repeater (?~absent). This is equivalent to (?~|absent|.*) and therefore matches as long as the pattern absent is not matched.
case stopper(AST.Node)An absent stopper (?~|absent), which prevents matching against absent until the end of the regex, or until it is cleared.
init(_ kind: AST.AbsentFunction.Kind, start: SourceLocation, location: SourceLocation) var children: [AST.Node] { get }var kind: AST.AbsentFunction.Kindvar location: SourceLocationvar start: SourceLocationThe location of (?~ or (?~|
enum Startprotocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.