1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "builtins/builtins.h"
#include "lex/lex.h"
#include "parse/parse.h"
using namespace empathy::builtins;
using namespace empathy::parse;
namespace empathy::ir
{
Term Bridge< TFunc >::Type( const builtins::TFunc& tf )
{
return ValueToIRExpr( ::ToValue( tf.type() ) );
}
Value Bridge< TFunc >::ToValue( const TFunc& tf )
|
|
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "builtins/builtins.h"
#include "lex/lex.h"
#include "parse/parse.h"
using namespace goose::builtins;
using namespace goose::parse;
namespace goose::ir
{
Term Bridge< TFunc >::Type( const builtins::TFunc& tf )
{
return ValueToIRExpr( ::ToValue( tf.type() ) );
}
Value Bridge< TFunc >::ToValue( const TFunc& tf )
|