| 461 | throw TypeError("set literal expected"); |
| 462 | } |
| 463 | inline std::string |
| 464 | Node::getString(void) { |
| 465 | if (String* a = dynamic_cast<String*>(this)) |
| 466 | return a->s; |
| 467 | throw TypeError("string literal expected"); |
| 468 | } |
| 469 | inline bool |
| 470 | Node::isIntVar(void) { |
| 471 | return (dynamic_cast<IntVar*>(this) != nullptr); |
no test coverage detected