Home
last modified time | relevance | path

Searched refs:PathSlice (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/tinytemplate/src/
Derror.rs3 use instruction::{path_to_str, PathSlice};
126 pub(crate) fn lookup_error(source: &str, step: &str, path: PathSlice, current: &Value) -> Error { in lookup_error() argument
156 pub(crate) fn truthiness_error(source: &str, path: PathSlice) -> Error { in truthiness_error()
174 pub(crate) fn not_iterable_error(source: &str, path: PathSlice) -> Error { in not_iterable_error()
Dinstruction.rs33 pub(crate) type PathSlice<'a, 'template> = &'a [PathStep<'template>]; typedef
76 pub(crate) fn path_to_str(path: PathSlice) -> String { in path_to_str()
Dtemplate.rs6 use instruction::{Instruction, PathSlice, PathStep};
42 fn lookup(&self, path: PathSlice) -> Result<&'render Value> { in lookup()
63 fn lookup_in(&self, path: PathSlice, object: &'render Value) -> Result<&'render Value> { in lookup_in() argument
328 fn value_is_truthy(&self, value: &Value, path: PathSlice) -> Result<bool> { in value_is_truthy()