| 528 | } |
| 529 | |
| 530 | Uint32 SyntaxDefinition::getRepositoryIndex( String::HashType hash ) const { |
| 531 | auto it = mRepositoryIndex.find( hash ); |
| 532 | return it != mRepositoryIndex.end() ? it->second : 0; |
| 533 | } |
| 534 | |
| 535 | Uint32 SyntaxDefinition::getRepositoryIndex( std::string_view name ) const { |
| 536 | return getRepositoryIndex( String::hash( name ) ); |
no test coverage detected