1 #ifndef FUNCTION_HPP
2 #define FUNCTION_HPP
3 #include <sngcm/cmparser/ParserApi.hpp>
4 #include <sngcm/ast/Function.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 FunctionParser
15 {
16 static soulng::parser::Match Function(CmajorLexer& lexer, boost::uuids::uuid* moduleId, ParsingContext* ctx);
17 static soulng::parser::Match FunctionGroupId(CmajorLexer& lexer, boost::uuids::uuid* moduleId, ParsingContext* ctx);
18 static soulng::parser::Match OperatorFunctionGroupId(CmajorLexer& lexer, boost::uuids::uuid* moduleId, ParsingContext* ctx);
19 };
20
21 #endif // FUNCTION_HPP