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

Function fxDisjunctionCode

xs/sources/xsre.c:2133–2143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2131}
2132
2133void fxDisjunctionCode(txPatternParser* parser, void* it, txInteger direction, txInteger sequel)
2134{
2135 txDisjunction* self = it;
2136 txInteger* buffer = (txInteger*)(((txByte*)*(parser->code)) + self->step);
2137 *buffer++ = cxDisjunctionStep;
2138 *buffer++ = self->left->step;
2139 *buffer++ = self->right->step;
2140 fxPatternParserCheckStack(parser);
2141 (*self->left->dispatch.code)(parser, self->left, direction, sequel);
2142 (*self->right->dispatch.code)(parser, self->right, direction, sequel);
2143}
2144
2145void fxEmptyCode(txPatternParser* parser, void* it, txInteger direction, txInteger sequel)
2146{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected