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

◆ AnalyzeContent()

virtual QilNode System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeContent ( QilNode nd)
inlineprotectedvirtual

Definition at line 110 of file XmlILStateAnalyzer.cs.

111 {
112 QilNodeType nodeType = nd.NodeType;
113 if ((uint)(nodeType - 14) <= 2u)
114 {
115 nd = fac.Nop(nd);
116 }
117 XmlILConstructInfo xmlILConstructInfo = XmlILConstructInfo.Write(nd);
121 switch (nd.NodeType)
122 {
123 case QilNodeType.Loop:
125 break;
126 case QilNodeType.Sequence:
128 break;
129 case QilNodeType.Conditional:
131 break;
132 case QilNodeType.Choice:
134 break;
135 case QilNodeType.Error:
136 case QilNodeType.Warning:
137 xmlILConstructInfo.ConstructMethod = XmlILConstructMethod.Writer;
138 break;
139 case QilNodeType.Nop:
140 {
141 QilNode child = (nd as QilUnary).Child;
143 if ((uint)(nodeType2 - 14) <= 2u)
144 {
146 break;
147 }
148 xmlILConstructInfo.ConstructMethod = XmlILConstructMethod.Writer;
149 AnalyzeContent(child);
150 break;
151 }
152 default:
154 break;
155 }
157 return nd;
158 }
virtual QilNode AnalyzeContent(QilNode nd)
virtual void AnalyzeChoice(QilChoice ndChoice, XmlILConstructInfo info)
virtual void AnalyzeSequence(QilList ndSeq, XmlILConstructInfo info)
virtual void AnalyzeCopy(QilNode ndCopy, XmlILConstructInfo info)
virtual void AnalyzeConditional(QilTernary ndCond, XmlILConstructInfo info)
virtual void AnalyzeLoop(QilLoop ndLoop, XmlILConstructInfo info)
QilUnary Nop(QilNode child)

References System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeChoice(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeConditional(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeContent(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeCopy(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeLoop(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeSequence(), System.Xml.Dictionary, System.Xml.Xsl.IlGen.XmlILStateAnalyzer.fac, System.Xml.Xsl.Qil.QilNode.NodeType, System.Xml.Xsl.Qil.QilFactory.Nop(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.parentInfo, System.Xml.Xsl.IlGen.XmlILConstructInfo.Write(), and System.Xml.Xsl.IlGen.XmlILStateAnalyzer.xstates.

Referenced by System.Xml.Xsl.IlGen.XmlILStateAnalyzer.Analyze(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeChoice(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeConditional(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeContent(), System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeLoop(), and System.Xml.Xsl.IlGen.XmlILStateAnalyzer.AnalyzeSequence().