MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / parseStatements

Function parseStatements

src/script_parser.cpp:421–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419};
420
421std::vector<Ast::expr_ptr> parseStatements(const std::string& script)
422{
423 auto tokens = tokenize(script);
424 ScriptParser parser(std::move(tokens));
425 return parser.parseAll();
426}
427
428} // namespace Scripting
429

Callers 3

ParseScriptFunction · 0.85
ValidateScriptFunction · 0.85
GetScriptResultFunction · 0.85

Calls 3

tokenizeFunction · 0.85
moveFunction · 0.85
parseAllMethod · 0.80

Tested by 1

GetScriptResultFunction · 0.68