1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "builtins/builtins.h"
using namespace goose::builtins;
namespace goose::builtins
{
bool IsTDecl( const Value& td )
{
return td.type() == GetValueType< TDecl >();
}
}
namespace goose::ir
{
const Term& Bridge< TDecl >::Type()
{
static auto type = ValueToIRExpr( Value( TypeType(), TSID( tdecl ) ) );
return type;
}
|
|
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#include "builtins/builtins.h"
using namespace goose::builtins;
namespace goose::builtins
{
bool IsTDecl( const Value& td )
{
return td.type() == GetValueType< TDecl >();
}
}
namespace goose::eir
{
const Term& Bridge< TDecl >::Type()
{
static auto type = ValueToIRExpr( Value( TypeType(), TSID( tdecl ) ) );
return type;
}
|