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