MCPcopy Create free account
hub / github.com/Squirrel/Squirrel.Windows / build_hook_impl

Function build_hook_impl

src/StubExecutable/Semver200_parser.cpp:124–131  ·  view source on GitHub ↗

Validate every individual build identifier and add it to collection.

Source from the content-addressed store, hash-verified

122
123 /// Validate every individual build identifier and add it to collection.
124 void build_hook_impl(string& id, Parser_state& pstate, Build_identifiers& build,
125 std::string& prerelease_id, Prerelease_identifiers& prerelease) {
126 // process last token left from parsing prerelease data
127 if (pstate == Parser_state::prerelease) prerelease_hook_impl(prerelease_id, prerelease);
128 if (id.empty()) throw Parse_error("version identifier cannot be empty");
129 build.push_back(id);
130 id.clear();
131 }
132
133 }
134

Callers 1

parseMethod · 0.85

Calls 2

prerelease_hook_implFunction · 0.85
Parse_errorClass · 0.85

Tested by

no test coverage detected