pub fn finish_parsing_balanced_tokens<S: TokenStream>(
    stream: &mut S,
    result: &mut Vec<Token>
) -> Result<bool, Box<Error>>
Expand description

Parses balanced tokens from the stream.

This function assumes the the initial opening brace has ready been consumed. It returns false if the input ends before balanced tokens completed.

This function is analogous to scan_toks(true, true) in Knuth’s TeX.