| 418 | } |
| 419 | |
| 420 | void fxCallNodeHoist(void* it, void* param) |
| 421 | { |
| 422 | txCallNewNode* self = it; |
| 423 | txHoister* hoister = param; |
| 424 | txParser* parser = hoister->parser; |
| 425 | if (self->reference->description->token == XS_TOKEN_ACCESS) { |
| 426 | txAccessNode* access = (txAccessNode*)self->reference; |
| 427 | if (access->symbol == parser->evalSymbol) { |
| 428 | fxScopeEval(hoister->scope); |
| 429 | hoister->functionScope->node->flags |= mxArgumentsFlag | mxEvalFlag; |
| 430 | hoister->environmentNode->flags |= mxEvalFlag; |
| 431 | self->params->flags |= mxEvalParametersFlag; |
| 432 | } |
| 433 | } |
| 434 | fxNodeDispatchHoist(self->reference, param); |
| 435 | fxNodeDispatchHoist(self->params, param); |
| 436 | } |
| 437 | |
| 438 | void fxCatchNodeHoist(void* it, void* param) |
| 439 | { |
nothing calls this directly
no test coverage detected