Inheritance: STRuntimeObject
Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public STCompiledMethod CompleteMethod(STMethodPrototype prototype, STBlock block)
 {
     return MethodDictionary[prototype.Selector] = new STNativeMethod(prototype, block);
 }