Exemplo n.º 1
0
 static Func genFunc(Opexplicit index)
 {
     return((body_args) => new OpNode
     {
         opcode = (byte)index,
         arguments = null,
         body = new List <object>(body_args)
     });
 }
Exemplo n.º 2
0
 static FuncWithScope genFuncWithScope(Opexplicit index)
 {
     return((args) =>
     {
         return (body_args) =>
         {
             return new OpNode
             {
                 opcode = (byte)index,
                 arguments = new List <object>(args),
                 body = new List <object>(body_args)
             };
         };
     });
 }