| 419 | throw TypeError("integer variable expected"); |
| 420 | } |
| 421 | inline int |
| 422 | Node::getBoolVar(void) { |
| 423 | if (BoolVar* a = dynamic_cast<BoolVar*>(this)) |
| 424 | return a->i; |
| 425 | throw TypeError("bool variable expected"); |
| 426 | } |
| 427 | inline int |
| 428 | Node::getFloatVar(void) { |
| 429 | if (FloatVar* a = dynamic_cast<FloatVar*>(this)) |
no test coverage detected