Structure_RegexParser5.9.0
SyntaxOptions
struct SyntaxOptions
Citizens in _RegexParser
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol ExpressibleByArrayLiteral
A type that can be initialized using an array literal.
protocol OptionSet
A type that presents a mathematical set interface to a bit set.
protocol RawRepresentable
A type that can be converted to and from an associated raw value.
protocol SetAlgebra
A type that provides mathematical set operations.
Members
init(
) init(rawValue: UInt
) static var endOfLineComments: SyntaxOptions
abc # comment
static var experimental: SyntaxOptions
static var experimentalCaptures: SyntaxOptions
(name: .*)
==(?<name>.*)
(_: .*)
==(?:.*)
static var experimentalComments: SyntaxOptions
'a /* comment */ b' == '/a(?#. comment )b/'
static var experimentalQuotes: SyntaxOptions
'a "." b' == '/a\Q.\Eb/'
static var experimentalRanges: SyntaxOptions
static var extendedSyntax: SyntaxOptions
(?x)
(?xx)
static var multilineCompilerLiteral: SyntaxOptions
The syntax kind of a multi-line literal. This will always be set when parsing a multi-line
#/.../#
literal. Note this does not imply extended syntax, as that may be temporarily disabled while parsing.static var namedCapturesOnly: SyntaxOptions
(?n)
static var nonSemanticWhitespace: SyntaxOptions
'a \. b' == '/a\.b/'
static var traditional: SyntaxOptions
var rawValue: UInt
Features
static func != (Self, Self
) -> Bool func isStrictSubset(of: Self
) -> Bool Returns a Boolean value that indicates whether this set is a strict subset of the given set.
func isStrictSuperset(of: Self
) -> Bool Returns a Boolean value that indicates whether this set is a strict superset of the given set.