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

Function par_multiply

src/gpre/exp.cpp:1281–1297  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1279//
1280
1281static gpre_nod* par_multiply( gpre_req* request, gpre_fld* field)
1282{
1283 gpre_nod* node = par_primitive_value(request, field);
1284
1285 while (true)
1286 {
1287 nod_t nod_type;
1288 if (MSC_match(KW_ASTERISK))
1289 nod_type = nod_times;
1290 else if (MSC_match(KW_SLASH))
1291 nod_type = nod_divide;
1292 else
1293 return node;
1294
1295 node = MSC_binary(nod_type, node, par_primitive_value(request, field));
1296 }
1297}
1298
1299
1300//____________________________________________________________

Callers 1

par_valueFunction · 0.70

Calls 3

MSC_matchFunction · 0.85
MSC_binaryFunction · 0.85
par_primitive_valueFunction · 0.70

Tested by

no test coverage detected