Skip to main content

ExprVisitor

Trait ExprVisitor 

Source
pub trait ExprVisitor {
    // Provided methods
    fn expr(&mut self, _at: &AuthoredPath, _raw: &Value, _records: bool) { ... }
    fn interpolated(&mut self, _at: &AuthoredPath, _doc: &Interpolated) { ... }
}
Expand description

Receives every expression of a config, with its path.

Provided Methods§

Source

fn expr(&mut self, _at: &AuthoredPath, _raw: &Value, _records: bool)

An expression at at; records is set when the engine records its result.

Source

fn interpolated(&mut self, _at: &AuthoredPath, _doc: &Interpolated)

An interpolated document at at.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§