C:/Users/Dennis/src/lang/russell.orig/src/stree/listops.c File Reference

#include "parm.h"
#include <stdio.h>
#include <varargs.h>
#include "ststructs.mh"
#include "Array.h"

Go to the source code of this file.

Functions

NODEaddleft (NODE *l, NODE *e)
LIST addright (LIST l, NODE *e)
LIST mklist (va_alist)
int length (NODE *l)
Arraylist_to_array (NODE *l)
 free_array (Array *a)
LIST split (int kindno, NODE *id_list, NODE *arg1, NODE *arg2, NODE *arg3, NODE *arg4, NODE *arg5)
NODEconc (NODE *l1, NODE *l2)
NODEreplace_last (NODE *l, NODE *p)

Variables

int stsize []
int stptrs []
int stmkfields []


Function Documentation

NODE* addleft ( NODE l,
NODE e 
)

Definition at line 31 of file listops.c.

References BADflag, cn_cons(), dbgmsg, is_empty, kindname(), lock, and NIL.

LIST addright ( LIST  l,
NODE e 
)

Definition at line 64 of file listops.c.

References BADflag, cn_cons(), cn_settail, dbgmsg, is_empty, kindname(), lock, and NIL.

Referenced by add_id_fv(), clear_construction(), decl_sort(), delcomp(), findapplsig(), findmpsig(), findsig(), fixhints(), gden_order(), infer_args(), list_in(), main(), mklist(), sig_in1(), split(), subst1(), tsig_order(), tsubst1(), and unshare1().

NODE* conc ( NODE l1,
NODE l2 
)

Definition at line 265 of file listops.c.

References cn_settail, dbgmsg, is_empty, NIL, and vfree.

Referenced by mkappl2().

free_array ( Array a  ) 

Definition at line 193 of file listops.c.

References BADflag, diagmsg, free, unlock, and vfree.

Referenced by findmpsig(), gden_order(), mkappl(), and tsig_order().

int length ( NODE l  ) 

Definition at line 127 of file listops.c.

References dbgmsg.

Referenced by checksigs(), coerce(), comp1_st(), compile_stub(), construct_inline(), def_match(), Fexpression(), find_inline(), findapplsig(), finddecl1(), findsig(), fixhints(), Gentry_trace(), Gexpression(), Gfind_inline(), Gfunc_body(), Gfuncconstructor(), infer_args(), label_decls(), label_wl(), list_to_array(), sig_out1(), subst1(), tsig_length(), tsubst1(), type_constr(), unparse(), unshare1(), Vallocate(), Vallocwalk(), Vappl(), Ventry_trace(), and Vfuncconstructor().

Array* list_to_array ( NODE l  ) 

Definition at line 153 of file listops.c.

References a, Array::a_body, Array::a_size, BADflag, dbgmsg, diagmsg, length(), lock, salloc, and vfree.

LIST mklist ( va_alist   ) 

Definition at line 103 of file listops.c.

References addright().

Referenced by bld_analyze(), cand_cond(), coerce(), cor_cond(), expand_str(), findsig(), initids(), main(), mk_put_selection(), mkappl2(), and tsig_order().

NODE* replace_last ( NODE l,
NODE p 
)

Definition at line 295 of file listops.c.

References cn_sethead, lock, unlock, and vfree.

Referenced by coerce().

LIST split ( int  kindno,
NODE id_list,
NODE arg1,
NODE arg2,
NODE arg3,
NODE arg4,
NODE arg5 
)

Definition at line 232 of file listops.c.

References addright(), bitcnt(), dbgmsg, mknode(), stmkfields, and stsize.


Variable Documentation

int stmkfields[]

Referenced by main(), mknode(), and split().

int stptrs[]

Referenced by copynode(), and mknode().

int stsize[]


Generated on Fri Jan 25 10:39:50 2008 for russell by  doxygen 1.5.4