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

Function fxShiftExpression

xs/sources/xsSyntaxical.c:2010–2021  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2008}
2009
2010void fxShiftExpression(txParser* parser)
2011{
2012 fxAdditiveExpression(parser);
2013 while (gxTokenFlags[parser->states[0].token] & XS_TOKEN_SHIFT_EXPRESSION) {
2014 txToken aToken = parser->states[0].token;
2015 txInteger aLine = parser->states[0].line;
2016 fxGetNextToken(parser);
2017 fxAdditiveExpression(parser);
2018 fxCheckArrowFunction(parser, 2);
2019 fxPushNodeStruct(parser, 2, aToken, aLine);
2020 }
2021}
2022
2023void fxAdditiveExpression(txParser* parser)
2024{

Callers 1

fxRelationalExpressionFunction · 0.85

Calls 4

fxAdditiveExpressionFunction · 0.85
fxGetNextTokenFunction · 0.85
fxCheckArrowFunctionFunction · 0.85
fxPushNodeStructFunction · 0.85

Tested by

no test coverage detected