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

Method Parser

app/src/DataModel/Importers/ProtoImporter.cpp:357–363  ·  view source on GitHub ↗

* @brief Constructs the parser over a proto3 source buffer; primes the lookahead token. */

Source from the content-addressed store, hash-verified

355 * @brief Constructs the parser over a proto3 source buffer; primes the lookahead token.
356 */
357Parser::Parser(const QString& src,
358 QString& packageOut,
359 QVector<DataModel::ProtoMessage>& outMessages)
360 : m_lexer(src), m_packageOut(packageOut), m_messages(outMessages)
361{
362 m_cur = m_lexer.next();
363}
364
365/**
366 * @brief Returns true and advances if the current token matches kind t.

Callers 1

Calls 1

nextMethod · 0.80

Tested by

no test coverage detected