2 ** Copyright (C) University of Virginia, Massachusetts Institue of Technology 1994-2001.
3 ** See ../LICENSE for license information.
12 typedef /*@null@*/ struct s_stateInfo *stateInfo ;
15 /*@null@*/ struct s_stateInfo
17 /*@only@*/ fileloc loc;
18 /*@observer@*/ sRef ref;
19 /*@null@*/ stateInfo previous;
22 /*@constant null stateInfo stateInfo_undefined@*/
23 # define stateInfo_undefined (NULL)
25 extern /*@falsewhennull@*/ bool stateInfo_isDefined (stateInfo p_s) /*@*/ ;
26 # define stateInfo_isDefined(p_s) ((p_s) != stateInfo_undefined)
28 extern void stateInfo_free (/*@only@*/ stateInfo p_a);
30 extern /*@only@*/ stateInfo stateInfo_update (/*@only@*/ stateInfo p_old, stateInfo p_newinfo);
32 extern /*@only@*/ stateInfo stateInfo_updateLoc (/*@only@*/ stateInfo p_old, fileloc p_loc) ;
34 extern /*@only@*/ stateInfo
35 stateInfo_updateRefLoc (/*@only@*/ stateInfo p_old, /*@exposed@*/ sRef p_ref, fileloc p_loc) ;
37 extern /*@only@*/ stateInfo stateInfo_copy (stateInfo p_a);
39 extern /*@only@*/ /*@notnull@*/ stateInfo stateInfo_currentLoc (void) ;
40 extern /*@only@*/ /*@notnull@*/ stateInfo stateInfo_makeLoc (fileloc p_loc) ;
41 extern /*@only@*/ /*@notnull@*/ stateInfo stateInfo_makeRefLoc (/*@exposed@*/ sRef p_ref, fileloc p_loc) ;
43 extern /*@observer@*/ fileloc stateInfo_getLoc (stateInfo p_info) ;
44 extern /*@only@*/ cstring stateInfo_unparse (stateInfo p_s) /*@*/ ;
46 extern void stateInfo_display (stateInfo p_s, /*@only@*/ cstring p_sname) /*@modifies g_errorstream@*/ ;
49 # error "Multiple include"