MCPcopy Create free account
hub / github.com/audacity/audacity / ParseFileExtensions

Method ParseFileExtensions

libraries/lib-nyquist-effects/NyquistBase.cpp:1789–1801  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1787}
1788
1789FileExtensions NyquistBase::ParseFileExtensions(const wxString& text)
1790{
1791 // todo: error handling
1792 FileExtensions results;
1793 if (text[0] == wxT('('))
1794 {
1795 Tokenizer tzer;
1796 tzer.Tokenize(text, true, 1, 1);
1797 for (const auto& token : tzer.tokens)
1798 results.push_back(UnQuote(token));
1799 }
1800 return results;
1801}
1802
1803FileNames::FileType NyquistBase::ParseFileType(const wxString& text)
1804{

Callers

nothing calls this directly

Calls 2

TokenizeMethod · 0.80
push_backMethod · 0.45

Tested by

no test coverage detected