weasel API - v0.8.0
    Preparing search index...

    Interface ParsedRoute

    v3 parsed-route shape.

    interface ParsedRoute {
        arg: string | undefined;
        gesture: GestureName;
        modifiers: ParsedModifiers;
        phases: readonly PhaseAtom[];
        target: string | undefined;
    }
    Index

    Properties

    arg: string | undefined

    Resolved arg. For arg-bearing gestures, the descriptor's default fills in when the slot is omitted (e.g. wheelarg: '*'). Undefined for gestures whose descriptor has no arg.

    gesture: GestureName
    modifiers: ParsedModifiers

    Structured modifier requirements; empty map = "no modifiers held".

    phases: readonly PhaseAtom[]

    One or more phase atoms (channel + phase). Empty array is invalid. Bare-phase shorthand in the source string desugars to channel '&', so [engaged] parses to [{ channel: '&', phase: 'engaged' }].

    target: string | undefined

    For hasTarget gestures: target string with '*' as the wildcard sentinel. Defaults to '*' when the slot is omitted. Undefined for hasTarget=false gestures.