MCPcopy Create free account
hub / github.com/SpartanJ/eepp / updateRepoIndexState

Function updateRepoIndexState

src/eepp/ui/doc/syntaxdefinition.cpp:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142static void updateRepoIndexState( SyntaxDefinition& def, std::vector<SyntaxPattern>& ptrns ) {
143 for ( auto& ptrn : ptrns )
144 if ( ptrn.isRepositoryInclude() )
145 ptrn.repositoryIdx = def.getRepositoryIndex( ptrn.getRepositoryName() );
146}
147
148SyntaxDefinition::SyntaxDefinition() {}
149

Callers 2

compileMethod · 0.85

Calls 2

getRepositoryIndexMethod · 0.80
getRepositoryNameMethod · 0.80

Tested by

no test coverage detected