def on_name(self, node):    # ('id', 'ctx')
        """ Name node """
        ctx = node.ctx.__class__
        if ctx == ast.Del:
            val = self.symtable.del_symbol(node.id)
        elif ctx == ast.Param:  # for Function Def
            val = str(node.id)
        else:
            # val = self.symtable.get_symbol(node.id)
            try:
                val = self.symtable.get_symbol(node.id)
            except (__HOLE__, LookupError):
                msg = "name '%s' is not defined" % node.id
                self.raise_exception(node, msg=msg)
        return val
dataset/ETHPy150Open xraypy/xraylarch/lib/interpreter.py/Interpreter.on_name