tan
0.0.1
Main Page
Related Pages
Classes
Files
File List
typed.cpp
1
#include "ast/typed.h"
2
#include "ast/type.h"
3
4
using namespace
tanlang;
5
6
Type
*Typed::get_type()
const
{
return
_type; }
7
8
void
Typed::set_type(
Type
*type) {
9
TAN_ASSERT(type);
10
_type = type;
11
}
tanlang::Type
Type is immutable once created. The exception is StructType. Its information is updated in multiple s...
Definition:
type.h:22
src
ast
typed.cpp
Generated by
1.9.1