- Added Type info to terms.

This commit is contained in:
ccremers 2005-11-16 19:07:57 +00:00
parent 60d6a10b04
commit 65920fb7fc

View File

@ -102,6 +102,14 @@ class Term(object):
def __cmp__(self,other):
return cmp(str(self),str(other))
def getTypes(self):
return self.types
def setType(self, tp):
self.types = [ tp ]
class TermConstant(Term):
def __init__(self, constant):