(FunctionScope scope, VariableValues capturedValues, LexicalEnvironment lexicalEnvironment,
GlobalContext globalContext)
| 36 | private IRJSFunctionBox box = new IRJSFunctionBox(); |
| 37 | |
| 38 | public IRJSFunction(FunctionScope scope, VariableValues capturedValues, LexicalEnvironment lexicalEnvironment, |
| 39 | GlobalContext globalContext) { |
| 40 | super(globalContext); |
| 41 | this.scope = scope; |
| 42 | this.instructions = scope.prepareForInterpret(); // FIXME This is a big up front cost...make lazy |
| 43 | this.lexicalEnvironment = lexicalEnvironment; |
| 44 | this.capturedValues = capturedValues; |
| 45 | } |
| 46 | |
| 47 | public String[] getFormalParameters() { |
| 48 | return scope.getParameterNames(); |
nothing calls this directly
no test coverage detected