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

Function fxPushIntegerNode

xs/sources/xsSyntaxical.c:583–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

581}
582
583void fxPushIntegerNode(txParser* parser, txInteger value, txInteger line)
584{
585 txIntegerNode* node = fxNewParserChunk(parser, sizeof(txIntegerNode));
586 node->description = &gxTokenDescriptions[XS_TOKEN_INTEGER];
587 node->path = parser->path;
588 node->line = line;
589 node->flags = 0;
590 node->value = value;
591 fxPushNode(parser, (txNode*)node);
592}
593
594void fxPushNodeStruct(txParser* parser, txInteger count, txToken token, txInteger line)
595{

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