is_truly_empty_scope

Function is_truly_empty_scope 

Source
pub fn is_truly_empty_scope(inner: &Expr) -> bool
Expand description

Checks if expression is a truly empty scope (sequence/alternation with no children). Used to distinguish { } @x (empty struct) from {(expr) @_} @x (Node capture).