| 978 | */ |
| 979 | |
| 980 | DecTableItem* NewTableItem(std::string value, int index, std::string key) { |
| 981 | auto self = new DecTableItem(); |
| 982 | self->super.prev = nullptr; |
| 983 | self->super.next = nullptr; |
| 984 | self->value = value; |
| 985 | self->index = index; |
| 986 | self->key = std::string(key); |
| 987 | return self; |
| 988 | } |
| 989 | |
| 990 | static char string_last_char(std::string const &str) |
| 991 | { |