예제 #1
0
        internal void LoadFromClassIndex()
        {
            if (!IsEmpty())
            {
                return;
            }
            QCandidates.TreeIntBuilder result = new QCandidates.TreeIntBuilder();
            IClassIndexStrategy        index  = i_classMetadata.Index();

            index.TraverseAll(i_trans, new _IVisitor4_346(this, result));
            i_root = result.tree;
            DiagnosticProcessor dp = i_trans.Container()._handlers.DiagnosticProcessor();

            if (dp.Enabled() && !IsClassOnlyQuery())
            {
                dp.LoadedFromClassIndex(i_classMetadata);
            }
            _loadedFromClassIndex = true;
        }
예제 #2
0
 public _IVisitor4_346(QCandidates _enclosing, QCandidates.TreeIntBuilder result)
 {
     this._enclosing = _enclosing;
     this.result     = result;
 }
예제 #3
0
		internal void LoadFromClassIndex()
		{
			if (!IsEmpty())
			{
				return;
			}
			QCandidates.TreeIntBuilder result = new QCandidates.TreeIntBuilder();
			IClassIndexStrategy index = i_classMetadata.Index();
			index.TraverseAll(i_trans, new _IVisitor4_346(this, result));
			i_root = result.tree;
			DiagnosticProcessor dp = i_trans.Container()._handlers.DiagnosticProcessor();
			if (dp.Enabled() && !IsClassOnlyQuery())
			{
				dp.LoadedFromClassIndex(i_classMetadata);
			}
			_loadedFromClassIndex = true;
		}