MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxCoderAdjustEnvironment

Function fxCoderAdjustEnvironment

xs/sources/xsCode.c:1186–1193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1184}
1185
1186void fxCoderAdjustEnvironment(txCoder* self, txTargetCode* target)
1187{
1188 txInteger count = self->environmentLevel - target->environmentLevel;
1189 while (count) {
1190 fxCoderAddByte(self, 0, XS_CODE_WITHOUT);
1191 count--;
1192 }
1193}
1194
1195void fxCoderAdjustScope(txCoder* self, txTargetCode* target)
1196{

Callers 6

fxCoderJumpTargetsFunction · 0.85
fxAwaitNodeCodeFunction · 0.85
fxBreakContinueNodeCodeFunction · 0.85
fxDelegateNodeCodeFunction · 0.85
fxReturnNodeCodeFunction · 0.85
fxYieldNodeCodeFunction · 0.85

Calls 1

fxCoderAddByteFunction · 0.85

Tested by

no test coverage detected