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

Method getLanguageNameForFileSystem

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

Source from the content-addressed store, hash-verified

385}
386
387std::string SyntaxDefinition::getLanguageNameForFileSystem() const {
388 std::string lang( mLanguageName );
389 String::replaceAll( lang, " ", "" );
390 String::replaceAll( lang, ".", "" );
391 String::replaceAll( lang, "!", "" );
392 String::replaceAll( lang, "[", "" );
393 String::replaceAll( lang, "]", "" );
394 String::replaceAll( lang, "+", "p" );
395 String::replaceAll( lang, "#", "sharp" );
396 String::toLowerInPlace( lang );
397 return lang;
398}
399
400SyntaxPattern::SyntaxPattern( std::vector<std::string>&& _patterns, const std::string& _type,
401 const std::string& _syntax, SyntaxPatternMatchType matchType ) :

Callers 3

mainFunction · 0.80
toCPPMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected