1 #ifndef IDENTIFIER_HPP
2 #define IDENTIFIER_HPP
3 #include <sngcpp/parser/ParserApi.hpp>
4 #include <sngcpp/ast/Expression.hpp>
5 #include <sngcpp/parser/ParsingContext.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 IdentifierParser
15 {
16 static soulng::parser::Match Identifier(CppLexer& lexer);
17 static soulng::parser::Match IdNode(CppLexer& lexer, sngcpp::cppparser::ParsingContext* ctx);
18 static soulng::parser::Match NestedNameSpecifier(CppLexer& lexer, sngcpp::cppparser::ParsingContext* ctx);
19 static soulng::parser::Match QualifiedIdNode(CppLexer& lexer, sngcpp::cppparser::ParsingContext* ctx);
20 };
21
22 #endif // IDENTIFIER_HPP