def __init__(self, key, name, receiver, arg_list):
    Node.__init__(self, NodeType.method_node, key)
    self.name = name
    self.receiver = receiver
    self.arg_list = arg_list
    for a in arg_list:
        assert isinstance(a, DataNode)
    if receiver:
        assert isinstance(receiver, DataNode)
    logging.debug(type(name))
    assert (isinstance(name, str) or isinstance(name, unicode))
    logging.debug(('Method Node: %s,%s' % (str(key), str(name))))
def __init__(self, key, name, receiver, arg_list):
    Node.__init__(self, NodeType.method_node, key)
    self.name = name
    self.receiver = receiver
    self.arg_list = arg_list
    for a in arg_list:
        assert isinstance(a, DataNode)
    if receiver:
        assert isinstance(receiver, DataNode)
    logging.debug(type(name))
    assert (isinstance(name, str) or isinstance(name, unicode))
    logging.debug(('Method Node: %s,%s' % (str(key), str(name))))