Parse local function definition