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§
Sourcefn expr(&mut self, _at: &AuthoredPath, _raw: &Value, _records: bool)
fn expr(&mut self, _at: &AuthoredPath, _raw: &Value, _records: bool)
An expression at at; records is set when the engine records its
result.
Sourcefn interpolated(&mut self, _at: &AuthoredPath, _doc: &Interpolated)
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".