Skip to main content

get_plan

Function get_plan 

Source
pub fn get_plan(id: PlanId) -> Option<&'static ParserPlan>
Expand description

Look up a plan by id. None if the id names no registered plan (the caller treats that as a parse fault).