Skip to main content

traverse_scope

Function traverse_scope 

Source
pub fn traverse_scope(expression: &Expression) -> Vec<Scope>
Expand description

Traverse an expression by its “scopes”.

Returns a list of all scopes in depth-first post-order.

§Arguments

  • expression - The expression to traverse

§Returns

A vector of all scopes found