Exemplo n.º 1
0
 private static object ArgumentActivator(IokeObject self, IokeObject context, IokeObject message, object on, NativeMethod outer)
 {
     IList args = new SaneArrayList();
     IDictionary<string, object> keywords = new SaneDictionary<string, object>();
     outer.ArgumentsDefinition.GetEvaluatedArguments(context, message, on, args, keywords);
     return outer.argsActivator(self, on, args, keywords, context, message);
 }
Exemplo n.º 2
0
 private static object TypeCheckingRawActivate(IokeObject self, IokeObject context, IokeObject message, object on, NativeMethod outer)
 {
     IList args = new SaneArrayList();
     IDictionary<string, object> keywords = new SaneDictionary<string, object>();
     object receiver = ((TypeCheckingArgumentsDefinition)outer.ArgumentsDefinition).GetValidatedArgumentsAndReceiver(context, message, on, args, keywords);
     return outer.argsActivator(self, receiver, args, keywords, context, message);
 }
Exemplo n.º 3
0
        private static object ArgumentActivator(IokeObject self, IokeObject context, IokeObject message, object on, NativeMethod outer)
        {
            IList args = new SaneArrayList();
            IDictionary <string, object> keywords = new SaneDictionary <string, object>();

            outer.ArgumentsDefinition.GetEvaluatedArguments(context, message, on, args, keywords);
            return(outer.argsActivator(self, on, args, keywords, context, message));
        }
Exemplo n.º 4
0
        public new static object ActivateFixed(IokeObject self, IokeObject context, IokeObject message, object on)
        {
            NativeMethod nm = (NativeMethod)self.data;

            return(nm.Activate(self, context, message, on));
        }
Exemplo n.º 5
0
 public IokeObject NewNativeMethod(String doc, NativeMethod impl)
 {
     IokeObject obj = NewMethod(doc, this.NativeMethod, impl);
     obj.SetActivatable(true);
     return obj;
 }
Exemplo n.º 6
0
 public IokeObject NewNativeMethod(String doc, NativeMethod impl)
 {
     return NewMethod(doc, this.NativeMethod, impl);
 }
Exemplo n.º 7
0
        private static object TypeCheckingRawActivate(IokeObject self, IokeObject context, IokeObject message, object on, NativeMethod outer)
        {
            IList args = new SaneArrayList();
            IDictionary <string, object> keywords = new SaneDictionary <string, object>();
            object receiver = ((TypeCheckingArgumentsDefinition)outer.ArgumentsDefinition).GetValidatedArgumentsAndReceiver(context, message, on, args, keywords);

            return(outer.argsActivator(self, receiver, args, keywords, context, message));
        }