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

type Variable

source code

object --+
         |
        Variable

Instance Methods [hide private]
 
__init__(self, name) source code
 
__eq__(self, other) source code
 
__neq__(self, other) source code
 
__cmp__(self, other) source code
 
substitute_bindings(self, bindings) source code
 
visit(self, function, combinator, default) source code
 
__hash__(self) source code
 
__str__(self) source code
 
__repr__(self) source code
Method Details [hide private]

__init__(self, name)
(Constructor)

source code 
Parameters:
  • name - the name of the variable
Overrides: object.__init__

__hash__(self)
(Hashing function)

source code 
Overrides: object.__hash__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 
Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 
Overrides: object.__repr__
(inherited documentation)