Пример #1
0
 private void Reset()
 {
     this.currentIndex = -1;
     this.currentInfo  = s_DefaultInfo;
     this.mainNode     = s_DefaultInfo;
     this.manager      = null;
 }
Пример #2
0
 internal RecordBuilder(RecordOutput output, XmlNameTable nameTable)
 {
     Debug.Assert(output != null);
     this.output       = output;
     this.nameTable    = nameTable != null ? nameTable : new NameTable();
     this.atoms        = new OutKeywords(this.nameTable);
     this.scopeManager = new OutputScopeManager(this.nameTable, this.atoms);
 }
Пример #3
0
        //
        // RecordOutput interface method implementation
        //

        public Processor.OutputResult RecordDone(RecordBuilder record)
        {
            this.builder        = record;
            this.mainNode       = record.MainNode;
            this.attributeList  = record.AttributeList;
            this.attributeCount = record.AttributeCount;
            this.manager        = record.Manager;

            this.haveRecord = true;
            SetMainNode();

            return(Processor.OutputResult.Interrupt);
        }