Enumerationswift 6.0.1_RegexParser
Kind
enum Kind
Cases
case backreference(AST.Reference)
case backtrackingDirective(AST.Atom.BacktrackingDirective)
case callout(AST.Atom.Callout)
case caretAnchor
^
case changeMatchingOptions(AST.MatchingOptionSequence)
case char(Character)
Just a character
case dollarAnchor
$
case dot
.
case escaped(AST.Atom.EscapedBuiltin)
A built-in escaped character
case invalid
case keyboardControl(Character)
A control character
case keyboardMeta(Character)
case keyboardMetaControl(Character)
case namedCharacter(String)
A named character \N{…}
case property(AST.Atom.CharacterProperty)
A Unicode property, category, or script, including those written using POSIX syntax.
case scalar(AST.Atom.Scalar)
A Unicode scalar value written as a literal
case scalarSequence(AST.Atom.ScalarSequence)
A whitespace-separated sequence of Unicode scalar values which are implicitly splatted out.
case subpattern(AST.Reference)
Other members in extension
View members
Hide members
This section is hidden by default because it contains too many (14) members.
Types
struct BacktrackingDirective
enum Callout
struct CharacterProperty
enum EscapedBuiltin
struct Number
struct Scalar
struct ScalarSequence
Type members
Instance members
var isQuantifiable: Bool
var isValidCharacterClassRangeBound: Bool
Whether this atom is valid as the operand of a custom character class range.
let kind: AST.Atom.Kind
var literalCharacterValue: Character?
Retrieves the character value of the atom.
var literalStringValue: String?
A string literal representation of the atom, if possible.
let location: SourceLocation
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.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.