MCPcopy Create free account
hub / github.com/YACReader/yacreader / orExpression

Method orExpression

YACReaderLibrary/db/query_parser.cpp:256–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

254}
255
256QueryParser::TreeNode QueryParser::orExpression()
257{
258 auto lhs = andExpression();
259 if (lcaseToken() == "or") {
260 advance();
261 return TreeNode("or", { lhs, orExpression() });
262 }
263 return lhs;
264}
265
266QueryParser::TreeNode QueryParser::andExpression()
267{

Callers

nothing calls this directly

Calls 1

TreeNodeClass · 0.85

Tested by

no test coverage detected