sxnds_rcvr.c File Reference

#include "sxversion.h"
#include "sxcommon.h"
#include "sxsstmt.h"
#include "sxnd.h"
Include dependency graph for sxnds_rcvr.c:

Go to the source code of this file.

Defines

#define char_to_class(c)   (sxndsvar.SXS_tables.S_char_to_simple_class[c])

Functions

SXSTMI predicate_processing (struct SXS_action_or_prdct_code *action_or_prdct_code)
SXSTMI action_processing (struct SXS_action_or_prdct_code *action_or_prdct_code)
SXINT clone_active_scanner (SXSTMI stmt)
static SXVOID allouer_correction (void)
static SXVOID recovery_free (void)
static SXBOOLEAN is_insertable (SXSTMI *tm_line, SXSTMI stmt, SXSHORT *sample)
static void walk (SXINT state)
static void look (SXSTMI stmt)
static void look_ahead_extract (SXINT current_state_no)
static void ndrcvr_one_scan (void)
static SXBOOLEAN backward_traversal (SXINT node, SXINT stmt, SXINT j)
static void current_model_no_processing (void)
static SXINT has_dont_delete (void)
static SXVOID tryacorr (void)
static SXBOOLEAN nds_recovery (void)
SXBOOLEAN sxndsrecovery (SXINT sxndsrecovery_what)

Variables

static char ME [] = "NDS_RCVR"
char WHAT_SXNDS_RECOVERY32 [] = "@(#)SYNTAX - $Id: sxnds_rcvr.c 1416 2008-06-25 14:42:55Z rlacroix $ SXNDS_RCVR_32" WHAT_DEBUG

Define Documentation

#define char_to_class (  )     (sxndsvar.SXS_tables.S_char_to_simple_class[c])

Function Documentation

SXSTMI action_processing ( struct SXS_action_or_prdct_code action_or_prdct_code  ) 

Definition at line 369 of file sxndscanner.c.

References ME, ndlv_clear(), push_include(), SXFALSE, sxsrcpush(), sxsvar, sxtrap(), SXVOID, ts_null, and ts_put.

Referenced by ndrcvr_one_scan(), and sxndscan_it().

static SXVOID allouer_correction ( void   )  [static]

Definition at line 46 of file sxnds_rcvr.c.

References nmax, sxba_calloc(), X_alloc(), and XxYxZ_alloc().

Referenced by nds_recovery().

static SXBOOLEAN backward_traversal ( SXINT  node,
SXINT  stmt,
SXINT  j 
) [static]

Definition at line 339 of file sxnds_rcvr.c.

References is_insertable(), SXFALSE, and SXTRUE.

Referenced by current_model_no_processing().

SXINT clone_active_scanner ( SXSTMI  stmt  ) 
static void current_model_no_processing ( void   )  [static]
static SXINT has_dont_delete ( void   )  [static]

Definition at line 548 of file sxnds_rcvr.c.

References sxgetbit().

Referenced by tryacorr().

static SXBOOLEAN is_insertable ( SXSTMI *  tm_line,
SXSTMI  stmt,
SXSHORT *  sample 
) [static]

Definition at line 95 of file sxnds_rcvr.c.

References char_to_class, SXFALSE, sxgetbit(), and SXTRUE.

Referenced by backward_traversal().

static void look ( SXSTMI  stmt  )  [static]

Definition at line 132 of file sxnds_rcvr.c.

References ME, SXS_action_or_prdct_code, sxtrap(), walk(), and X_set().

Referenced by walk().

static void look_ahead_extract ( SXINT  current_state_no  )  [static]

Definition at line 208 of file sxnds_rcvr.c.

References clone_active_scanner(), sxba_calloc(), sxba_empty(), walk(), X_alloc(), and X_clear().

Referenced by ndrcvr_one_scan(), and sxndsrecovery().

static void ndrcvr_one_scan ( void   )  [static]
static SXBOOLEAN nds_recovery ( void   )  [static]
SXSTMI predicate_processing ( struct SXS_action_or_prdct_code action_or_prdct_code  ) 

Definition at line 286 of file sxndscanner.c.

References SXBOOLEAN, SXFALSE, sxlaback(), sxlafirst_char(), sxlanext_char(), SXTRUE, and ts_null.

Referenced by ndrcvr_one_scan(), and sxndscan_it().

static SXVOID recovery_free ( void   )  [static]

Definition at line 70 of file sxnds_rcvr.c.

References X_free(), and XxYxZ_free().

Referenced by sxndsrecovery().

SXBOOLEAN sxndsrecovery ( SXINT  sxndsrecovery_what  ) 

Definition at line 759 of file sxnds_rcvr.c.

References look_ahead_extract(), nds_recovery(), recovery_free(), sxexit(), sxstderr, and SXTRUE.

static SXVOID tryacorr ( void   )  [static]

Definition at line 582 of file sxnds_rcvr.c.

References current_model_no_processing(), has_dont_delete(), SXFALSE, and SXTRUE.

Referenced by nds_recovery().

static void walk ( SXINT  state  )  [static]

Definition at line 192 of file sxnds_rcvr.c.

References look().

Referenced by look(), and look_ahead_extract().


Variable Documentation

char ME[] = "NDS_RCVR" [static]

Definition at line 26 of file sxnds_rcvr.c.

Referenced by current_model_no_processing(), look(), and ndrcvr_one_scan().

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

Definition at line 36 of file sxnds_rcvr.c.


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