Enumerationswift 6.0.1_RegexParser
Kind
enum Kind
Cases
Other members in extension
Type members
Instance members
var innerLoc: SourceLocation
The location of the inner numeric or textual reference, e.g the location of ‘-2’ in ‘\g{-2}’. Note this includes the recursion level for e.g ‘\k<a+2>’.
var kind: AST.Reference.Kind
var recursesWholePattern: Bool
Whether this is a reference that recurses the whole pattern, rather than a group.
var recursionLevel: AST.Atom.Number?
An additional specifier supported by Oniguruma that specifies what recursion level the group being referenced belongs to.
Citizens in _RegexParser
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Instance members
var recursesWholePattern: Bool
Whether this is a reference that recurses the whole pattern, rather than a group.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.