Implements the method expression parsing.