MCPcopy Create free account
hub / github.com/WheretIB/nullc / ParsePostExpressions

Function ParsePostExpressions

NULLC/Parser.cpp:1904–1912  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1902}
1903
1904void ParsePostExpressions(Lexeme** str)
1905{
1906 bool lastIsFunctionCall = false;
1907 bool hadPost = false;
1908 while(ParsePostExpression(str, &lastIsFunctionCall))
1909 hadPost = true;
1910 if(hadPost && !lastIsFunctionCall && !((*str)->type >= lex_set && (*str)->type <= lex_xorset))
1911 AddGetVariableNode((*str)->pos);
1912}
1913
1914void ParseCustomConstructor(Lexeme** str, TypeInfo* resultType, NodeZeroOP* getPointer)
1915{

Callers 1

ParseTerminalFunction · 0.85

Calls 2

ParsePostExpressionFunction · 0.85
AddGetVariableNodeFunction · 0.85

Tested by

no test coverage detected