Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
QilExpression.cs
Go to the documentation of this file.
3
4namespace System.Xml.Xsl.Qil;
5
6internal sealed class QilExpression : QilNode
7{
9
11
13
15
17
19
21
23
25
26 public override int Count => 8;
27
28 public override QilNode this[int index]
29 {
30 get
31 {
32 return index switch
33 {
34 0 => _isDebug,
35 1 => _defWSet,
36 2 => _wsRules,
37 3 => _gloParams,
38 4 => _gloVars,
39 5 => _earlBnd,
40 6 => _funList,
41 7 => _rootNod,
42 _ => throw new IndexOutOfRangeException(),
43 };
44 }
45 set
46 {
47 switch (index)
48 {
49 case 0:
51 break;
52 case 1:
54 break;
55 case 2:
57 break;
58 case 3:
60 break;
61 case 4:
63 break;
64 case 5:
66 break;
67 case 6:
69 break;
70 case 7:
72 break;
73 default:
74 throw new IndexOutOfRangeException();
75 }
76 }
77 }
78
80
81 public bool IsDebug
82 {
83 get
84 {
85 return _isDebug.NodeType == QilNodeType.True;
86 }
87 set
88 {
90 }
91 }
92
94 {
95 get
96 {
97 return (XmlWriterSettings)((QilLiteral)_defWSet).Value;
98 }
99 set
100 {
101 value.ReadOnly = true;
102 ((QilLiteral)_defWSet).Value = value;
103 }
104 }
105
107 {
108 get
109 {
111 }
112 set
113 {
114 ((QilLiteral)_wsRules).Value = value;
115 }
116 }
117
119 {
120 get
121 {
122 return (QilList)_gloParams;
123 }
124 set
125 {
127 }
128 }
129
131 {
132 get
133 {
134 return (QilList)_gloVars;
135 }
136 set
137 {
138 _gloVars = value;
139 }
140 }
141
143 {
144 get
145 {
147 }
148 set
149 {
150 ((QilLiteral)_earlBnd).Value = value;
151 }
152 }
153
155 {
156 get
157 {
158 return (QilList)_funList;
159 }
160 set
161 {
162 _funList = value;
163 }
164 }
165
167 {
168 get
169 {
170 return _rootNod;
171 }
172 set
173 {
174 _rootNod = value;
175 }
176 }
177
179 : base(nodeType)
180 {
181 _factory = factory;
182 _isDebug = factory.False();
184 {
186 });
188 _gloVars = factory.GlobalVariableList();
191 _funList = factory.FunctionList();
192 _rootNod = root;
193 }
194}
XmlWriterSettings DefaultWriterSettings
QilExpression(QilNodeType nodeType, QilNode root, QilFactory factory)
IList< WhitespaceRule > WhitespaceRules
IList< EarlyBoundInfo > EarlyBoundTypes
QilLiteral LiteralObject(object value)