def __init__(self): """Expression type is somewhat of an C++/Java abstract type, __init__ must only be called by a subclass. Sets _needs_parens to False. User may set it to true in a subclass to add a parenthesis expression""" self._needs_parens = False Traversable.__init__(self)
def __init__(self): """Initializes SymbolTable with a new dict type""" self.currSyms = {} Traversable.__init__(self)
def __init__(self, size=1): Traversable.__init__(self) self.setNumChildren(size)
def __init__(self): Traversable.__init__(self)
def __init__(self): Traversable.__init__(self) self.setNumChildren(0)