public AstAnalysisFunctionWalker( NameLookupContext scope, FunctionDefinition targetFunction ) { _scope = scope ?? throw new ArgumentNullException(nameof(scope)); _target = targetFunction ?? throw new ArgumentNullException(nameof(targetFunction)); _returnTypes = new List <IPythonType>(); _overload = new AstPythonFunctionOverload( AstPythonFunction.MakeParameters(_scope.Ast, _target), _scope.GetLocOfName(_target, _target.NameExpression), _returnTypes ); }