Generate code for FunctionStatement.
Complete generate code for FunctionName.
Prepare ‘self’ param for function.