'What is the Token associated with this node?  If
you are not using CommonTree, then you must
override this in your own adaptor.'

def getToken(self, t):

    if isinstance(t, CommonTree):
        return t.getToken()
    return None
