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

Method parse

generator/VulkanHppGenerator.cpp:13268–13276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13266 Parser( std::string const & expr ) : expr( expr ), pos( 0 ) {}
13267
13268 std::shared_ptr<Node> parse()
13269 {
13270 auto result = parse_or();
13271 if ( pos != expr.length() )
13272 {
13273 throw std::runtime_error( "Unexpected characters at end of expression" );
13274 }
13275 return result;
13276 }
13277
13278private:
13279 std::string expr;

Callers 2

GLSLtoSPVFunction · 0.80
readExtensionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected