dCBOR Pattern TypeScript - v1.0.0-alpha.20
    Preparing search index...

    Type Alias Token

    Token:
        | { type: "And" }
        | { type: "Or" }
        | { type: "Not" }
        | { type: "RepeatZeroOrMore" }
        | { type: "RepeatZeroOrMoreLazy" }
        | { type: "RepeatZeroOrMorePossessive" }
        | { type: "RepeatOneOrMore" }
        | { type: "RepeatOneOrMoreLazy" }
        | { type: "RepeatOneOrMorePossessive" }
        | { type: "RepeatZeroOrOne" }
        | { type: "RepeatZeroOrOneLazy" }
        | { type: "RepeatZeroOrOnePossessive" }
        | { type: "Tagged" }
        | { type: "Array" }
        | { type: "Map" }
        | { type: "Bool" }
        | { type: "ByteString" }
        | { type: "Date" }
        | { type: "Known" }
        | { type: "Null" }
        | { type: "Number" }
        | { type: "Text" }
        | { type: "Digest" }
        | { type: "Search" }
        | { type: "BoolTrue" }
        | { type: "BoolFalse" }
        | { type: "NaN" }
        | { type: "Infinity" }
        | { type: "NegInfinity" }
        | { type: "ParenOpen" }
        | { type: "ParenClose" }
        | { type: "BracketOpen" }
        | { type: "BracketClose" }
        | { type: "BraceOpen" }
        | { type: "BraceClose" }
        | { type: "Comma" }
        | { type: "Colon" }
        | { type: "Ellipsis" }
        | { type: "GreaterThanOrEqual" }
        | { type: "LessThanOrEqual" }
        | { type: "GreaterThan" }
        | { type: "LessThan" }
        | { type: "NumberLiteral"; value: number }
        | { type: "GroupName"; name: string }
        | { type: "StringLiteral"; value: string }
        | { type: "SingleQuoted"; value: string }
        | { type: "Regex"; pattern: string }
        | { type: "HexString"; value: Uint8Array }
        | { type: "HexRegex"; pattern: string }
        | { type: "DateQuoted"; value: string }
        | { type: "DigestQuoted"; value: string }
        | { type: "Range"; quantifier: Quantifier }

    Token types for dCBOR pattern parsing.

    This is a discriminated union matching the Rust Token enum.