methodDeclaration method

Parser methodDeclaration()

Implementation

Parser methodDeclaration() =>
    ref0(factoryConstructorDeclaration) |
    ref0(staticToken) & ref0(functionDeclaration) |
    ref0(specialSignatureDefinition) |
    ref0(functionDeclaration) & ref0(initializers).optional() |
    ref0(namedConstructorDeclaration) & ref0(initializers).optional();