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

Function getArgs

gecode/flatzinc/ast.hh:265–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263 os << id << "("; args->print(os); os << ")";
264 }
265 Array* getArgs(unsigned int n) {
266 Array *a = args->getArray();
267 if (a->a.size() != n)
268 throw TypeError("arity mismatch");
269 return a;
270 }
271 };
272
273 /// %Node representing an array access

Callers

nothing calls this directly

Calls 3

TypeErrorFunction · 0.85
getArrayMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected