1 #ifndef LITERAL_HPP
2 #define LITERAL_HPP
3 #include <sngcpp/parser/ParserApi.hpp>
4 #include <sngcpp/parser/TokenValueParsers.hpp>
5 #include <sngcpp/ast/Literal.hpp>
6 #include <soulng/lexer/Token.hpp>
7 #include <soulng/parser/Match.hpp>
8 #include <soulng/parser/Value.hpp>
9
10
11
12 class CppLexer;
13
14 struct LiteralParser
15 {
16 static soulng::parser::Match Literal(CppLexer& lexer);
17 static soulng::parser::Match StringLiteral(CppLexer& lexer);
18 static soulng::parser::Match IntegerLiteral(CppLexer& lexer);
19 };
20
21 #endif // LITERAL_HPP