promql_parser

Module util

Source
Expand description

Internal utilities for parser.

Re-exports§

Modules§

Traits§

Functions§

  • A util function that traverses an AST Expr in depth-first order. Returns Ok(true) if all nodes were visited, and Ok(false) if any call to pre_visit or post_visit returned Ok(false) and may have cut short the recursion.