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

Function fxPostfixExpression

xs/sources/xsSyntaxical.c:2120–2130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2118}
2119
2120void fxPostfixExpression(txParser* parser)
2121{
2122 fxCallExpression(parser);
2123 if ((!parser->states[0].crlf) && (gxTokenFlags[parser->states[0].token] & XS_TOKEN_POSTFIX_EXPRESSION)) {
2124 fxCheckArrowFunction(parser, 1);
2125 if (!fxCheckReference(parser, parser->states[0].token))
2126 fxReportParserError(parser, parser->states[0].line, "no reference");
2127 fxPushNodeStruct(parser, 1, parser->states[0].token, parser->states[0].line);
2128 fxGetNextToken(parser);
2129 }
2130}
2131
2132void fxCallExpression(txParser* parser)
2133{

Callers 1

fxPrefixExpressionFunction · 0.85

Calls 6

fxCallExpressionFunction · 0.85
fxCheckArrowFunctionFunction · 0.85
fxCheckReferenceFunction · 0.85
fxReportParserErrorFunction · 0.85
fxPushNodeStructFunction · 0.85
fxGetNextTokenFunction · 0.85

Tested by

no test coverage detected