declaration method

Parser declaration()

Implementation

Parser declaration() =>
    ref0(functionDeclaration) & ref0(redirection) |
    ref0(namedConstructorDeclaration) & ref0(redirection) |
    ref0(abstractToken) & ref0(specialSignatureDefinition) |
    ref0(abstractToken) & ref0(functionDeclaration) |
    ref0(staticToken) &
        ref0(finalToken) &
        ref0(type).optional() &
        ref0(staticFinalDeclarationList) |
    ref0(staticToken).optional() & ref0(constInitializedVariableDeclaration);