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

Function fxBlock

xs/sources/xsSyntaxical.c:1227–1235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1225}
1226
1227void fxBlock(txParser* parser)
1228{
1229 txInteger aLine = parser->states[0].line;
1230 fxCheckParserStack(parser, aLine);
1231 fxMatchToken(parser, XS_TOKEN_LEFT_BRACE);
1232 fxStatements(parser);
1233 fxMatchToken(parser, XS_TOKEN_RIGHT_BRACE);
1234 fxPushNodeStruct(parser, 1, XS_TOKEN_BLOCK, aLine);
1235}
1236
1237void fxStatements(txParser* parser)
1238{

Callers 2

fxStatementFunction · 0.85
fxTryStatementFunction · 0.85

Calls 4

fxCheckParserStackFunction · 0.85
fxMatchTokenFunction · 0.85
fxStatementsFunction · 0.85
fxPushNodeStructFunction · 0.85

Tested by

no test coverage detected