Enumerationswift 6.0.3_RegexParser
Kind
enum Kind
enum Kind
import _RegexParser
struct Group
struct AST
A regex abstract syntax tree.
case atomicNonCapturing
case atomicScriptRun
case balancedCapture(AST.Group.BalancedCapture)
case capture
case changeMatchingOptions(AST.MatchingOptionSequence)
case lookahead
case lookbehind
case namedCapture(Source.Located<String>)
case negativeLookahead
case negativeLookbehind
case nonAtomicLookahead
case nonAtomicLookbehind
case nonCapture
case nonCaptureReset
case scriptRun
init(_ kind: Source.Located<AST.Group.Kind>, _ child: AST.Node, _ r: SourceLocation)
let child: AST.Node
let kind: Source.Located<AST.Group.Kind>
let location: SourceLocation
struct BalancedCapture
protocol Copyable
A type whose values can be implicitly or explicitly copied.
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 Escapable
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
var isCapturing: Bool { get }
Whether the group is a capturing group.
var lookaroundKind: (forwards: Bool, positive: Bool)? { get }
The direction of a lookaround assertion and an indication of whether the assertion is positive or negative.
var name: String? { get }
The name of the group.
var halfWidthCornerQuoted: String { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.