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

Function fxIncludeTree

xs/sources/xsTree.c:128–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126#endif
127
128void fxIncludeTree(txParser* parser, void* stream, txGetter getter, txUnsigned flags, txString path)
129{
130 txParserJump jump;
131 txSymbol* symbol = parser->path;
132 jump.nextJump = parser->firstJump;
133 parser->firstJump = &jump;
134 if (c_setjmp(jump.jmp_buf) == 0) {
135 parser->path = fxNewParserSymbol(parser, path);
136 fxParserTree(parser, stream, getter, flags, C_NULL);
137 }
138 parser->firstJump = jump.nextJump;
139 parser->path = symbol;
140}
141
142void fxCheckFunction(txParser* parser)
143{

Callers

nothing calls this directly

Calls 2

fxNewParserSymbolFunction · 0.85
fxParserTreeFunction · 0.85

Tested by

no test coverage detected