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

Function fxStatements

xs/sources/xsSyntaxical.c:1237–1247  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1235}
1236
1237void fxStatements(txParser* parser)
1238{
1239 txInteger count = parser->nodeCount;
1240 txInteger line = parser->states[0].line;
1241 while ((parser->states[0].token != XS_TOKEN_EOF) && (parser->states[0].token != XS_TOKEN_RIGHT_BRACE)) {
1242 fxStatement(parser, 1);
1243 }
1244 count = parser->nodeCount - count;
1245 fxPushNodeList(parser, count);
1246 fxPushNodeStruct(parser, 1, XS_TOKEN_STATEMENTS, line);
1247}
1248
1249void fxStatement(txParser* parser, txInteger blockIt)
1250{

Callers 3

fxBlockFunction · 0.85
fxTryStatementFunction · 0.85
fxClassExpressionFunction · 0.85

Calls 3

fxStatementFunction · 0.85
fxPushNodeListFunction · 0.85
fxPushNodeStructFunction · 0.85

Tested by

no test coverage detected