def METHOD_NAME(self, t):
    r'\d+'
    try:
        t.value = int(t.value)
    except ValueError:
        print("Integer value too large %s" % t.value)
        t.value = 0
    # print "parsed number %s" % repr(t.value)
    return t