| 131 | } |
| 132 | |
| 133 | static void updatePatternsState( SyntaxDefinition& def, std::vector<SyntaxPattern>& ptrns ) { |
| 134 | for ( auto& ptrn : ptrns ) { |
| 135 | updatePatternState( def, ptrn ); |
| 136 | |
| 137 | for ( auto& subPattern : ptrn.contentPatterns ) |
| 138 | updatePatternState( def, subPattern ); |
| 139 | } |
| 140 | } |
| 141 | |
| 142 | static void updateRepoIndexState( SyntaxDefinition& def, std::vector<SyntaxPattern>& ptrns ) { |
| 143 | for ( auto& ptrn : ptrns ) |
no test coverage detected