Exemple #1
0
 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;
 }
Exemple #2
0
 public static Call NewName(BlockBase parent, string name)
 {
     var ret = new Call();
     ret.Parent = parent;
     ret.name = name;
     return ret;
 }