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

Method getSetVar

gecode/flatzinc/ast.hh:433–438  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431 throw TypeError("integer variable expected");
432 }
433 inline int
434 Node::getSetVar(void) {
435 if (SetVar* a = dynamic_cast<SetVar*>(this))
436 return a->i;
437 throw TypeError("set variable expected");
438 }
439 inline int
440 Node::getInt(void) {
441 if (IntLit* a = dynamic_cast<IntLit*>(this))

Callers 5

yyparseFunction · 0.80
createBranchersMethod · 0.80
arg2SetVarMethod · 0.80
printElemMethod · 0.80
printElemDiffMethod · 0.80

Calls 1

TypeErrorFunction · 0.85

Tested by

no test coverage detected