Exemplo n.º 1
0
        public XsltInput(XmlReader reader, Compiler compiler, KeywordsTable atoms)
        {
            Debug.Assert(reader != null);
            Debug.Assert(atoms != null);
            EnsureExpandEntities(reader);
            IXmlLineInfo?xmlLineInfo = reader as IXmlLineInfo;

            _atoms          = atoms;
            _reader         = reader;
            _reatomize      = reader.NameTable != atoms.NameTable;
            _readerLineInfo = (xmlLineInfo != null && xmlLineInfo.HasLineInfo()) ? xmlLineInfo : null;
            _topLevelReader = reader.ReadState == ReadState.Initial;
            _scopeManager   = new CompilerScopeManager <VarPar>(atoms);
            _compiler       = compiler;
            _nodeType       = XmlNodeType.Document;
        }
Exemplo n.º 2
0
 public NamespaceEnumerator(CompilerScopeManager <V> scope)
 {
     _scope         = scope;
     _lastRecord    = scope._lastRecord;
     _currentRecord = _lastRecord + 1;
 }
 public NamespaceEnumerator(CompilerScopeManager <V> scope)
 {
     this.scope      = scope;
     this.lastRecord = scope.lastRecord;
     Reset();
 }
Exemplo n.º 4
0
 public NamespaceEnumerator(CompilerScopeManager <V> scope)
 {
     this.scope         = scope;
     this.lastRecord    = scope.lastRecord;
     this.currentRecord = lastRecord + 1;
 }