QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
function.h File Reference
This graph shows which files directly or indirectly include this file:

Data Structures

struct  function_s
 Internal representation of a function. More...
 
struct  overloaded_function_s
 Represent an overloading of a function. More...
 
struct  param_s
 Representation of a function parameter. More...
 

Typedefs

typedef struct function_s function_t
 Internal representation of a function. More...
 
typedef struct
overloaded_function_s 
overloaded_function_t
 Represent an overloading of a function. More...
 
typedef struct param_s param_t
 Representation of a function parameter. More...
 

Functions

param_t_reverse_params (param_t *params, param_t *next)
 
void add_function (function_t *f)
 
function_tbegin_function (struct symbol_s *sym, const char *nicename, struct symtab_s *parent, int far)
 
function_tbuild_builtin_function (struct symbol_s *sym, struct expr_s *bi_val, int far)
 
function_tbuild_code_function (struct symbol_s *fsym, struct expr_s *state_expr, struct expr_s *statements)
 
void build_function (function_t *f)
 
param_tcheck_params (param_t *params)
 
void clear_functions (void)
 
param_tcopy_params (param_t *params)
 
void emit_function (function_t *f, struct expr_s *e)
 
struct expr_sfind_function (struct expr_s *fexpr, struct expr_s *params)
 
void finish_function (function_t *f)
 
int function_parms (function_t *f, byte *parm_size)
 
struct symbol_sfunction_symbol (struct symbol_s *sym, int overload, int create)
 
void make_function (struct symbol_s *sym, const char *nice_name, struct defspace_s *space, enum storage_class_e storage)
 
function_tnew_function (const char *name, const char *nice_name)
 
param_tnew_param (const char *selector, struct type_s *type, const char *name)
 
param_tparam_append_identifiers (param_t *params, struct symbol_s *idents, struct type_s *type)
 
struct type_sparse_params (struct type_s *type, param_t *params)
 
param_treverse_params (param_t *params)
 

Variables

function_tcurrent_func