def parameter_action(self, text, loc, par):
exshared.setpos(loc, text)<EOL>if DEBUG > <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>",par)<EOL>if DEBUG == <NUM_LIT:2>: self.symtab.display()<EOL>if DEBUG > <NUM_LIT:2>: return<EOL><DEDENT>index = self.symtab.insert_parameter(par.name, par.type)<EOL>self.shared.function_params += <NUM_LIT:1><EOL>return index<EOL>
Code executed after recognising a parameter