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

Function fxPushNumberNode

xs/sources/xsSyntaxical.c:652–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650}
651
652void fxPushNumberNode(txParser* parser, txNumber value, txInteger line)
653{
654 txNumberNode* node = fxNewParserChunk(parser, sizeof(txNumberNode));
655 node->description = &gxTokenDescriptions[XS_TOKEN_NUMBER];
656 node->path = parser->path;
657 node->line = line;
658 node->flags = 0;
659 node->value = value;
660 fxPushNode(parser, (txNode*)node);
661}
662
663void fxPushRawNode(txParser* parser, txInteger length, txString value, txInteger line)
664{

Callers 3

fxPushIndexNodeFunction · 0.85
fxLiteralExpressionFunction · 0.85
fxJSONValueFunction · 0.85

Calls 2

fxNewParserChunkFunction · 0.85
fxPushNodeFunction · 0.85

Tested by

no test coverage detected