method definition parsing