MCPcopy Create free account
hub / github.com/KDE/kdevelop / parsePrompt

Method parsePrompt

plugins/debuggercommon/mi/miparser.cpp:94–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94std::unique_ptr<Record> MIParser::parsePrompt()
95{
96 ADVANCE_PTR('(');
97 MATCH_PTR(Token_identifier);
98 if (m_lex->currentTokenText() != "gdb")
99 return {};
100 m_lex->nextToken();
101 ADVANCE_PTR(')');
102
103 return std::unique_ptr<Record>(new PromptRecord);
104}
105
106std::unique_ptr<Record> MIParser::parseStreamRecord()
107{

Callers

nothing calls this directly

Calls 2

currentTokenTextMethod · 0.80
nextTokenMethod · 0.45

Tested by

no test coverage detected