def check_variable_bindings(self, bound_variables: AbstractSet[Variable]) -> None:
if self._variable not in bound_variables:
raise UndefinedNameError('Undefined variable {0!s} is being accessed'.format(self._variable))
文章目录