Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
InteriorNode.cs
Go to the documentation of this file.
2
3namespace System.Xml.Schema;
4
5internal abstract class InteriorNode : SyntaxTreeNode
6{
8
10
12 {
13 get
14 {
15 return _leftChild;
16 }
17 set
18 {
20 }
21 }
22
24 {
25 get
26 {
27 return _rightChild;
28 }
29 set
30 {
32 }
33 }
34
36 {
39 while (interiorNode._leftChild is ChoiceNode || interiorNode._leftChild is SequenceNode)
40 {
41 stack.Push(interiorNode);
43 }
44 interiorNode._leftChild.ExpandTree(interiorNode, symbols, positions);
45 while (true)
46 {
47 if (interiorNode._rightChild != null)
48 {
49 interiorNode._rightChild.ExpandTree(interiorNode, symbols, positions);
50 }
51 if (stack.Count != 0)
52 {
53 interiorNode = stack.Pop();
54 continue;
55 }
56 break;
57 }
58 }
59
61 {
63 if (_rightChild != null)
64 {
66 }
67 }
68}
override void ExpandTree(InteriorNode parent, SymbolsDictionary symbols, Positions positions)
void ExpandTreeNoRecursive(InteriorNode parent, SymbolsDictionary symbols, Positions positions)
void ExpandTree(InteriorNode parent, SymbolsDictionary symbols, Positions positions)