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

Function par_nullif

src/gpre/sqe.cpp:2253–2266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2251// we generate a nod_case1 node.
2252
2253static gpre_nod* par_nullif(gpre_req* request)
2254{
2255 gpre_nod* node = MSC_node(nod_case1, 4);
2256 EXP_left_paren(0);
2257 node->nod_arg[0] = SQE_value(request, false, NULL, NULL);
2258 if (! MSC_match(KW_COMMA))
2259 CPR_s_error("comma");
2260 node->nod_arg[1] = SQE_value(request, false, NULL, NULL);
2261 node->nod_arg[2] = MSC_node(nod_null, 0);
2262 node->nod_arg[3] = node->nod_arg[0];
2263 USHORT local_count = 1;
2264 par_terminating_parens(&local_count, &local_count);
2265 return node;
2266}
2267
2268//____________________________________________________________
2269//

Callers 1

par_udfFunction · 0.85

Calls 6

MSC_nodeFunction · 0.85
EXP_left_parenFunction · 0.85
SQE_valueFunction · 0.85
MSC_matchFunction · 0.85
CPR_s_errorFunction · 0.85
par_terminating_parensFunction · 0.85

Tested by

no test coverage detected