62 references to BranchingContext
System.Private.Xml (62)
System\Xml\Xsl\IlGen\IteratorDescriptor.cs (5)
268
private
BranchingContext
_brctxt;
477
public void SetBranching(
BranchingContext
brctxt, Label lblBranch)
479
Debug.Assert(brctxt !=
BranchingContext
.None);
489
get { return _brctxt !=
BranchingContext
.None; }
503
public
BranchingContext
CurrentBranchingContext
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (57)
491
if (_iterCurr.CurrentBranchingContext !=
BranchingContext
.None)
495
_helper.EmitUnconditionalBranch(_iterCurr.CurrentBranchingContext ==
BranchingContext
.OnTrue ?
520
if (_iterCurr.CurrentBranchingContext !=
BranchingContext
.None)
524
_helper.EmitUnconditionalBranch(_iterCurr.CurrentBranchingContext ==
BranchingContext
.OnFalse ?
649
private Label StartConjunctiveTests(
BranchingContext
brctxt, Label lblBranch)
655
case
BranchingContext
.OnFalse:
657
_iterCurr.SetBranching(
BranchingContext
.OnFalse, lblBranch);
665
_iterCurr.SetBranching(
BranchingContext
.OnFalse, lblOnFalse);
673
private void StartLastConjunctiveTest(
BranchingContext
brctxt, Label lblBranch, Label lblOnFalse)
677
case
BranchingContext
.OnTrue:
679
_iterCurr.SetBranching(
BranchingContext
.OnTrue, lblBranch);
685
_iterCurr.SetBranching(
BranchingContext
.OnFalse, lblOnFalse);
693
private void EndConjunctiveTests(
BranchingContext
brctxt, Label lblOnFalse)
697
case
BranchingContext
.OnTrue:
700
goto case
BranchingContext
.OnFalse;
702
case
BranchingContext
.OnFalse:
706
case
BranchingContext
.None:
744
case
BranchingContext
.OnFalse:
748
NestedVisitWithBranch(ndOr.Left,
BranchingContext
.OnTrue, lblTemp);
751
case
BranchingContext
.OnTrue:
753
NestedVisitWithBranch(ndOr.Left,
BranchingContext
.OnTrue, _iterCurr.LabelBranch);
758
Debug.Assert(_iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
760
NestedVisitWithBranch(ndOr.Left,
BranchingContext
.OnTrue, lblTemp);
767
case
BranchingContext
.OnFalse:
769
NestedVisitWithBranch(ndOr.Right,
BranchingContext
.OnFalse, _iterCurr.LabelBranch);
772
case
BranchingContext
.OnTrue:
774
NestedVisitWithBranch(ndOr.Right,
BranchingContext
.OnTrue, _iterCurr.LabelBranch);
781
NestedVisitWithBranch(ndOr.Right,
BranchingContext
.OnTrue, lblTemp);
787
case
BranchingContext
.OnFalse:
790
goto case
BranchingContext
.OnTrue;
792
case
BranchingContext
.OnTrue:
796
case
BranchingContext
.None:
833
case
BranchingContext
.OnFalse:
834
NestedVisitWithBranch(ndNot.Child,
BranchingContext
.OnTrue, _iterCurr.LabelBranch);
837
case
BranchingContext
.OnTrue:
838
NestedVisitWithBranch(ndNot.Child,
BranchingContext
.OnFalse, _iterCurr.LabelBranch);
843
Debug.Assert(_iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
845
NestedVisitWithBranch(ndNot.Child,
BranchingContext
.OnTrue, lblTemp);
849
if (_iterCurr.CurrentBranchingContext ==
BranchingContext
.None)
876
NestedVisitWithBranch(ndCond.Left,
BranchingContext
.OnFalse, lblFalse);
918
NestedVisitWithBranch(ndCond.Left,
BranchingContext
.OnFalse, lblFalse);
1901
_iterCurr.SetBranching(
BranchingContext
.OnFalse, _iterCurr.ParentIterator!.GetLabelNext());
3364
case
BranchingContext
.OnFalse:
3369
case
BranchingContext
.OnTrue:
3375
Debug.Assert(_iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
3392
if (iterParent.CurrentBranchingContext ==
BranchingContext
.OnTrue)
3405
case
BranchingContext
.OnFalse:
3411
case
BranchingContext
.OnTrue:
3415
case
BranchingContext
.None:
4296
case
BranchingContext
.OnFalse:
4329
case
BranchingContext
.OnTrue:
4345
Debug.Assert(_iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
4383
case
BranchingContext
.OnTrue:
4390
case
BranchingContext
.OnFalse:
4398
Debug.Assert(_iterCurr.CurrentBranchingContext ==
BranchingContext
.None);
4710
if (_iterCurr.CurrentBranchingContext ==
BranchingContext
.OnTrue)
4823
private void NestedVisitWithBranch(QilNode nd,
BranchingContext
brctxt, Label lblBranch)