(p)
typedef : TYPEDEF field_type IDENTIFIER type_annotations
typedef : TYPEDEF field_type IDENTIFIER type_annotations
typedef : TYPEDEF field_type IDENTIFIER type_annotations
def p_typedef(p):
    '''typedef : TYPEDEF field_type IDENTIFIER type_annotations'''
    setattr(thrift_stack[-1], p[3], p[2])
def p_typedef ( p ) : setattr ( thrift_stack [ - 1 ] , p [ 3 ] , p [ 2 ] )