MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Hpp / match

Method match

generator/VulkanHppGenerator.cpp:13332–13342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13330 }
13331
13332 bool match( std::string const & token )
13333 {
13334 skip_whitespace();
13335 if ( expr.substr( pos, token.length() ) == token )
13336 {
13337 pos += token.length();
13338 skip_whitespace();
13339 return true;
13340 }
13341 return false;
13342 }
13343
13344 void skip_whitespace()
13345 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected