MCPcopy Create free account
hub / github.com/Gecode/gecode / isInt

Method isInt

gecode/flatzinc/ast.hh:363–370  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

361 }
362
363 inline bool
364 Node::isInt(int& i) {
365 if (IntLit* il = dynamic_cast<IntLit*>(this)) {
366 i = il->i;
367 return true;
368 }
369 return false;
370 }
371
372 inline bool
373 Node::isFloat(double& d) {

Callers 7

yyparseFunction · 0.80
createBranchersMethod · 0.80
printElemMethod · 0.80
printElemDiffMethod · 0.80
p_array_int_elementFunction · 0.80
p_array_int_element2dFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected