Parse-fundef
Eats a function definition and builds a fundef AST node.
- Signature
(parse-fundef tokens) → (mv result-ast tokens-after-fundef)
- Arguments
- tokens — Guard (abnf::tree-listp tokens).
- Returns
- result-ast — Type (fundef-resultp result-ast).
- tokens-after-fundef — Type (abnf::tree-listp tokens-after-fundef).