use ;
use crate::;
/// Parse a NOT pattern or delegate to primary parser.
///
/// This parser handles the NOT operator (!) with right associativity.
/// If no NOT token is found, it delegates to the primary parser.
///
/// Examples:
/// - `!bool` - matches anything that is not a boolean
/// - `!!text` - matches anything that is not (not text), i.e., matches text
/// - `![*]` - matches anything that is not an array
pub