Lines Matching refs:Action

65 Action::Action(bool oneshot) : oneshot_(oneshot) {  in Action()  function in Action
68 const KeywordMap<BuiltinFunction>* Action::function_map_ = nullptr;
70 bool Action::AddCommand(const std::vector<std::string>& args, in AddCommand()
91 void Action::AddCommand(BuiltinFunction f, in AddCommand()
97 void Action::CombineAction(const Action& action) { in CombineAction()
103 std::size_t Action::NumCommands() const { in NumCommands()
107 void Action::ExecuteOneCommand(std::size_t command) const { in ExecuteOneCommand()
114 void Action::ExecuteAllCommands() const { in ExecuteAllCommands()
120 void Action::ExecuteCommand(const Command& command) const { in ExecuteCommand()
137 bool Action::ParsePropertyTrigger(const std::string& trigger, std::string* err) { in ParsePropertyTrigger()
156 bool Action::InitTriggers(const std::vector<std::string>& args, std::string* err) { in InitTriggers()
190 bool Action::InitSingleTrigger(const std::string& trigger) { in InitSingleTrigger()
207 bool Action::CheckPropertyTriggers(const std::string& name, in CheckPropertyTriggers()
231 bool Action::CheckEventTrigger(const std::string& trigger) const { in CheckEventTrigger()
237 bool Action::CheckPropertyTrigger(const std::string& name, in CheckPropertyTrigger()
242 bool Action::TriggersEqual(const Action& other) const { in TriggersEqual()
247 std::string Action::BuildTriggersString() const { in BuildTriggersString()
260 void Action::DumpState() const { in DumpState()
274 bool CheckTriggers(const Action& action) const override { in CheckTriggers()
286 bool CheckTriggers(const Action& action) const override { in CheckTriggers()
296 explicit BuiltinTrigger(Action* action) : action_(action) { in BuiltinTrigger()
298 bool CheckTriggers(const Action& action) const override { in CheckTriggers()
302 const Action* action_;
313 void ActionManager::AddAction(std::unique_ptr<Action> action) { in AddAction()
316 [&action] (std::unique_ptr<Action>& a) { in AddAction()
342 auto action = std::make_unique<Action>(true); in QueueBuiltinAction()
387 auto eraser = [&action] (std::unique_ptr<Action>& a) { in ExecuteOneCommand()
413 auto action = std::make_unique<Action>(false); in ParseSection()