def __getattr__( self, aname ):
if( aname == "<STR_LIT>" ):<EOL><INDENT>return lineno( self.loc, self.pstr )<EOL><DEDENT>elif( aname in ("<STR_LIT>", "<STR_LIT>") ):<EOL><INDENT>return col( self.loc, self.pstr )<EOL><DEDENT>elif( aname == "<STR_LIT>" ):<EOL><INDENT>return line( self.loc, self.pstr )<EOL><DEDENT>else:<EOL><INDENT>raise AttributeError(aname)<EOL><DEDENT>
supported attributes by name are:
            - lineno - returns the line number of the exception text
            - col - returns the column number of the exception text
            - line - returns the line containing the exception text