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

◆ Not()

QilNode System.Xml.Xsl.Qil.QilPatternFactory.Not ( QilNode child)
inlineinherited

Definition at line 225 of file QilPatternFactory.cs.

226 {
227 if (!_debug)
228 {
229 switch (child.NodeType)
230 {
231 case QilNodeType.True:
232 return _f.False();
233 case QilNodeType.False:
234 return _f.True();
235 case QilNodeType.Not:
236 return ((QilUnary)child).Child;
237 }
238 }
239 return _f.Not(child);
240 }
QilUnary Not(QilNode child)

References System.Xml.Xsl.Qil.QilPatternFactory._debug, System.Xml.Xsl.Qil.QilPatternFactory._f, System.Xml.Xsl.Qil.QilFactory.False(), System.Xml.Xsl.Qil.QilNode.NodeType, System.Xml.Xsl.Qil.QilFactory.Not(), and System.Xml.Xsl.Qil.QilFactory.True().

Referenced by System.Xml.Xsl.Xslt.XPathPatternBuilder.BuildPredicates(), System.Xml.Xsl.XPath.XPathBuilder.CompareNodeSetAndNodeSet(), System.Xml.Xsl.XPath.XPathBuilder.CompareNodeSetAndValue(), System.Xml.Xsl.Xslt.QilGenerator.CompileFnDocument(), System.Xml.Xsl.Xslt.QilGenerator.CompileFnKey(), System.Xml.Xsl.Xslt.QilGenerator.CompileKeys(), System.Xml.Xsl.XPath.XPathBuilder.Function(), System.Xml.Xsl.Xslt.XPathPatternBuilder.Function(), System.Xml.Xsl.Xslt.XPathPatternBuilder.JoinStep(), and System.Xml.Xsl.Xslt.QilGenerator.PlaceMarkerAny().