syntax_resolver_at_most_recent

Function syntax_resolver_at_most_recent 

Source
pub fn syntax_resolver_at_most_recent(
    most_recent_node_id: u128,
) -> Result<Arc<DatasetRuleResolver>, Error>
Expand description

Returns a shared syntax resolver reflecting the System-block graph state as of most_recent_node_id (Dc 641 "Global graph system block most recent node ID at time of document creation").

When most_recent_node_id matches the current HEAD System-block most recent node ID, returns default_syntax_resolver() without rebuilding. When most_recent_node_id exceeds HEAD (and is not explicitly registered in the resolver cache), returns an error rather than silently substituting HEAD.