Parse-if-statement
Eats an if statement and builds a statement AST node of kind :if.
- Signature
(parse-if-statement tokens)
→
(mv result-ast tokens-after-statement)
- Arguments
- tokens — Guard (abnf::tree-listp tokens).
- Returns
- result-ast — Type (statement-resultp result-ast).
- tokens-after-statement — Type (abnf::tree-listp tokens-after-statement).