| 4103 | } |
| 4104 | |
| 4105 | static std::string scopeToString(const Scope* scope, const Tokenizer& tokenizer) |
| 4106 | { |
| 4107 | std::ostringstream oss; |
| 4108 | if (scope) { |
| 4109 | oss << scope->type << " "; |
| 4110 | if (!scope->className.empty()) |
| 4111 | oss << scope->className << " "; |
| 4112 | if (scope->classDef) |
| 4113 | oss << tokenizer.list.fileLine(scope->classDef) << " "; |
| 4114 | } |
| 4115 | oss << scope; |
| 4116 | return oss.str(); |
| 4117 | } |
| 4118 | |
| 4119 | static std::string tokenType(const Token * tok) |
| 4120 | { |
no test coverage detected