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

Function fxDeclareNodeNew

xs/sources/xsTree.c:270–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

268}
269
270txDeclareNode* fxDeclareNodeNew(txParser* parser, txToken token, txSymbol* symbol)
271{
272 txDeclareNode* node = fxNewParserChunkClear(parser, sizeof(txDeclareNode));
273 node->description = &gxTokenDescriptions[token];
274 node->symbol = symbol;
275 return node;
276}
277
278txDefineNode* fxDefineNodeNew(txParser* parser, txToken token, txSymbol* symbol)
279{

Callers 7

fxScopeAddDeclareNodeFunction · 0.85
fxScopeLookupFunction · 0.85
fxClassNodeHoistFunction · 0.85
fxDeclareNodeHoistFunction · 0.85
fxExportNodeHoistFunction · 0.85
fxFunctionNodeHoistFunction · 0.85
fxImportNodeHoistFunction · 0.85

Calls 1

fxNewParserChunkClearFunction · 0.85

Tested by

no test coverage detected