Skip to main content

parse_bindings

Function parse_bindings 

Source
pub fn parse_bindings(binding: &Node) -> Option<Vec<(String, String)>>
Expand description

Parse comma-separated bindings: (Natural x, Natural y) → vec of (name, type) pairs. Tokens arrive as [“Natural”, “x,”, “Natural”, “y”] or [“Natural”, “x”] (single binding).