Cthulhu  0.2.10
Cthulhu compiler collection
type.h File Reference
#include "oberon/ast.h"
#include "cthulhu/tree/tree.h"
Include dependency graph for type.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

tree_t * obr_sema_type (tree_t *sema, obr_t *type, const char *name)
 
const tree_t * obr_rvalue_type (const tree_t *self)
 
tree_t * obr_cast_type (tree_t *expr, const tree_t *type)
 

Function Documentation

◆ obr_cast_type()

tree_t* obr_cast_type ( tree_t *  expr,
const tree_t *  type 
)

Definition at line 164 of file type.c.

◆ obr_rvalue_type()

const tree_t* obr_rvalue_type ( const tree_t *  self)

query

Definition at line 149 of file type.c.

◆ obr_sema_type()

tree_t* obr_sema_type ( tree_t *  sema,
obr_t *  type,
const char *  name 
)

Definition at line 128 of file type.c.