kerncraft/kernel.py
def _get_basename(cls, aref):
        """
        Return base name of ArrayRef object.

        e.g. c[i+1][j-2] -> 'c'
        """
        if isinstance(aref.name, c_ast.ArrayRef):
            return cls._get_basename(aref.name)
        elif isinstance(aref.name, str):
            return aref.name
        else:
            return aref.name.name
def _get_basename(cls, aref):
        if isinstance(aref.name, c_ast.ArrayRef):
            return cls._get_basename(aref.name)
        elif isinstance(aref.name, str):
            return aref.name
        else:
            return aref.name.name
def _get_basename ( cls , aref ) : if isinstance ( aref . name , c_ast . ArrayRef ) : return cls . _get_basename ( aref . name ) elif isinstance ( aref . name , str ) : return aref . name else : return aref . name . name
Return base name of ArrayRef object.

        e.g. c[i+1][j-2] -> 'c'
Return base name of ArrayRef object .