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

Function fxMultiplicativeExpression

xs/sources/xsSyntaxical.c:2036–2047  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2034}
2035
2036void fxMultiplicativeExpression(txParser* parser)
2037{
2038 fxExponentiationExpression(parser);
2039 while (gxTokenFlags[parser->states[0].token] & XS_TOKEN_MULTIPLICATIVE_EXPRESSION) {
2040 txToken aToken = parser->states[0].token;
2041 txInteger aLine = parser->states[0].line;
2042 fxGetNextToken(parser);
2043 fxExponentiationExpression(parser);
2044 fxCheckArrowFunction(parser, 2);
2045 fxPushNodeStruct(parser, 2, aToken, aLine);
2046 }
2047}
2048
2049void fxExponentiationExpression(txParser* parser)
2050{

Callers 1

fxAdditiveExpressionFunction · 0.85

Calls 4

fxGetNextTokenFunction · 0.85
fxCheckArrowFunctionFunction · 0.85
fxPushNodeStructFunction · 0.85

Tested by

no test coverage detected