MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / parse_next

Method parse_next

source/MaaFramework/Resource/PipelineParser.cpp:1599–1612  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1597}
1598
1599bool PipelineParser::parse_next(
1600 const json::value& input,
1601 const std::string& key,
1602 std::vector<NodeAttr>& output,
1603 const std::vector<NodeAttr>& default_next)
1604{
1605 auto next_opt = input.find(key);
1606 if (!next_opt) {
1607 output = default_next;
1608 return true;
1609 }
1610
1611 return parse_next(*next_opt, output);
1612}
1613
1614bool PipelineParser::parse_next(const json::value& input, std::vector<NodeAttr>& output)
1615{

Callers

nothing calls this directly

Calls 3

moveFunction · 0.85
findMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected