rule method

Parser rule()

Implementation

Parser rule() =>
    ref0(term) &
    (ref0(definitionToken) &
            ref0(term)
                .separatedBy(ref0(commaToken), includeSeparators: false))
        .optional() &
    ref0(terminatorToken);