Skip to main content

render_value_with

Function render_value_with 

Source
pub fn render_value_with(
    arena: &AstArena,
    token: u32,
    options: &RenderOptions,
    cache: Option<&RenderCache>,
    reducer: Option<&Reducer<'_>>,
) -> Rendered
Expand description

render a token. identical constructs (colors and tokens with sub tokens: functions, parentheses, binary expressions, …) are rendered once per render, see RenderMemo