'Return the terminal with the given name'

def __getattr__(self, attr):

    if (attr not in self.terminals):
        raise AttributeError(attr)
    else:
        import traceback
        traceback.print_stack()
        print "Warning:    use    of    node.terminalName    is    deprecated;    use    node['terminalName']    instead."
        return self.terminals[attr]
