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

Function fxWhileStatement

xs/sources/xsSyntaxical.c:1813–1824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1811}
1812
1813void fxWhileStatement(txParser* parser)
1814{
1815 txInteger aLine = parser->states[0].line;
1816 fxPushNULL(parser);
1817 fxMatchToken(parser, XS_TOKEN_WHILE);
1818 fxMatchToken(parser, XS_TOKEN_LEFT_PARENTHESIS);
1819 fxCommaExpression(parser);
1820 fxMatchToken(parser, XS_TOKEN_RIGHT_PARENTHESIS);
1821 fxStatement(parser, 0);
1822 fxPushNodeStruct(parser, 2, XS_TOKEN_WHILE, aLine);
1823 fxPushNodeStruct(parser, 2, XS_TOKEN_LABEL, aLine);
1824}
1825
1826void fxWithStatement(txParser* parser)
1827{

Callers 1

fxStatementFunction · 0.85

Calls 5

fxPushNULLFunction · 0.85
fxMatchTokenFunction · 0.85
fxCommaExpressionFunction · 0.85
fxStatementFunction · 0.85
fxPushNodeStructFunction · 0.85

Tested by

no test coverage detected