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

Function fxWithStatement

xs/sources/xsSyntaxical.c:1826–1835  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1824}
1825
1826void fxWithStatement(txParser* parser)
1827{
1828 txInteger aLine = parser->states[0].line;
1829 fxMatchToken(parser, XS_TOKEN_WITH);
1830 fxMatchToken(parser, XS_TOKEN_LEFT_PARENTHESIS);
1831 fxCommaExpression(parser);
1832 fxMatchToken(parser, XS_TOKEN_RIGHT_PARENTHESIS);
1833 fxStatement(parser, 0);
1834 fxPushNodeStruct(parser, 2, XS_TOKEN_WITH, aLine);
1835}
1836
1837void fxCommaExpression(txParser* parser)
1838{

Callers 1

fxStatementFunction · 0.85

Calls 4

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

Tested by

no test coverage detected