Exemplo n.º 1
0
        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);
            }
        }
Exemplo n.º 2
0
 protected static void AddMethod(int inlet, string sel, MethodAnything m)
 {
     AddMethod(inlet, new Symbol(sel), m);
 }
Exemplo n.º 3
0
 protected static void AddMethod(MethodAnything m)
 {
     AddMethod(0, m);
 }
Exemplo n.º 4
0
 protected static void AddMethod(int inlet, MethodAnything m)
 {
     AddMethod(inlet, _, m);
 }
Exemplo n.º 5
0
 protected static void AddMethod(int inlet, Symbol sel, MethodAnything m)
 {
     ((External)m.Target).klass.AddMethod(inlet, sel, m);
 }
Exemplo n.º 6
0
 protected static void AddMethod(int inlet, string sel, MethodAnything m) { AddMethod(inlet, new Symbol(sel), m); }
Exemplo n.º 7
0
 protected static void AddMethod(MethodAnything m) { AddMethod(0, m); }
Exemplo n.º 8
0
 protected static void AddMethod(int inlet, MethodAnything m) { AddMethod(inlet, _, m); }
Exemplo n.º 9
0
 protected static void AddMethod(int inlet, Symbol sel, MethodAnything m) { ((External)m.Target).klass.AddMethod(inlet, sel, m); }
Exemplo n.º 10
0
 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);
 }