MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / parseString

Method parseString

app/src/DataModel/Scripting/CFrameParser.cpp:218–226  ·  view source on GitHub ↗

* @brief Runs the configured template over a text frame. */

Source from the content-addressed store, hash-verified

216 * @brief Runs the configured template over a text frame.
217 */
218QList<QStringList> DataModel::CFrameParser::parseString(const QString& frame)
219{
220 Q_ASSERT(!frame.isEmpty());
221
222 if (!m_parser) [[unlikely]]
223 return {};
224
225 return m_parser->parseText(frame);
226}
227
228/**
229 * @brief Runs the configured template over a UTF-8 text frame without a QString round-trip.

Callers 5

transformDryRunMethod · 0.45
applyTransformForDryRunFunction · 0.45
endToEndDryRunMethod · 0.45
decodeAndParseFrameMethod · 0.45
parseMultiFrameMethod · 0.45

Calls 2

isEmptyMethod · 0.80
parseTextMethod · 0.45

Tested by

no test coverage detected