예제 #1
0
 public static void SpliceInsert(this WList <LNode> list, int index, LNode node, Symbol listName = null)
 {
     if (node.Calls(listName ?? CodeSymbols.Splice))
     {
         list.InsertRange(index, node.Args);
     }
     else
     {
         list.Insert(index, node);
     }
 }