def text_to_data(self, text, elt, ps):
v = text<EOL>if self.pyclass is not None:<EOL><INDENT>return self.pyclass(v)<EOL><DEDENT>m = _magicnums.get(v)<EOL>if m: return m<EOL>try:<EOL><INDENT>return float(v)<EOL><DEDENT>except:<EOL><INDENT>raise EvaluateException('<STR_LIT>',<EOL>ps.Backtrace(elt))<EOL><DEDENT>
convert text into typecode specific data.