clipspy-1.0.0/clips/classes.py
def allowed_classes(self) -> iter:
        """Iterate over the allowed classes for this slot.

        Equivalent to the CLIPS (slot-allowed-classes) function.

        """
        value = clips.values.clips_value(self._env)

        lib.SlotAllowedClasses(self._ptr(), self._name, value)

        if isinstance(value, tuple):
            for defclass in classes(self._env, value):
                yield defclass
Iterate over the allowed classes for this slot.

        Equivalent to the CLIPS (slot-allowed-classes) function.

        
Iterate over the allowed classes for this slot.
Equivalent to the CLIPS (slot-allowed-classes) function.
Iterate over the allowed classes for this slot . Equivalent to the CLIPS ( slot - allowed - classes ) function .
def allowed_classes(self) -> iter:
        value = clips.values.clips_value(self._env)
        lib.SlotAllowedClasses(self._ptr(), self._name, value)
        if isinstance(value, tuple):
            for defclass in classes(self._env, value):
                yield defclass
def allowed_classes ( self ) -> iter : value = clips . values . clips_value ( self . _env ) lib . SlotAllowedClasses ( self . _ptr ( ) , self . _name , value ) if isinstance ( value , tuple ) : for defclass in classes ( self . _env , value ) : yield defclass
Iterate over the allowed classes for this slot.
Iterate over the allowed classes for this slot .
"""Iterate over the allowed classes for this slot.

        Equivalent to the CLIPS (slot-allowed-classes) function.

        """
self