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

◆ VisitNot()

override QilNode System.Xml.Xsl.IlGen.XmlILVisitor.VisitNot ( QilUnary ndNot)
inlineprotectedvirtual

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

Definition at line 459 of file XmlILVisitor.cs.

460 {
461 Label lblBranch = default(Label);
463 {
464 case BranchingContext.OnFalse:
465 NestedVisitWithBranch(ndNot.Child, BranchingContext.OnTrue, _iterCurr.LabelBranch);
466 break;
467 case BranchingContext.OnTrue:
468 NestedVisitWithBranch(ndNot.Child, BranchingContext.OnFalse, _iterCurr.LabelBranch);
469 break;
470 default:
472 NestedVisitWithBranch(ndNot.Child, BranchingContext.OnTrue, lblBranch);
473 break;
474 }
475 if (_iterCurr.CurrentBranchingContext == BranchingContext.None)
476 {
478 _iterCurr.Storage = StorageDescriptor.Stack(typeof(bool), isCached: false);
479 }
480 else
481 {
482 _iterCurr.Storage = StorageDescriptor.None();
483 }
484 return ndNot;
485 }
void ConvBranchToBool(Label lblBranch, bool isTrueBranch)
void NestedVisitWithBranch(QilNode nd, BranchingContext brctxt, Label lblBranch)

References System.Xml.Xsl.IlGen.XmlILVisitor._helper, System.Xml.Xsl.IlGen.XmlILVisitor._iterCurr, System.Xml.Xsl.IlGen.GenerateHelper.ConvBranchToBool(), System.Xml.Xsl.IlGen.IteratorDescriptor.CurrentBranchingContext, System.Xml.Xsl.IlGen.GenerateHelper.DefineLabel(), System.Xml.Dictionary, System.Xml.Xsl.IlGen.IteratorDescriptor.LabelBranch, System.Xml.Xsl.IlGen.XmlILVisitor.NestedVisitWithBranch(), System.Xml.Xsl.IlGen.StorageDescriptor.None(), and System.Xml.Xsl.IlGen.StorageDescriptor.Stack().