Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
LeafRangeNode.cs
Go to the documentation of this file.
1namespace System.Xml.Schema;
2
3internal sealed class LeafRangeNode : LeafNode
4{
5 private decimal _min;
6
7 private readonly decimal _max;
8
10
11 public decimal Max => _max;
12
13 public decimal Min => _min;
14
16 {
17 get
18 {
19 return _nextIteration;
20 }
21 set
22 {
24 }
25 }
26
27 public override bool IsRangeNode => true;
28
29 public LeafRangeNode(decimal min, decimal max)
30 : this(-1, min, max)
31 {
32 }
33
34 public LeafRangeNode(int pos, decimal min, decimal max)
35 : base(pos)
36 {
37 _min = min;
38 _max = max;
39 }
40
42 {
43 if (parent.LeftChild.IsNullable)
44 {
45 _min = default(decimal);
46 }
47 }
48}
LeafRangeNode(int pos, decimal min, decimal max)
LeafRangeNode(decimal min, decimal max)
override void ExpandTree(InteriorNode parent, SymbolsDictionary symbols, Positions positions)