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

Method parseRunScriptStatement

plugins/dm.gui/gui/GuiScript.cpp:208–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208void GuiScript::parseRunScriptStatement(parser::DefTokeniser& tokeniser)
209{
210 // Prototype: runScript <function>
211 StatementPtr st(new Statement(Statement::ST_RUNSCRIPT));
212
213 st->args.push_back(_owner.parseString(tokeniser)); // function
214 tokeniser.assertNextToken(";");
215
216 pushStatement(st);
217}
218
219void GuiScript::parseEvalRegsStatement(parser::DefTokeniser& tokeniser)
220{

Callers

nothing calls this directly

Calls 3

parseStringMethod · 0.80
push_backMethod · 0.45
assertNextTokenMethod · 0.45

Tested by

no test coverage detected