unaryExpression method

Parser unaryExpression()

Implementation

Parser unaryExpression() =>
    ref0(postfixExpression) |
    ref0(prefixOperator) & ref0(unaryExpression) |
    ref0(negateOperator) & ref0(superToken) |
    ref1(token, '-') & ref0(superToken) |
    ref0(incrementOperator) & ref0(assignableExpression);