PHPAnalysis.Analysis.CFG.Taint.TaintBlockAnalyzer.ApplyAnalysisExtensions C# (CSharp) Метод

ApplyAnalysisExtensions() приватный Метод

private ApplyAnalysisExtensions ( XmlNode node, ExpressionInfo currentInfo ) : ExpressionInfo
node System.Xml.XmlNode
currentInfo ExpressionInfo
Результат ExpressionInfo
        private ExpressionInfo ApplyAnalysisExtensions(XmlNode node, ExpressionInfo currentInfo)
        {
            foreach (var analysisExtension in AnalysisExtensions)
            {
                analysisExtension.FunctionMethodAnalyzerFactory = storage =>
                {
                    var customFunctionHandler = new CustomFunctionHandler(this._analyzer, _subroutineAnalyzerFactory);
                    customFunctionHandler.AnalysisExtensions.AddRange(this.AnalysisExtensions);
                    var varStorage = ImmutableVariableStorage.CreateFromMutable(storage);
                    return _subroutineAnalyzerFactory.Create(varStorage, _inclusionResolver, _analysisStacks,
                                                             customFunctionHandler, _vulnerabilityStorage);
                };
                currentInfo = analysisExtension.Analyze(node, currentInfo, _variableStorage, _vulnerabilityStorage);
            }
            return currentInfo;
        }