public static createObject ( |
||
state | ||
리턴 |
public static IoObject slotArguments(IoObject target, IoObject locals, IoObject message) { IoMessage self = target as IoMessage; IoList list = IoList.createObject(target.state); foreach (IoObject o in self.args) { list.append(o); } return(list); }
public static IoObject slotWith(IoObject target, IoObject locals, IoObject message) { IoMessage m = message as IoMessage; IoList o = IoList.createObject(target.state) as IoList; for (int i = 0; i < m.args.Count; i++) { IoObject obj = m.localsValueArgAt(locals, i); o.list.Add(obj); } return(o); }