add parsing for methods in .cc file