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

Method parse_node_in_next

source/MaaFramework/Resource/PipelineParser.cpp:1799–1812  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1797}
1798
1799bool PipelineParser::parse_node_in_next(const json::value& input, NodeAttr& output)
1800{
1801 if (input.is_string()) {
1802 return parse_node_string_in_next(input.as_string(), output);
1803 }
1804 else if (input.is<NodeAttr>()) {
1805 output = input.as<NodeAttr>();
1806 return true;
1807 }
1808 else {
1809 LogError << "next node type error" << VAR(input);
1810 return false;
1811 }
1812}
1813
1814bool PipelineParser::parse_node_string_in_next(const std::string& raw, NodeAttr& output)
1815{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected