pub fn digest_hook_code<T: Into<Tokens>>(tokens: T) -> Result<Digested>Expand description
digest a hook’s code as the plain input it is in TeX: a group it closes that was opened before it (an end
hook’s \egroup closing its begin hook’s \bgroup) does not end the digestion; the rest of the code is digested
in the enclosing group (Perl’s digest stops there, Stomach.pm:150; OD #1248).