Package nltk :: Package sem :: Module logic :: Class LambdaExpression
[hide private]
[frames] | no frames]

type LambdaExpression

source code

         object --+            
                  |            
SubstituteBindingsI --+        
                      |        
             Expression --+    
                          |    
   VariableBinderExpression --+
                              |
                             LambdaExpression
Known Subclasses:

Instance Methods [hide private]
 
_set_type(self, other_type=?, signature=None)
@see Expression._set_type()
source code
 
__str__(self) source code
 
str(self, syntax=Tokens.NLTK)

Inherited from VariableBinderExpression: __eq__, __init__, alpha_convert, findtype, free, replace, variables, visit

Inherited from Expression: __and__, __call__, __gt__, __hash__, __lt__, __neg__, __neq__, __or__, __repr__, applyto, equiv, make_VariableExpression, negate, normalize, simplify, substitute_bindings, tp_equals, typecheck

Properties [hide private]
  type
Method Details [hide private]

_set_type(self, other_type=?, signature=None)

source code 

@see Expression._set_type()

Parameters:
  • other_type - Type to set
  • signature - dict<str, list<AbstractVariableExpression>> store all variable expressions with a given name
Overrides: Expression._set_type

__str__(self)
(Informal representation operator)

source code 
Overrides: Expression.__str__

Property Details [hide private]

type