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

Function fxOrExpression

xs/sources/xsSyntaxical.c:1909–1919  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1907}
1908
1909void fxOrExpression(txParser* parser)
1910{
1911 fxAndExpression(parser);
1912 while (parser->states[0].token == XS_TOKEN_OR) {
1913 txInteger aLine = parser->states[0].line;
1914 fxGetNextToken(parser);
1915 fxAndExpression(parser);
1916 fxCheckArrowFunction(parser, 2);
1917 fxPushNodeStruct(parser, 2, XS_TOKEN_OR, aLine);
1918 }
1919}
1920
1921void fxAndExpression(txParser* parser)
1922{

Callers 1

fxCoalesceExpressionFunction · 0.85

Calls 4

fxAndExpressionFunction · 0.85
fxGetNextTokenFunction · 0.85
fxCheckArrowFunctionFunction · 0.85
fxPushNodeStructFunction · 0.85

Tested by

no test coverage detected