Module uvls::core::ast::visitor

source ·
Expand description

This trait makes the tree-sitter cursor api easier to use. Util functions and traits for the transformer

Traits§

Functions§

  • Utility function, tree-sitter uses cursor to traverse trees, this creates a scope that guarantees to “go down”, call f and later “go up” one level. It also protects against stack overflow
  • loop over all siblings