Skip to main content

read_delimited_balanced

Function read_delimited_balanced 

Source
pub fn read_delimited_balanced(open: &Token, close: &Token) -> Result<Tokens>
Expand description

The rest of an xparse o/O{}/r[]/D<> argument whose open was just read: up to the matching close, nested pairs and braced groups kept whole, as ltcmd’s delimited grab nests them (LaTeX’s \@ifnextchar[ stops at the first).