Module utils

Source
Expand description

Utils for union! macro parsing and code generation.

Functions§

is_block_expr
Returns true if expr is {…}.
is_valid_expr
Returns true if given stream can be parsed as Expr.
parse_until
Parses input ParseStream until one of provided GroupDeterminer’s check will be valid or it reaches end.