1 #ifndef DELEGATE_HPP
2 #define DELEGATE_HPP
3 #include <sngcm/cmparser/ParserApi.hpp>
4 #include <sngcm/ast/Delegate.hpp>
5 #include <sngcm/cmparser/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 CmajorLexer;
13
14 struct DelegateParser
15 {
16 static soulng::parser::Match Delegate(CmajorLexer& lexer, boost::uuids::uuid* moduleId, ParsingContext* ctx);
17 static soulng::parser::Match ClassDelegate(CmajorLexer& lexer, boost::uuids::uuid* moduleId, ParsingContext* ctx);
18 };
19
20 #endif // DELEGATE_HPP