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

Function PeekTokens

libraries/lib-wx-init/Journal.cpp:132–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132wxArrayStringEx PeekTokens()
133{
134 wxArrayStringEx tokens;
135 if ( Journal::IsReplaying() )
136 for ( ; !sFileIn.Eof(); NextIn() ) {
137 if ( sLine.StartsWith( CommentCharacter ) )
138 continue;
139
140 tokens = wxSplit( sLine, SeparatorCharacter, EscapeCharacter );
141 if ( tokens.empty() )
142 // Ignore blank lines
143 continue;
144
145 break;
146 }
147 return tokens;
148}
149
150constexpr auto VersionToken = wxT("Version");
151

Callers 3

BeginFunction · 0.85
GetTokensFunction · 0.85
GetExitCodeFunction · 0.85

Calls 4

IsReplayingFunction · 0.85
NextInFunction · 0.85
EofMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected