| 1797 | } |
| 1798 | |
| 1799 | bool 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 | |
| 1814 | bool PipelineParser::parse_node_string_in_next(const std::string& raw, NodeAttr& output) |
| 1815 | { |
nothing calls this directly
no outgoing calls
no test coverage detected