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

Function fxPushRawNode

xs/sources/xsSyntaxical.c:663–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663void fxPushRawNode(txParser* parser, txInteger length, txString value, txInteger line)
664{
665 txStringNode* node = fxNewParserChunk(parser, sizeof(txStringNode));
666 node->description = &gxTokenDescriptions[XS_TOKEN_STRING];
667 node->path = parser->path;
668 node->line = line;
669 node->flags = 0;
670 node->length = length;
671 node->value = value;
672 fxPushNode(parser, (txNode*)node);
673}
674
675void fxPushStringNode(txParser* parser, txInteger length, txString value, txInteger line)
676{

Callers 4

fxCallExpressionFunction · 0.85
fxLiteralExpressionFunction · 0.85
fxNewExpressionFunction · 0.85
fxTemplateExpressionFunction · 0.85

Calls 2

fxNewParserChunkFunction · 0.85
fxPushNodeFunction · 0.85

Tested by

no test coverage detected