MCPcopy Create free account
hub / github.com/BohemiaInteractive/CWR / parse

Method parse

engine/Evaluator/SqsRunner.cpp:17–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15}
16
17void SqsRunner::parse(const std::string& content)
18{
19 std::istringstream iss(content);
20 std::string line;
21 while (std::getline(iss, line))
22 {
23 if (!line.empty() && line.back() == '\r')
24 line.pop_back();
25 parseLine(line.c_str());
26 }
27}
28
29// Mirrors Script::ProcessLine from Poseidon/Game/Scripting/Scripts.cpp
30void SqsRunner::parseLine(const char* line)

Callers 13

mainFunction · 0.45
mainFunction · 0.45
LLVMFuzzerTestOneInputFunction · 0.45
tryEvalFunction · 0.45
CmdExecFunction · 0.45
EvaluateInlineSqsMethod · 0.45
EvaluateSqsFileMethod · 0.45
ParseCommandLineMethod · 0.45
CompileGLSLFunction · 0.45
query_serverFunction · 0.45

Calls 1

emptyMethod · 0.45

Tested by 1

CompileGLSLFunction · 0.36