Cthulhu  0.2.10
Cthulhu compiler collection
expr.c File Reference
#include "oberon/sema/expr.h"
#include "oberon/sema/sema.h"
#include "oberon/sema/type.h"
#include "cthulhu/util/util.h"
#include "cthulhu/util/types.h"
#include "cthulhu/events/events.h"
#include "memory/memory.h"
#include "std/vector.h"
#include "std/str.h"
#include "base/panic.h"
#include "core/macros.h"
Include dependency graph for expr.c:

Go to the source code of this file.

Functions

tree_tobr_sema_rvalue (tree_t *sema, obr_t *expr, const tree_t *implicit_type)
 
tree_tobr_sema_lvalue (tree_t *sema, obr_t *expr)
 
tree_tobr_default_value (const node_t *node, const tree_t *type)
 
tree_tobr_sema_stmts (tree_t *sema, const node_t *node, vector_t *stmts)
 

Function Documentation

◆ obr_default_value()

tree_t* obr_default_value ( const node_t node,
const tree_t type 
)

default values

Definition at line 197 of file expr.c.

◆ obr_sema_lvalue()

tree_t* obr_sema_lvalue ( tree_t sema,
obr_t expr 
)

lvalues

Definition at line 183 of file expr.c.

◆ obr_sema_rvalue()

tree_t* obr_sema_rvalue ( tree_t sema,
obr_t expr,
const tree_t implicit_type 
)

Definition at line 160 of file expr.c.

◆ obr_sema_stmts()

tree_t* obr_sema_stmts ( tree_t sema,
const node_t node,
vector_t stmts 
)

Definition at line 313 of file expr.c.