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

Function fxScopeGetDeclareNode

xs/sources/xsScope.c:264–273  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264txDeclareNode* fxScopeGetDeclareNode(txScope* self, txSymbol* symbol)
265{
266 txDeclareNode* node = self->firstDeclareNode;
267 while (node) {
268 if (node->symbol == symbol)
269 return node;
270 node = node->nextDeclareNode;
271 }
272 return NULL;
273}
274
275void fxScopeHoisted(txScope* self, txHoister* hoister)
276{

Callers 8

fxScopeLookupFunction · 0.85
fxCatchNodeHoistFunction · 0.85
fxClassNodeHoistFunction · 0.85
fxDeclareNodeHoistFunction · 0.85
fxDefineNodeHoistFunction · 0.85
fxHostNodeHoistFunction · 0.85
fxImportNodeHoistFunction · 0.85
fxParamsBindingNodeBindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected