Skip to main content

parse_coinductive_form

Function parse_coinductive_form 

Source
pub fn parse_coinductive_form(node: &Node) -> Option<CoinductiveDecl>
Expand description

Parse a (coinductive Name (constructor …) …) form into a CoinductiveDecl. Panics with Coinductive declaration error: on a malformed or non-productive declaration so the existing diagnostic dispatch maps it to E036.