Go to the documentation of this file.
34 return { InputPort<std::string>(
"code",
"Piece of code that can be parsed") };
Result getInput(const std::string &key, T &destination) const
Expected< ScriptFunction > ParseScript(const std::string &script)
const NodeConfig & config() const
ScriptNode(const std::string &name, const NodeConfig &config)
std::function< Any(Ast::Environment &env)> ScriptFunction
Blackboard::Ptr blackboard
std::unordered_map< std::string, PortInfo > PortsList
void setRegistrationID(StringView ID)
const std::string & name() const
Name of the instance, not the type.
virtual BT::NodeStatus tick() override
Method to be implemented by the user.
static PortsList providedPorts()
std::shared_ptr< ScriptingEnumsRegistry > enums
The SyncActionNode is an ActionNode that explicitly prevents the status RUNNING and doesn't require a...
The Environment class is used to encapsulate the information and states needed by the scripting langu...