Enumeration_RegexParser5.9.0
Kind
enum Kind
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.
Members
case clearer
An 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 anabsent
pattern which must not be matched against while the patternexpr
is matched.case repeater(AST.Node)
An absent repeater
(?~absent)
. This is equivalent to(?~|absent|.*)
and therefore matches as long as the patternabsent
is not matched.case stopper(AST.Node)
An absent stopper
(?~|absent)
, which prevents matching againstabsent
until the end of the regex, or until it is cleared.