clipspy-1.0.0/clips/environment.py
def eval(self, expression: str) -> type:
        """Evaluate an expression returning its value.

        Equivalent to the CLIPS (eval) function.

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

        ret = lib.Eval(self._env, expression.encode(), value)
        if ret != lib.EE_NO_ERROR:
            raise CLIPSError(self._env, code=ret)

        return clips.values.python_value(self._env, value)
Evaluate an expression returning its value.

        Equivalent to the CLIPS (eval) function.

        
Evaluate an expression returning its value.
Equivalent to the CLIPS (eval) function.
Evaluate an expression returning its value . Equivalent to the CLIPS ( eval ) function .
def eval(self, expression: str) -> type:
        value = clips.values.clips_value(self._env)
        ret = lib.Eval(self._env, expression.encode(), value)
        if ret != lib.EE_NO_ERROR:
            raise CLIPSError(self._env, code=ret)
        return clips.values.python_value(self._env, value)
def eval ( self , expression : str ) -> type : value = clips . values . clips_value ( self . _env ) ret = lib . Eval ( self . _env , expression . encode ( ) , value ) if ret != lib . EE_NO_ERROR : raise CLIPSError ( self . _env , code = ret ) return clips . values . python_value ( self . _env , value )
Evaluate an expression returning its value.
Evaluate an expression returning its value .
"""Evaluate an expression returning its value.

        Equivalent to the CLIPS (eval) function.

        """
self
expression
str