| 369 | } |
| 370 | |
| 371 | bool gsoner::check_namespace(void) |
| 372 | { |
| 373 | std::string temp = codes_.substr(pos_, strlen("namespace")); |
| 374 | if (temp == "namespace") { |
| 375 | pos_ += (int) strlen("namespace"); |
| 376 | std::string name = next_token(default_delimiters_+"{"); |
| 377 | namespaces_.push_back(name); |
| 378 | pos_++; //skip { |
| 379 | return true; |
| 380 | } |
| 381 | |
| 382 | return false; |
| 383 | } |
| 384 | |
| 385 | bool gsoner::check_namespace_end(void) |
| 386 | { |
nothing calls this directly
no test coverage detected