def search_definition(data):
    '''@return file, line, col
    '''

    data = data.replace('\n', '')
    if data.endswith('.'):
        data = data.rstrip('.')
    f, mod, parent, foundAs = Find(data)
    try:
        return do_find(f, mod), foundAs
    except:
        return do_find(f, parent), foundAs
def search_definition ( data ) : data = data . replace ( '\n' , '' ) if data . endswith ( '.' ) : data = data . rstrip ( '.' ) f , mod , parent , foundAs = Find ( data ) try : return do_find ( f , mod ) , foundAs except : return do_find ( f , parent ) , foundAs
@return file, line, col