| 443 | throw TypeError("integer literal expected"); |
| 444 | } |
| 445 | inline bool |
| 446 | Node::getBool(void) { |
| 447 | if (BoolLit* a = dynamic_cast<BoolLit*>(this)) |
| 448 | return a->b; |
| 449 | throw TypeError("bool literal expected"); |
| 450 | } |
| 451 | inline double |
| 452 | Node::getFloat(void) { |
| 453 | if (FloatLit* a = dynamic_cast<FloatLit*>(this)) |
no test coverage detected