MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / parseText

Function parseText

test/DefBlockSyntaxParser.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12{
13
14inline parser::DefSyntaxTree::Ptr parseText(const std::string& text)
15{
16 parser::DefBlockSyntaxParser<const std::string> parser(text);
17 return parser.parse();
18}
19
20inline void expectToken(const parser::DefSyntaxToken& token, parser::DefSyntaxToken::Type type, const std::string& value)
21{

Callers 2

TEST_FFunction · 0.85

Calls 1

parseMethod · 0.45

Tested by

no test coverage detected