MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / parseUnaryExpr

Method parseUnaryExpr

extern/cloop/src/cloop/Parser.cpp:405–416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

403}
404
405Expr* Parser::parseUnaryExpr()
406{
407 lexer->getToken(token);
408
409 if (token.type == TOKEN('-'))
410 return new NegateExpr(parsePrimaryExpr());
411 else
412 {
413 lexer->pushToken(token);
414 return parsePrimaryExpr();
415 }
416}
417
418Expr* Parser::parsePrimaryExpr()
419{

Callers

nothing calls this directly

Calls 1

pushTokenMethod · 0.80

Tested by

no test coverage detected