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

Function fxCoderAddVariable

xs/sources/xsCode.c:1177–1184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1175}
1176
1177void fxCoderAddVariable(txCoder* self, txInteger delta, txInteger id, txSymbol* symbol, txInteger index)
1178{
1179 txVariableCode* code = fxNewParserChunkClear(self->parser, sizeof(txVariableCode));
1180 fxCoderAdd(self, delta, code);
1181 code->id = id;
1182 code->symbol = symbol;
1183 code->index = index;
1184}
1185
1186void fxCoderAdjustEnvironment(txCoder* self, txTargetCode* target)
1187{

Callers 5

fxScopeCodingBlockFunction · 0.85
fxScopeCodingBodyFunction · 0.85
fxScopeCodingEvalFunction · 0.85
fxScopeCodingParamsFunction · 0.85
fxScopeCodingProgramFunction · 0.85

Calls 2

fxNewParserChunkClearFunction · 0.85
fxCoderAddFunction · 0.85

Tested by

no test coverage detected