Esempio n. 1
0
 void SetStopVisitMark(QilNode n, bool stop)
 {
     if (n.Type != QilNodeType.For && n.Type != QilNodeType.Let)
     {
         XsltAnnotation.Write(n)[0] = (stop ? /*any object*/ fixupCurrent : null);
     }
     else
     {
         // we shouldn't alter annotation of "reference" nodes (Iterators, Functions, ...)
     }
 }
Esempio n. 2
0
 bool GetStopVisitMark(QilNode n)
 {
     return(XsltAnnotation.Write(n)[0] != null);
 }