pub fn digest_speculatively<T>(
tokens: Tokens,
read: impl FnOnce(&Digested) -> T,
) -> Result<Option<SpeculativeDigest<T>>>Expand description
tokens digested in a run of their own, in a group, from a mouth of their own (an argument read past their end reads
nothing of the document’s), the boxes read by read; nothing else of the run stays — its assignments undone, local
and global, its diagnostics held and discarded, the frames it left open popped, the tokens being invoked and the
conditionals put back (StomachMark), the field ledger too (crate::token::FieldLedgerScope). None when no
journal opens (journals do not nest); a resource Fatal, or an error a run that could not be undone raised, propagates
(Fatal stays Fatal). The frontmatter’s label reads (queue_digest.rs
speculative_label_ink) and the reference forms of a label the document wrote (\lx@reread@speculative).