| 2891 | } |
| 2892 | |
| 2893 | bool Parser::SetRootType(const char *name) { |
| 2894 | root_struct_def_ = LookupStruct(name); |
| 2895 | if (!root_struct_def_) |
| 2896 | root_struct_def_ = |
| 2897 | LookupStruct(current_namespace_->GetFullyQualifiedName(name)); |
| 2898 | return root_struct_def_ != nullptr; |
| 2899 | } |
| 2900 | |
| 2901 | void Parser::MarkGenerated() { |
| 2902 | // This function marks all existing definitions as having already |
no test coverage detected