22 #ifndef __INPUTPARSER_HPP
23 #define __INPUTPARSER_HPP
29 #include <xqilla/framework/XQillaExport.hpp>
34 typedef std::vector<std::string>
Args;
36 int parse(std::istream &input,
Args &args);
40 void whitespace(
Args &args);
42 void escapedCharacter();
44 void quote(
Args &args,
char c);
47 void endOfArg(
Args &args);
48 void addArgument(
Args &args, std::string::size_type start, std::string::size_type end);
49 void nextLine(std::istream &input,
Args &args);
52 std::string::size_type start_, pos_;