Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
QilFunction.cs
Go to the documentation of this file.
1namespace System.Xml.Xsl.Qil;
2
3internal sealed class QilFunction : QilReference
4{
6
8
10
11 public override int Count => 3;
12
13 public override QilNode this[int index]
14 {
15 get
16 {
17 return index switch
18 {
19 0 => _arguments,
20 1 => _definition,
21 2 => _sideEffects,
22 _ => throw new IndexOutOfRangeException(),
23 };
24 }
25 set
26 {
27 switch (index)
28 {
29 case 0:
31 break;
32 case 1:
34 break;
35 case 2:
37 break;
38 default:
39 throw new IndexOutOfRangeException();
40 }
41 }
42 }
43
45
47 {
48 get
49 {
50 return _definition;
51 }
52 set
53 {
55 }
56 }
57
59
68}
QilFunction(QilNodeType nodeType, QilNode arguments, QilNode definition, QilNode sideEffects, XmlQueryType resultType)