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

Function fxParserHoist

xs/sources/xsScope.c:100–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100void fxParserHoist(txParser* parser)
101{
102 txHoister hoister;
103 c_memset(&hoister, 0, sizeof(txHoister));
104 hoister.parser = parser;
105 if (parser->errorCount == 0) {
106 mxTryParser(parser) {
107 fxNodeDispatchHoist(parser->root, &hoister);
108 }
109 mxCatchParser(parser) {
110 }
111 }
112}
113
114void fxHoisterAddExportLink(txHoister* self, txSpecifierNode* specifier)
115{

Callers 10

_xsbug_module_Function · 0.85
_xsbug_script_Function · 0.85
PiuDebugBehavior_compileFunction · 0.85
mainFunction · 0.85
fxLoadScriptFunction · 0.85
fxParseScriptFunction · 0.85
fxParseScriptFunction · 0.85
fxParseScriptFunction · 0.85
fxParseScriptFunction · 0.85

Calls 1

fxNodeDispatchHoistFunction · 0.85

Tested by

no test coverage detected