classDefinition method

Parser classDefinition()

Implementation

Parser classDefinition() =>
    ref0(abstractToken).optional() &
        ref0(classToken) &
        ref0(identifier) &
        ref0(typeParameters).optional() &
        ref0(superclass).optional() &
        ref0(interfaces).optional() &
        ref1(token, '{') &
        ref0(classMemberDefinition).star() &
        ref1(token, '}') |
    ref0(abstractToken).optional() &
        ref0(classToken) &
        ref0(identifier) &
        ref0(typeParameters).optional() &
        ref0(interfaces).optional() &
        ref0(nativeToken) &
        ref1(token, ref0(stringLexicalToken)) &
        ref1(token, '{') &
        ref0(classMemberDefinition).star() &
        ref1(token, '}');