def get_parameters(self):
if not self.is_parameterized():<EOL><INDENT>raise IllegalState()<EOL><DEDENT>if not self.get_text('<STR_LIT>'):<EOL><INDENT>return dict()<EOL><DEDENT>import imp<EOL>from types import ModuleType, FunctionType<EOL>script_module = imp.new_module('<STR_LIT>')<EOL>exec(self.get_text('<STR_LIT>').text, script_module.__dict__)<EOL>params = dict()<EOL>for attr in dir(script_module):<EOL><INDENT>if (not isinstance(getattr(script_module, attr), ModuleType) and<EOL>not isinstance(getattr(script_module, attr), FunctionType) and<EOL>not attr.startswith('<STR_LIT>')):<EOL><INDENT>params[attr] = getattr(script_module, attr)<EOL><DEDENT><DEDENT>return params<EOL>
stub