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

◆ AnalyzeCopy()

virtual void System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeCopy ( QilNode ndCopy,
XmlILConstructInfo info )
inlineprotectedvirtual

Reimplemented in System.Xml.Xsl.IlGen.XmlILElementAnalyzer.

Definition at line 214 of file XmlILStateAnalyzer.cs.

215 {
216 XmlQueryType xmlType = ndCopy.XmlType;
217 if (!xmlType.IsSingleton)
218 {
219 StartLoop(xmlType, info);
220 }
221 if (MaybeContent(xmlType))
222 {
223 if (MaybeAttrNmsp(xmlType))
224 {
225 if (xstates == PossibleXmlStates.EnumAttrs)
226 {
227 xstates = PossibleXmlStates.Any;
228 }
229 }
230 else if (xstates == PossibleXmlStates.EnumAttrs || withinElem)
231 {
232 xstates = PossibleXmlStates.WithinContent;
233 }
234 }
235 if (!xmlType.IsSingleton)
236 {
237 EndLoop(xmlType, info);
238 }
239 }
void EndLoop(XmlQueryType typ, XmlILConstructInfo info)
void StartLoop(XmlQueryType typ, XmlILConstructInfo info)

References System.Xml.Dictionary, System.Xml.Xsl.IlGen.XmlILStateAnalyzer.EndLoop(), System.info, System.Xml.Xsl.XmlQueryType.IsSingleton, System.Xml.Xsl.IlGen.XmlILStateAnalyzer.MaybeAttrNmsp(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.MaybeContent(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.StartLoop(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.withinElem, and System.Xml.Xsl.IlGen.XmlILStateAnalyzer.xstates.

Referenced by System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeContent().