'Given a token (either STRUCT or UNION), selects the
appropriate AST class.'

def _select_struct_union_class(self, token):

    if (token == 'struct'):
        return c_ast.Struct
    else:
        return c_ast.Union
