1
2
3
4
5
6
7
8
9
10
|
#ifndef EMPATHY_BUILTINS_TEMPLATE_BUILD_H
#define EMPATHY_BUILTINS_TEMPLATE_BUILD_H
namespace empathy::builtins
{
TFuncType BuildTFuncType( const Value& returnType, const Value& params );
optional< Value > BuildTFunc( const Context& c, const StringId& id, const Value& returnType, const Value& params, vector< Term >&& body );
}
#endif
|
|
|
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
|
#ifndef EMPATHY_BUILTINS_TEMPLATE_BUILD_H
#define EMPATHY_BUILTINS_TEMPLATE_BUILD_H
namespace empathy::builtins
{
extern TFuncType BuildTFuncType( const Value& returnType, const Value& params );
extern optional< Value > BuildTFunc( const Context& c, const StringId& id, const Value& returnType, const Value& params, vector< Term >&& body );
extern optional< Term > BuildArgPatternFromTFuncType( const Context& c, const Value& tfuncType );
}
#endif
|