formalParameterList method

Parser formalParameterList()

Implementation

Parser formalParameterList() =>
    ref1(token, '(') &
        ref0(optionalFormalParameters).optional() &
        ref1(token, ')') |
    ref1(token, '(') &
        ref0(namedFormalParameters).optional() &
        ref1(token, ')') |
    ref1(token, '(') &
        ref0(normalFormalParameter) &
        ref0(normalFormalParameterTail).optional() &
        ref1(token, ')');