Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
SetCommand.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <ast/Command.h>
10
11namespace cli {
12
13class SetCommand : public Command {
14 std::string m_param;
15 std::string m_value;
16
17public:
18 SetCommand ( std::string param, std::string value ) : m_param ( std::move ( param ) ), m_value ( std::move ( value ) ) {
19 }
20
21 CommandResult run ( Environment & ) const override;
22};
23
24} /* namespace cli */
25
Definition: Command.h:14
Definition: Environment.h:29
Definition: SetCommand.h:13
SetCommand(std::string param, std::string value)
Definition: SetCommand.h:18
CommandResult run(Environment &) const override
Definition: SetCommand.cpp:13
Definition: Arg.h:11
CommandResult
Definition: CommandResult.h:10
Definition: FordFulkerson.hpp:16