Parse-switch-statement
Eats a switch statement and builds a statement AST node of kind :switch.
- Signature
(parse-switch-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).