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

Function fxSwapNodes

xs/sources/xsSyntaxical.c:694–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

692}
693
694void fxSwapNodes(txParser* parser)
695{
696 txNode* previous = parser->root;
697 txNode* current = previous->next;
698 previous->next = current->next;
699 current->next = previous;
700 parser->root = current;
701}
702
703void fxModule(txParser* parser)
704{

Callers 7

fxExportDeclarationFunction · 0.85
fxStatementFunction · 0.85
fxCallExpressionFunction · 0.85
fxArrowExpressionFunction · 0.85
fxGroupExpressionFunction · 0.85
fxNewExpressionFunction · 0.85
fxJSONModuleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected