switchCase method

Parser switchCase()

Implementation

Parser switchCase() =>
    ref0(label).optional() &
    (ref0(caseToken) & ref0(expression) & ref1(token, ':')).plus() &
    ref0(statements);