Inheritance: STRuntimeObject
Example #1
0
        public STNativeMethod(STMethodPrototype prototype, STBlock block)
        {
            Prototype = prototype;
            Block = block;
            Block.Context = new LocalContext(Block.Context, true);

            foreach (var name in prototype.ParameterNames)
                Block.Context.Declare(name.Name);
        }
Example #2
0
 public STCompiledMethod CompleteMethod(STMethodPrototype prototype, STBlock block)
 {
     return MethodDictionary[prototype.Selector] = new STNativeMethod(prototype, block);
 }