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

Function PiuText_endBlock

modules/piu/All/piuText.c:1268–1276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1266}
1267
1268void PiuText_endBlock(xsMachine *the)
1269{
1270 PiuText* self = PIU(Text, xsThis);
1271 if ((*self)->nodeOffset == -1)
1272 xsUnknownError("no block");
1273 PiuTextEndNode(self, piuTextNodeEndBlockKind);
1274 if ((*self)->nodeOffset != -1)
1275 xsUnknownError("block inside block");
1276}
1277
1278void PiuText_endSpan(xsMachine *the)
1279{

Callers

nothing calls this directly

Calls 1

PiuTextEndNodeFunction · 0.85

Tested by

no test coverage detected