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

Method prepareParserTest

app/src/DataModel/Editors/JsCodeEditor.cpp:555–559  ·  view source on GitHub ↗

* @brief Loads the current script into the live engine; true when the test dialog may open. */

Source from the content-addressed store, hash-verified

553 * @brief Loads the current script into the live engine; true when the test dialog may open.
554 */
555bool DataModel::JsCodeEditor::prepareParserTest()
556{
557 auto& parser = DataModel::FrameParser::instance();
558 return parser.loadScript(m_sourceId, text(), true);
559}
560
561/**
562 * @brief Reloads the default template.

Callers

nothing calls this directly

Calls 1

loadScriptMethod · 0.45

Tested by

no test coverage detected