Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Visit() [2/2]

override QilNode System.Xml.Xsl.IlGen.XmlILVisitor.Visit ( QilNode nd)
inlineprotectedvirtual

Reimplemented from System.Xml.Xsl.Qil.QilVisitor.

Definition at line 169 of file XmlILVisitor.cs.

170 {
171 if (nd == null)
172 {
173 return null;
174 }
175 if (_qil.IsDebug && nd.SourceLine != null && !(nd is QilIterator))
176 {
177 _helper.DebugSequencePoint(nd.SourceLine);
178 }
179 switch (XmlILConstructInfo.Read(nd).ConstructMethod)
180 {
181 case XmlILConstructMethod.WriterThenIterator:
183 break;
184 case XmlILConstructMethod.IteratorThenWriter:
186 break;
187 default:
188 base.Visit(nd);
189 break;
190 }
191 return nd;
192 }
void DebugSequencePoint(ISourceLineInfo sourceInfo)

References System.Xml.Xsl.IlGen.XmlILVisitor._helper, System.Xml.Xsl.IlGen.XmlILVisitor._qil, System.Xml.Xsl.IlGen.XmlILVisitor.CopySequence(), System.Xml.Xsl.IlGen.GenerateHelper.DebugSequencePoint(), System.Xml.Dictionary, System.Xml.Xsl.Qil.QilExpression.IsDebug, System.Xml.Xsl.IlGen.XmlILVisitor.NestedConstruction(), and System.Xml.Xsl.IlGen.XmlILConstructInfo.Read().