Example #1
0
 public XPathPredicateEnvironment(IXPathEnvironment baseEnvironment)
 {
     _baseEnvironment = baseEnvironment;
     _f                = baseEnvironment.Factory;
     _fixupCurrent     = _f.Unknown(T.NodeNotRtf);
     _fixupPosition    = _f.Unknown(T.DoubleX);
     _fixupLast        = _f.Unknown(T.DoubleX);
     this.fixupVisitor = new XPathBuilder.FixupVisitor(_f, _fixupCurrent, _fixupPosition, _fixupLast);
 }
Example #2
0
        public XPathPatternBuilder(IXPathEnvironment environment)
        {
            Debug.Assert(environment != null);
            _environment          = environment;
            _f                    = environment.Factory;
            _predicateEnvironment = new XPathPredicateEnvironment(environment);
            _predicateBuilder     = new XPathBuilder(_predicateEnvironment);

            _fixupNode = _f.Unknown(T.NodeNotRtfS);
        }
Example #3
0
 public PathConvertor(XPathQilFactory f) : base(f.BaseFactory)
 {
     this.f = f;
 }
Example #4
0
 public MatcherBuilder(XPathQilFactory f, ReferenceReplacer refReplacer, InvokeGenerator invkGen)
 {
     _f           = f;
     _refReplacer = refReplacer;
     _invkGen     = invkGen;
 }
Example #5
0
 public LoopFocus(XPathQilFactory f)
 {
     _f       = f;
     _current = _cached = _last = null;
 }
Example #6
0
 public SingletonFocus(XPathQilFactory f)
 {
     _f         = f;
     _focusType = SingletonFocusType.None;
     _current   = null;
 }
Example #7
0
 public QilStrConcatenator(XPathQilFactory f)
 {
     _f       = f;
     _builder = new StringBuilder();
 }
Example #8
0
 public QilStrConcatenator(XPathQilFactory f)
 {
     this.f  = f;
     builder = new BufferBuilder();
 }
Example #9
0
 public SingletonFocus(XPathQilFactory f)
 {
     this.f    = f;
     focusType = SingletonFocusType.None;
     current   = null;
 }
Example #10
0
 public LoopFocus(XPathQilFactory f)
 {
     this.f  = f;
     current = cached = last = null;
 }
 public XPathPredicateEnvironment(IXPathEnvironment baseEnvironment)
 {
     this.baseEnvironment = baseEnvironment;
     this.f = baseEnvironment.Factory;
     cloner = new Cloner(f.BaseFactory);
 }