Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ ConstructPos()

override void System.Xml.Schema.ChoiceNode.ConstructPos ( BitSet firstpos,
BitSet lastpos,
BitSet[] followpos )
inline

Definition at line 34 of file ChoiceNode.cs.

35 {
36 BitSet bitSet = new BitSet(firstpos.Count);
37 BitSet bitSet2 = new BitSet(lastpos.Count);
38 ChoiceNode choiceNode = this;
39 SyntaxTreeNode leftChild;
40 do
41 {
43 leftChild = choiceNode.LeftChild;
44 choiceNode = leftChild as ChoiceNode;
45 }
46 while (choiceNode != null);
47 leftChild.ConstructPos(firstpos, lastpos, followpos);
48 firstpos.Or(bitSet);
49 lastpos.Or(bitSet2);
50 }
static void ConstructChildPos(SyntaxTreeNode child, BitSet firstpos, BitSet lastpos, BitSet[] followpos)
Definition ChoiceNode.cs:25

References System.Xml.Schema.ChoiceNode.ConstructChildPos(), System.Xml.Schema.ChoiceNode.ConstructPos(), System.Xml.Schema.BitSet.Count, System.Xml.Dictionary, and System.Xml.Schema.BitSet.Or().

Referenced by System.Xml.Schema.ChoiceNode.ConstructPos().