Enumerationswift 6.1.2_RegexParser
Kind
enum Kindenum Kindimport _RegexParserstruct Conditionstruct ASTA regex abstract syntax tree.
struct Conditionalcase defineGroupDefine a new group that can be referenced elsewhere.
case group(AST.Group)A group condition, which checks to see if an arbitrary bit of regex matches. Note that the semantics of this differs by engine, .NET only treats it as a lookahead, whereas Oniguruma can evaluate separately from the body of the conditional.
case groupMatched(AST.Reference)Check to see if a certain group was matched.
case groupRecursionCheck(AST.Reference)case pcreVersionCheck(AST.Conditional.Condition.PCREVersionCheck)A PCRE version check.
case recursionCheckinit(_ kind: AST.Conditional.Condition.Kind, _ location: SourceLocation) var kind: AST.Conditional.Condition.Kindvar location: SourceLocationstruct PCREVersionCheckstruct PCREVersionNumberprotocol 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.