Exemplo n.º 1
0
Arquivo: Call.cs Projeto: 7shi/LLPML
 public static Call NewV(BlockBase parent, NodeBase val, NodeBase target, NodeBase[] args)
 {
     var ret = new Call();
     ret.Parent = parent;
     ret.val = val;
     ret.target = target;
     if (args != null)
     {
         for (int i = 0; i < args.Length; i++)
             ret.args.Add(args[i]);
     }
     return ret;
 }
Exemplo n.º 2
0
Arquivo: Call.cs Projeto: 7shi/LLPML
 public static Call NewName(BlockBase parent, string name)
 {
     var ret = new Call();
     ret.Parent = parent;
     ret.name = name;
     return ret;
 }