Pakman
input.h
Go to the documentation of this file.
1 #ifndef INPUT_H
2 #define INPUT_H
3 
4 #include <string>
5 #include <vector>
6 
7 #include "types.h"
8 
9 class Command;
10 
23 int parse_integer(const std::string& raw_input);
24 
31 unsigned long parse_unsigned_long_integer(const std::string& raw_input);
32 
39 Command parse_command(const std::string& raw_input);
40 
47 Epsilon parse_epsilon(const std::string& raw_input);
48 
55 std::vector<Epsilon> parse_epsilons(const std::string& raw_input);
56 
63 std::vector<ParameterName> parse_parameter_names(const std::string& raw_input);
64 
65 #endif // INPUT_H
Command parse_command(const std::string &raw_input)
Definition: input.cc:19
std::vector< ParameterName > parse_parameter_names(const std::string &raw_input)
Definition: input.cc:42
std::vector< Epsilon > parse_epsilons(const std::string &raw_input)
Definition: input.cc:29
unsigned long parse_unsigned_long_integer(const std::string &raw_input)
Definition: input.cc:14
Epsilon parse_epsilon(const std::string &raw_input)
Definition: input.cc:24
int parse_integer(const std::string &raw_input)
Definition: input.cc:9