Cthulhu  0.2.10
Cthulhu compiler collection
type.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: GPL-3.0-only
2 
3 #pragma once
4 
5 #include "oberon/ast.h"
6 
7 #include "cthulhu/tree/tree.h"
8 
9 tree_t *obr_sema_type(tree_t *sema, obr_t *type, const char *name);
10 
11 const tree_t *obr_rvalue_type(const tree_t *self);
12 
13 tree_t *obr_cast_type(tree_t *expr, const tree_t *type);
const tree_t * obr_rvalue_type(const tree_t *self)
Definition: type.c:149
tree_t * obr_cast_type(tree_t *expr, const tree_t *type)
Definition: type.c:164
tree_t * obr_sema_type(tree_t *sema, obr_t *type, const char *name)
Definition: type.c:128
Definition: ast.h:93
Definition: tree.h:67