예제 #1
0
파일: NativeMethod.cs 프로젝트: fronx/ioke
 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);
 }
예제 #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);
 }
예제 #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));
        }
예제 #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));
        }
예제 #5
0
파일: Runtime.cs 프로젝트: goking/ioke
 public IokeObject NewNativeMethod(String doc, NativeMethod impl)
 {
     IokeObject obj = NewMethod(doc, this.NativeMethod, impl);
     obj.SetActivatable(true);
     return obj;
 }
예제 #6
0
파일: Runtime.cs 프로젝트: fronx/ioke
 public IokeObject NewNativeMethod(String doc, NativeMethod impl)
 {
     return NewMethod(doc, this.NativeMethod, impl);
 }
예제 #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));
        }