internal WithThreeChildren(
     InternalSyntax.SyntaxList green,
     SyntaxNode?parent,
     int position
     ) : base(green, parent, position)
 {
 }
Example #2
0
 internal WithManyChildren(
     InternalSyntax.SyntaxList green,
     SyntaxNode?parent,
     int position
     ) : base(green, parent, position)
 {
     _children = new ArrayElement <SyntaxNode?> [green.SlotCount];
 }
 internal SeparatedWithManyWeakChildren(
     InternalSyntax.SyntaxList green,
     SyntaxNode parent,
     int position
     ) : base(green, parent, position)
 {
     _children = new ArrayElement <WeakReference <SyntaxNode>?> [
         (((green.SlotCount + 1) >> 1) - 1)
                 ];
 }
Example #4
0
 internal SyntaxList(InternalSyntax.SyntaxList green, SyntaxNode?parent, int position)
     : base(green, parent, position)
 {
 }
Example #5
0
 internal SeparatedWithManyChildren(InternalSyntax.SyntaxList green, SyntaxNode parent, int position)
     : base(green, parent, position)
 {
     _children = new ArrayElement <SyntaxNode> [(green.SlotCount + 1) >> 1];
 }
 public bool Equals(SyntaxList <TNode> other)
 {
     return(_node == other._node);
 }