Lines Matching defs:Command
34 Command::Command(BuiltinFunction f, const std::vector<std::string>& args,
39 int Command::InvokeFunc() const {
53 std::string Command::BuildCommandString() const {
57 std::string Command::BuildSourceString() const {
78 *err = "command needed, but not provided";
107 void Action::ExecuteOneCommand(std::size_t command) const {
108 ExecuteCommand(commands_[command]);
117 void Action::ExecuteCommand(const Command& command) const {
119 int result = command.InvokeFunc();
123 std::string cmd_str = command.BuildCommandString();
124 std::string source = command.BuildSourceString();
126 INFO("Command '%s' action=%s%s returned %d took %.2fs\n",
374 // If this was the last command in the current action, then remove