Initializerswift 6.0.1_RegexParser
init(_:isInverted:isPOSIX:)
init(_ kind: AST.Atom.CharacterProperty.Kind, isInverted: Bool, isPOSIX: Bool)
init(_ kind: AST.Atom.CharacterProperty.Kind, isInverted: Bool, isPOSIX: Bool)
s12_RegexParser3ASTV4AtomV17CharacterPropertyV_10isInverted0G5POSIXA2G4KindO_S2btcfc
What are these?3LK7M
import _RegexParser
struct CharacterProperty
struct AST
A regex abstract syntax tree.
struct Atom
enum Kind
@frozen struct Bool
A value type whose instances are either true
or false
.
var isInverted: Bool
Whether this is an inverted property e.g ‘\P{Ll}’, ‘[:^ascii:]’.
var isPOSIX: Bool
Whether this property was written using POSIX syntax e.g ‘[:ascii:]’.
var kind: AST.Atom.CharacterProperty.Kind
enum JavaSpecial
Special Java properties that correspond to methods on java.lang.Character
, with the java
prefix replaced by is
.
enum PCRESpecialCategory