Structureswift 6.1.2_RegexParser
CharacterProperty
struct CharacterPropertystruct CharacterPropertyimport _RegexParserstruct Atomstruct ASTA regex abstract syntax tree.
init(_ k: AST.Atom.Kind, _ loc: SourceLocation) var isQuantifiable: Bool { get }var isValidCharacterClassRangeBound: Bool { get }Whether this atom is valid as the operand of a custom character class range.
let kind: AST.Atom.Kindvar literalCharacterValue: Character? { get }Retrieves the character value of the atom.
var literalStringValue: String? { get }A string literal representation of the atom, if possible.
let location: SourceLocationstruct BacktrackingDirectiveenum Calloutenum EscapedBuiltinenum Kindstruct Numberstruct Scalarstruct ScalarSequenceprotocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
init(_ kind: AST.Atom.CharacterProperty.Kind, isInverted: Bool, isPOSIX: Bool) var isInverted: BoolWhether this is an inverted property e.g ‘\P{Ll}’, ‘[:^ascii:]’.
var isPOSIX: BoolWhether this property was written using POSIX syntax e.g ‘[:ascii:]’.
var kind: AST.Atom.CharacterProperty.Kindenum JavaSpecialSpecial Java properties that correspond to methods on java.lang.Character, with the java prefix replaced by is.
enum Kindenum PCRESpecialCategorystatic func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.