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

Function PiuText_endSpan

modules/piu/All/piuText.c:1278–1286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1276}
1277
1278void PiuText_endSpan(xsMachine *the)
1279{
1280 PiuText* self = PIU(Text, xsThis);
1281 if ((*self)->nodeOffset == -1)
1282 xsUnknownError("no span");
1283 PiuTextEndNode(self, piuTextNodeEndSpanKind);
1284 if ((*self)->nodeOffset == -1)
1285 xsUnknownError("span outside block");
1286}
1287
1288
1289

Callers

nothing calls this directly

Calls 1

PiuTextEndNodeFunction · 0.85

Tested by

no test coverage detected