| 38 | (c >= 'A' && c <= 'Z') || c == '_'; |
| 39 | } |
| 40 | std::string GetStr(std::string key) const { |
| 41 | auto type = var_.GetTypeName(key); |
| 42 | if (type != "") { |
| 43 | return var_.GetStr(type, key); |
| 44 | } |
| 45 | fassert(false, "undefined variable '" + key + "'"); |
| 46 | } |
| 47 | std::string ExpandVariables(std::string str) const { |
| 48 | enum class S { |
| 49 | normal, |