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

Method frameParserCode

app/src/DataModel/ProjectModel.cpp:1060–1066  ·  view source on GitHub ↗

* @brief Returns the frame parser source code from source 0. */

Source from the content-addressed store, hash-verified

1058 * @brief Returns the frame parser source code from source 0.
1059 */
1060QString DataModel::ProjectModel::frameParserCode() const
1061{
1062 if (m_sources.empty())
1063 return QString();
1064
1065 return m_sources[0].frameParserCode;
1066}
1067
1068/**
1069 * @brief Returns the scripting language for the global frame parser (source 0).

Callers 2

parserGetCodeMethod · 0.80
readCodeMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected