1 #ifndef ARGSPARSER_HPP
2 #define ARGSPARSER_HPP
3 #include <cpp2cm/cpp2cm/Args.hpp>
4 #include <soulng/lexer/Token.hpp>
5 #include <soulng/parser/Match.hpp>
6 #include <soulng/parser/Value.hpp>
7
8
9
10 class TrivialLexer;
11
12 struct ArgsParser
13 {
14 static void Parse(TrivialLexer& lexer, std::std::vector<int>*args);
15 static soulng::parser::Match Args(TrivialLexer& lexer, std::std::vector<int>*args);
16 static soulng::parser::Match Arg(TrivialLexer& lexer);
17 static soulng::parser::Match S(TrivialLexer& lexer);
18 };
19
20 #endif // ARGSPARSER_HPP