| 832 | } |
| 833 | |
| 834 | void fxProgramNodeHoist(void* it, void* param) |
| 835 | { |
| 836 | txProgramNode* self = it; |
| 837 | txHoister* hoister = param; |
| 838 | hoister->functionScope = hoister->bodyScope = self->scope = fxScopeNew(param, it, (hoister->parser->flags & mxEvalFlag) ? XS_TOKEN_EVAL : XS_TOKEN_PROGRAM); |
| 839 | hoister->environmentNode = it; |
| 840 | fxNodeDispatchHoist(self->body, param); |
| 841 | hoister->environmentNode = C_NULL; |
| 842 | self->variableCount = hoister->functionScope->declareNodeCount; |
| 843 | fxScopeHoisted(self->scope, param); |
| 844 | } |
| 845 | |
| 846 | void fxStatementNodeHoist(void* it, void* param) |
| 847 | { |
nothing calls this directly
no test coverage detected