Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
PlusNode.cs
Go to the documentation of this file.
1namespace System.Xml.Schema;
2
3internal sealed class PlusNode : InteriorNode
4{
5 public override bool IsNullable => base.LeftChild.IsNullable;
6
7 public override void ConstructPos(BitSet firstpos, BitSet lastpos, BitSet[] followpos)
8 {
9 base.LeftChild.ConstructPos(firstpos, lastpos, followpos);
10 for (int num = lastpos.NextSet(-1); num != -1; num = lastpos.NextSet(num))
11 {
12 followpos[num].Or(firstpos);
13 }
14 }
15}
int NextSet(int startFrom)
Definition BitSet.cs:68
override void ConstructPos(BitSet firstpos, BitSet lastpos, BitSet[] followpos)
Definition PlusNode.cs:7
override bool IsNullable
Definition PlusNode.cs:5