sxsymbol_table_mngr.c File Reference

#include "sxversion.h"
#include "sxcommon.h"
#include "sxsymbol_table.h"
Include dependency graph for sxsymbol_table_mngr.c:

Go to the source code of this file.


static void scoped_entries_oflw (SXINT old_size, SXINT new_size)
static void nested_access_oflw (struct sxsymbol_table_hd *header, SXINT old_size, SXINT new_size)
void sxsymbol_table_alloc (struct sxsymbol_table_hd *header, SXINT nested_size, SXINT scoped_size, void(*user_oflw)(SXINT, SXINT))
void sxsymbol_table_free (struct sxsymbol_table_hd *header)
SXBOOLEAN sxsymbol_table_put (struct sxsymbol_table_hd *header, SXINT name, SXINT scope_nb, SXINT *sxsymbol_table_put_index)
void sxsymbol_table_erase (struct sxsymbol_table_hd *header, SXINT sxsymbol_table_erase_index, SXBOOLEAN all)
void sxsymbol_table_close (struct sxsymbol_table_hd *header, SXINT scope_nb, SXBOOLEAN all)


char WHAT_SXSYMBOL_TABLE_MNGR [] = "@(#)SYNTAX - $Id: sxsymbol_table_mngr.c 1416 2008-06-25 14:42:55Z rlacroix $" WHAT_DEBUG
static struct sxsymbol_table_hd * stp_

Function Documentation

static void nested_access_oflw ( struct sxsymbol_table_hd *  header,
SXINT  old_size,
SXINT  new_size 
) [static]

Definition at line 47 of file sxsymbol_table_mngr.c.

References top.

Referenced by sxsymbol_table_put().

static void scoped_entries_oflw ( SXINT  old_size,
SXINT  new_size 
) [static]

Definition at line 38 of file sxsymbol_table_mngr.c.

References stp_.

Referenced by sxsymbol_table_alloc().

void sxsymbol_table_alloc ( struct sxsymbol_table_hd *  header,
SXINT  nested_size,
SXINT  scoped_size,
void(*)(SXINT, SXINT)  user_oflw 

Definition at line 63 of file sxsymbol_table_mngr.c.

References scoped_entries_oflw(), and XxY_alloc().

void sxsymbol_table_close ( struct sxsymbol_table_hd *  header,
SXINT  scope_nb,

Definition at line 132 of file sxsymbol_table_mngr.c.

References sxsymbol_table_erase().

void sxsymbol_table_erase ( struct sxsymbol_table_hd *  header,
SXINT  sxsymbol_table_erase_index,

Definition at line 115 of file sxsymbol_table_mngr.c.

References name.

Referenced by sxsymbol_table_close().

void sxsymbol_table_free ( struct sxsymbol_table_hd *  header  ) 

Definition at line 81 of file sxsymbol_table_mngr.c.

References XxY_free().

SXBOOLEAN sxsymbol_table_put ( struct sxsymbol_table_hd *  header,
SXINT  name,
SXINT  scope_nb,
SXINT *  sxsymbol_table_put_index 

Definition at line 92 of file sxsymbol_table_mngr.c.

References nested_access_oflw(), p, stp_, SXFALSE, SXTRUE, and XxY_set().

Variable Documentation

struct sxsymbol_table_hd* stp_ [static]

Definition at line 36 of file sxsymbol_table_mngr.c.

Referenced by scoped_entries_oflw(), and sxsymbol_table_put().

char WHAT_SXSYMBOL_TABLE_MNGR[] = "@(#)SYNTAX - $Id: sxsymbol_table_mngr.c 1416 2008-06-25 14:42:55Z rlacroix $" WHAT_DEBUG

Definition at line 33 of file sxsymbol_table_mngr.c.

Generated on Wed Apr 21 16:39:39 2010 for syntax-6.0b7 by  doxygen 1.6.1