parseMethodDeclaration

Parses a method declaration and returns it as a MethodDeclaration.

Return

the AST for the method declaration

Parameters

methodDeclaration

a method declaration like "void foo() {}"

See also

Throws

if the source code has parser errors