Beispiel #1
0
 public QilNode ConvertReletive2Absolute(QilNode node, QilNode fixup)
 {
     QilDepthChecker.Check(node);
     Debug.Assert(node != null);
     Debug.Assert(fixup != null);
     this.fixup = fixup;
     return(this.Visit(node));
 }
Beispiel #2
0
            public QilNode Fixup(QilNode inExpr, IXPathEnvironment environment)
            {
                Debug.Assert(environment != null);
                QilDepthChecker.Check(inExpr);
                _justCount   = false;
                _current     = null;
                _environment = environment;
                numCurrent   = numPosition = numLast = 0;
                inExpr       = VisitAssumeReference(inExpr);
#if StopMaskOptimisation
                // Don't need
                //SetStopVisitMark(inExpr, /*stop*/true);
#endif
                return(inExpr);
            }
Beispiel #3
0
            public QilNode Fixup(QilNode inExpr, QilIterator current, QilNode last)
            {
                QilDepthChecker.Check(inExpr);
                _current = current;
                _last    = last;
                Debug.Assert(current != null);
                _justCount   = false;
                _environment = null;
                numCurrent   = numPosition = numLast = 0;
                inExpr       = VisitAssumeReference(inExpr);
#if StopMaskOptimisation
                SetStopVisitMark(inExpr, /*stop*/ true);
#endif
                return(inExpr);
            }