| 437 | throw TypeError("set variable expected"); |
| 438 | } |
| 439 | inline int |
| 440 | Node::getInt(void) { |
| 441 | if (IntLit* a = dynamic_cast<IntLit*>(this)) |
| 442 | return a->i; |
| 443 | throw TypeError("integer literal expected"); |
| 444 | } |
| 445 | inline bool |
| 446 | Node::getBool(void) { |
| 447 | if (BoolLit* a = dynamic_cast<BoolLit*>(this)) |
no test coverage detected