Evaluate the types. Note that type resolution does not require the interpreter instance.
( CallStack callstack, Interpreter interpreter )
| 85 | Note that type resolution does not require the interpreter instance. |
| 86 | */ |
| 87 | public Object eval( CallStack callstack, Interpreter interpreter ) |
| 88 | throws EvalError |
| 89 | { |
| 90 | if ( paramTypes != null ) |
| 91 | return paramTypes; |
| 92 | |
| 93 | insureParsed(); |
| 94 | Class [] paramTypes = new Class[numArgs]; |
| 95 | |
| 96 | for(int i=0; i<numArgs; i++) |
| 97 | { |
| 98 | BSHFormalParameter param = (BSHFormalParameter)jjtGetChild(i); |
| 99 | paramTypes[i] = (Class)param.eval( callstack, interpreter ); |
| 100 | } |
| 101 | |
| 102 | this.paramTypes = paramTypes; |
| 103 | |
| 104 | return paramTypes; |
| 105 | } |
| 106 | } |
| 107 |
nothing calls this directly
no test coverage detected