listLiteral method

Parser listLiteral()

Implementation

Parser listLiteral() =>
    ref1(token, '[') &
    (ref0(expressionList) & ref1(token, ',').optional()).optional() &
    ref1(token, ']');