pub fn take_rest_of_mouth() -> Vec<Token>Expand description
Take everything still unread in the CURRENT mouth — its pushback, then the
rest of its source — as raw tokens, leaving it exhausted. The enclosing
input is untouched. This is how a braced argument hands back what followed
the quantity scanned from it (crate::parameter::Parameters::reparse_argument):
TeX leaves that tail in the input (\setlength#1#2{#1 #2\relax},
latex.ltx:10253). The tokens count as READ for the alignment brace ledger
(as read_token counts them), so a caller that puts them back uses
unread_vec, which retracts them again.