Skip to main content

domino_feed_token

Function domino_feed_token 

Source
pub fn domino_feed_token(bytes: &[u8])
Expand description

Feed a decoded token’s bytes back into the DOMINO grammar state machine so the grammar advances for the next token’s mask. No-op when no masker is installed or it is inactive (T53/W11).

This MUST be called after every token selected under constrained decoding, otherwise the grammar state never advances and every token gets masked against the initial state.