public Expression getExpectedParam ( int index ) { if ( parameters . size ( ) <= index ) { throw new IllegalArgumentException ( "Parameter index out of bounds: " + index + ". Function call: " + this ) ; } return parameters . get ( index ) ; }
Returns the parameter at the expected index .