public void AddMethod(int inlet, Symbol sel, MethodAnything d) { DynamicMethodAnything dyn = DynamicMethods.Create(d); if (inlet == 0 && sel == _) { m_anything = dyn; methodflags |= MethodFlags.f_anything; } else { AddMethodIntern(inlet, sel, Kind.k_anything, dyn); } }
protected static void AddMethod(int inlet, string sel, MethodAnything m) { AddMethod(inlet, new Symbol(sel), m); }
protected static void AddMethod(MethodAnything m) { AddMethod(0, m); }
protected static void AddMethod(int inlet, MethodAnything m) { AddMethod(inlet, _, m); }
protected static void AddMethod(int inlet, Symbol sel, MethodAnything m) { ((External)m.Target).klass.AddMethod(inlet, sel, m); }
public void AddMethod(int inlet, Symbol sel, MethodAnything d) { DynamicMethodAnything dyn = DynamicMethods.Create(d); if (inlet == 0 && sel == _) { m_anything = dyn; methodflags |= MethodFlags.f_anything; } else AddMethodIntern(inlet, sel, Kind.k_anything, dyn); }