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

Method frameParserLanguage

app/src/DataModel/ProjectModel.cpp:1071–1077  ·  view source on GitHub ↗

* @brief Returns the scripting language for the global frame parser (source 0). */

Source from the content-addressed store, hash-verified

1069 * @brief Returns the scripting language for the global frame parser (source 0).
1070 */
1071int DataModel::ProjectModel::frameParserLanguage() const
1072{
1073 if (m_sources.empty())
1074 return 0;
1075
1076 return m_sources[0].frameParserLanguage;
1077}
1078
1079/**
1080 * @brief Returns the scripting language for the source, or source 0's.

Callers 2

parserSetCodeMethod · 0.80
parserGetCodeMethod · 0.80

Calls 1

emptyMethod · 0.80

Tested by

no test coverage detected