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

Function fxSequenceCode

xs/sources/xsre.c:2216–2228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2214}
2215
2216void fxSequenceCode(txPatternParser* parser, void* it, txInteger direction, txInteger sequel)
2217{
2218 txSequence* self = it;
2219 fxPatternParserCheckStack(parser);
2220 if (direction == 1) {
2221 (*self->left->dispatch.code)(parser, self->left, direction, self->right->step);
2222 (*self->right->dispatch.code)(parser, self->right, direction, sequel);
2223 }
2224 else {
2225 (*self->right->dispatch.code)(parser, self->right, direction, self->left->step);
2226 (*self->left->dispatch.code)(parser, self->left, direction, sequel);
2227 }
2228}
2229
2230void fxWordBreakCode(txPatternParser* parser, void* it, txInteger direction, txInteger sequel)
2231{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected