GetArgument() protected method

protected GetArgument ( int index ) : Expression
index int
return Boo.Lang.Compiler.Ast.Expression
            public int Score(int argumentIndex)
            {
                _scores[argumentIndex] = _crs.CalculateArgumentScore(
                    Parameters[argumentIndex],
                    Parameters[argumentIndex].Type,
                    _crs.GetArgument(argumentIndex));

                return(_scores[argumentIndex]);
            }
Example #2
0
            public int Score(int argumentIndex)
            {
                var score = _crs.CalculateArgumentScore(
                    Parameters[argumentIndex],
                    Parameters[argumentIndex].Type,
                    _crs.GetArgument(argumentIndex));

                _scores[argumentIndex] = score;
                return(score);
            }