Lines Matching refs:render_context
159 let mut render_context = RenderContext { in render_into() localVariable
179 write!(output, "{}", render_context.lookup_index()?.0).unwrap() in render_into()
182 write!(output, "{}", render_context.lookup_index()?.0 == 0).unwrap() in render_into()
185 let (index, length) = render_context.lookup_index()?; in render_into()
189 let value_to_render = render_context.lookup_root()?; in render_into()
195 let value_to_render = render_context.lookup(path)?; in render_into()
202 let value_to_render = render_context.lookup(path)?; in render_into()
219 "@index" => render_context.lookup_index()?.0 != 0, in render_into()
220 "@first" => render_context.lookup_index()?.0 == 0, in render_into()
222 let (index, length) = render_context.lookup_index()?; in render_into()
225 "@root" => self.value_is_truthy(render_context.lookup_root()?, path)?, in render_into()
229 let value_to_render = render_context.lookup(path)?; in render_into()
243 let context_value = render_context.lookup(path)?; in render_into()
244 render_context in render_into()
254 PathStep::Name("@root") => render_context.lookup_root()?, in render_into()
258 _ => render_context.lookup(path)?, in render_into()
262 render_context.context_stack.push(ContextElement::Iteration( in render_into()
275 render_context.context_stack.pop(); in render_into()
282 match render_context.context_stack.last_mut() { in render_into()
301 let context_value = render_context.lookup(path)?; in render_into()