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

Function fxSequenceMeasure

xs/sources/xsre.c:2009–2024  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2007}
2008
2009void fxSequenceMeasure(txPatternParser* parser, void* it, txInteger direction)
2010{
2011 txSequence* self = it;
2012 fxPatternParserCheckStack(parser);
2013 if (direction == 1) {
2014 (*self->left->dispatch.measure)(parser, self->left, direction);
2015 self->step = self->left->step;
2016 (*self->right->dispatch.measure)(parser, self->right, direction);
2017 }
2018 else {
2019 (*self->right->dispatch.measure)(parser, self->right, direction);
2020 self->step = self->right->step;
2021 (*self->left->dispatch.measure)(parser, self->left, direction);
2022 }
2023 self->dispatch.code = fxSequenceCode;
2024}
2025
2026void fxWordBreakMeasure(txPatternParser* parser, void* it, txInteger direction)
2027{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected