Structure_RegexParser5.9.0
Reference
struct Reference
Citizens in _RegexParser
Conformances
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 Hashable
A type that can be hashed into a
Hasher
to produce an integer hash value.
Members
init(AST
.Reference.Kind, recursionLevel: AST.Atom.Number?, innerLoc: SourceLocation) 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.
enum Kind