Ejemplo n.º 1
0
 internal WithThreeChildren(
     InternalSyntax.SyntaxList green,
     SyntaxNode?parent,
     int position
     ) : base(green, parent, position)
 {
 }
Ejemplo n.º 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)
                 ];
 }
Ejemplo n.º 4
0
 internal SyntaxList(InternalSyntax.SyntaxList green, SyntaxNode?parent, int position)
     : base(green, parent, position)
 {
 }
Ejemplo n.º 5
0
 internal SeparatedWithManyChildren(InternalSyntax.SyntaxList green, SyntaxNode parent, int position)
     : base(green, parent, position)
 {
     _children = new ArrayElement <SyntaxNode> [(green.SlotCount + 1) >> 1];
 }
Ejemplo n.º 6
0
 public bool Equals(SyntaxList <TNode> other)
 {
     return(_node == other._node);
 }