示例#1
0
 public SeparatedSyntaxListBuilder<TNode> AddRange(SeparatedSyntaxList<TNode> nodes)
 {
     CheckExpectedElement();
     SyntaxNodeOrTokenList list = nodes.GetWithSeparators();
     _builder.AddRange(list);
     _expectedSeparator = ((_builder.Count & 1) != 0);
     return this;
 }
示例#2
0
 public void AddRange(TNode[] items, int offset, int length)
 {
     _builder.AddRange(items, offset, length);
 }