GetArgument() protected method

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

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

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