コード例 #1
0
 protected DataFlowOperationVisitor(
     AbstractDomain <TAbstractAnalysisValue> valueDomain,
     INamedTypeSymbol containingTypeSymbol,
     DataFlowAnalysisResult <NullBlockAnalysisResult, NullAbstractValue> nullAnalysisResultOpt,
     DataFlowAnalysisResult <PointsToBlockAnalysisResult, PointsToAbstractValue> pointsToAnalysisResultOpt)
 {
     ValueDomain                   = valueDomain;
     _nullAnalysisResultOpt        = nullAnalysisResultOpt;
     _pointsToAnalysisResultOpt    = pointsToAnalysisResultOpt;
     _valueCacheBuilder            = ImmutableDictionary.CreateBuilder <IOperation, TAbstractAnalysisValue>();
     _pendingArgumentsToReset      = new List <IArgumentOperation>();
     ThisOrMePointsToAbstractValue = GetThisOrMeInstancePointsToValue(containingTypeSymbol);
     AnalysisEntityFactory         = new AnalysisEntityFactory(
         HasPointsToAnalysisResult ? GetPointsToAbstractValue : (Func <IOperation, PointsToAbstractValue>)null,
         containingTypeSymbol);
 }
コード例 #2
0
 public MapAbstractDomain(AbstractDomain <TValue> valueDomain)
 {
     _valueDomain = valueDomain;
 }
コード例 #3
0
 protected BackwardDataFlowAnalysis(AbstractDomain <TAnalysisData> analysisDomain, DataFlowOperationVisitor <TAnalysisData, TAbstractAnalysisValue> operationVisitor)
     : base(analysisDomain, operationVisitor)
 {
 }
コード例 #4
0
 protected DataFlowOperationVisitor(AbstractDomain <TAbstractAnalysisValue> valueDomain, DataFlowAnalysisResult <NullBlockAnalysisResult, NullAbstractValue> nullAnalysisResultOpt)
 {
     ValueDomain            = valueDomain;
     _nullAnalysisResultOpt = nullAnalysisResultOpt;
     _valueCacheBuilder     = ImmutableDictionary.CreateBuilder <IOperation, TAbstractAnalysisValue>();
 }
コード例 #5
0
 protected DataFlowAnalysis(AbstractDomain <TAnalysisData> analysisDomain, DataFlowOperationVisitor <TAnalysisData, TAbstractAnalysisValue> operationVisitor)
 {
     AnalysisDomain   = analysisDomain;
     OperationVisitor = operationVisitor;
 }