Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LeafNode.cs
Go to the documentation of this file.
1namespace System.Xml.Schema;
2
3internal class LeafNode : SyntaxTreeNode
4{
5 private int _pos;
6
7 public int Pos
8 {
9 get
10 {
11 return _pos;
12 }
13 set
14 {
15 _pos = value;
16 }
17 }
18
19 public override bool IsNullable => false;
20
21 public LeafNode(int pos)
22 {
23 _pos = pos;
24 }
25
27 {
28 }
29
30 public override void ConstructPos(BitSet firstpos, BitSet lastpos, BitSet[] followpos)
31 {
32 firstpos.Set(_pos);
33 lastpos.Set(_pos);
34 }
35}
void Set(int index)
Definition BitSet.cs:50
override bool IsNullable
Definition LeafNode.cs:19
override void ConstructPos(BitSet firstpos, BitSet lastpos, BitSet[] followpos)
Definition LeafNode.cs:30
override void ExpandTree(InteriorNode parent, SymbolsDictionary symbols, Positions positions)
Definition LeafNode.cs:26