2020-01-20 19:14:24 -06:00
|
|
|
#ifndef COMMAND_PARSER_H
|
|
|
|
#define COMMAND_PARSER_H
|
|
|
|
|
2020-01-20 20:42:43 -06:00
|
|
|
/********************************************************************
|
|
|
|
* Include header files that are required by function declaration
|
|
|
|
*******************************************************************/
|
2020-01-20 19:14:24 -06:00
|
|
|
#include <string>
|
|
|
|
#include "command.h"
|
|
|
|
#include "command_context.h"
|
|
|
|
|
2020-01-20 20:42:43 -06:00
|
|
|
/********************************************************************
|
|
|
|
* Function declaration
|
|
|
|
*******************************************************************/
|
|
|
|
|
2020-01-22 17:49:32 -06:00
|
|
|
/* Begin namespace openfpga */
|
|
|
|
namespace openfpga {
|
2020-01-20 19:14:24 -06:00
|
|
|
|
|
|
|
bool parse_command(const std::vector<std::string>& argv,
|
|
|
|
const Command& cmd,
|
|
|
|
CommandContext& cmd_context);
|
|
|
|
|
2020-01-22 17:49:32 -06:00
|
|
|
} /* End namespace openfpga */
|
2020-01-20 19:14:24 -06:00
|
|
|
|
|
|
|
#endif
|