Package nltk_lite :: Package contrib :: Package mit :: Package six863 :: Package semantics :: Module logic :: Class Variable
[hide private]
[frames] | no frames]

Class Variable

source code

object --+
         |
        Variable

A variable, either free or bound.

Instance Methods [hide private]
 
__init__(self, name)
Create a new Variable.
source code
 
__eq__(self, other) source code
 
__ne__(self, other) source code
 
equals(self, other)
A comparison function.
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
__hash__(self)
hash(x)
source code

Inherited from object: __delattr__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, name)
(Constructor)

source code 

Create a new Variable.

Parameters:
  • name (string) - The name of the variable.
Overrides: object.__init__

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__hash__(self)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)