lexicalizer_mngr.c File Reference

#include "sxversion.h"
#include "sxunix.h"
#include "earley.h"
#include "udag_scanner.h"
#include "sxstack.h"
Include dependency graph for lexicalizer_mngr.c:

Go to the source code of this file.

Defines

#define CHECK_INDEX(size, x)   x
#define MULTI_ANCHOR
#define inputG_MAXITEM   itemmax
#define inputG_MAXPROD   prodmax
#define inputG_MAXNT   ntmax
#define inputG_MAXT   (tmax)
#define inputG_SXEOF   (-tmax)
#define SXEOF   (-tmax)
#define MAXNT   ntmax
#define MAXT   tmax
#define MAXITEM   itemmax
#define MAXPROD   prodmax
#define MAXRHSLGTH   rhs_lgth
#define MAXRHSNT   rhs_maxnt
#define IS_EPSILON   is_epsilon
#define IS_RIGHT_RECURSIVE   is_right_recursive
#define IS_CYCLIC   is_cyclic
#define LISPRO(i)   spf.inputG.lispro [i]
#define PROLIS(i)   spf.inputG.prolis [i]
#define PROLON(i)   spf.inputG.prolon [i]
#define LHS(i)   spf.inputG.lhs [i]
#define NPG(i)   spf.inputG.npg [i]
#define NUMPG(i)   spf.inputG.numpg [i]
#define NPD(i)   spf.inputG.npd [i]
#define NUMPD(i)   spf.inputG.numpd [i]
#define PROD(i)   i
#define NT(i)   i
#define T(i)   i
#define NTSTRING(i)   spf.inputG.ntstring [i]
#define TSTRING(i)   spf.inputG.tstring [i]
#define EMPTY_SET   spf.inputG.BVIDE
#define TITEM_SET   titem_set
#define RC_TITEM_SET   rc_titem_set
#define EMPTY_PROD_ITEM_SET   NULL
#define LEFT_CORNER(i)   left_corner [i]
#define NT2ITEM_SET(i)   nt2lc_item_set [i]
#define RIGHT_CORNER(i)   right_corner [i]
#define NT2RC_ITEM_SET(i)   nt2rc_item_set [i]
#define VALID_PREFIXES   valid_prefixes
#define VALID_SUFFIXES   valid_suffixes
#define T2PROD_ITEM_SET(i)   t2prod_item_set [i]
#define T2ITEM_SET(i)   t2item_set [i]
#define NT2MIN_GEN_LGTH(i)   nt2min_gen_lgth [i]

Functions

static SXINT make_a_first_reduced_grammar ()
void output_G (char *header, SXBA basic_item_set, SXBA basic_prod_set)
static SXBOOLEAN check_multiple_anchor_occur_pre_with_basic_item_set (SXINT **map_stack, SXINT **maep_stack)
static SXBOOLEAN t_set2basic_item_set ()
SXBOOLEAN lexicalizer2basic_item_set (SXBOOLEAN is_mlstn2lex_la_tset, SXBOOLEAN is_mlstn2la_tset, SXBOOLEAN is_smallest_insideG)

Variables

char WHAT_LEXICALIZER_MNGR [] = "@(#)SYNTAX - $Id: lexicalizer_mngr.c 1796 2009-12-10 10:45:17Z sagot $" WHAT_DEBUG
static char ME [] = "lexicalizer_mngr"
static SXBA * mlstn2suffix_source_set
static SXBA * t2suffix_t_set
static SXBA lex_source_set
static SXBA unlexicalized_item_set
SXBA basic_item_set
SXBA basic_nt_set
SXBA * mlstn2lex_la_tset
SXBA * mlstn2la_tset
static SXBA * t2la_t_set

Define Documentation

#define CHECK_INDEX ( size,
 )     x

Definition at line 34 of file lexicalizer_mngr.c.

#define EMPTY_PROD_ITEM_SET   NULL

Definition at line 222 of file lexicalizer_mngr.c.

#define EMPTY_SET   spf.inputG.BVIDE

Definition at line 215 of file lexicalizer_mngr.c.

#define inputG_MAXITEM   itemmax

Definition at line 135 of file lexicalizer_mngr.c.

#define inputG_MAXNT   ntmax

Definition at line 137 of file lexicalizer_mngr.c.

#define inputG_MAXPROD   prodmax

Definition at line 136 of file lexicalizer_mngr.c.

#define inputG_MAXT   (tmax)

Definition at line 138 of file lexicalizer_mngr.c.

#define inputG_SXEOF   (-tmax)

Definition at line 139 of file lexicalizer_mngr.c.

#define IS_CYCLIC   is_cyclic

Definition at line 199 of file lexicalizer_mngr.c.

#define IS_EPSILON   is_epsilon

Definition at line 197 of file lexicalizer_mngr.c.

#define IS_RIGHT_RECURSIVE   is_right_recursive

Definition at line 198 of file lexicalizer_mngr.c.

#define LEFT_CORNER (  )     left_corner [i]

Definition at line 224 of file lexicalizer_mngr.c.

#define LHS (  )     spf.inputG.lhs [i]

Definition at line 205 of file lexicalizer_mngr.c.

#define LISPRO (  )     spf.inputG.lispro [i]

Definition at line 202 of file lexicalizer_mngr.c.

#define MAXITEM   itemmax

Definition at line 193 of file lexicalizer_mngr.c.

#define MAXNT   ntmax

Definition at line 191 of file lexicalizer_mngr.c.

#define MAXPROD   prodmax

Definition at line 194 of file lexicalizer_mngr.c.

#define MAXRHSLGTH   rhs_lgth

Definition at line 195 of file lexicalizer_mngr.c.

#define MAXRHSNT   rhs_maxnt

Definition at line 196 of file lexicalizer_mngr.c.

#define MAXT   tmax

Definition at line 192 of file lexicalizer_mngr.c.

#define MULTI_ANCHOR

Definition at line 117 of file lexicalizer_mngr.c.

#define NPD (  )     spf.inputG.npd [i]

Definition at line 208 of file lexicalizer_mngr.c.

#define NPG (  )     spf.inputG.npg [i]

Definition at line 206 of file lexicalizer_mngr.c.

#define NT (  )     i

Definition at line 211 of file lexicalizer_mngr.c.

#define NT2ITEM_SET (  )     nt2lc_item_set [i]

Definition at line 225 of file lexicalizer_mngr.c.

#define NT2MIN_GEN_LGTH (  )     nt2min_gen_lgth [i]

Definition at line 232 of file lexicalizer_mngr.c.

#define NT2RC_ITEM_SET (  )     nt2rc_item_set [i]

Definition at line 227 of file lexicalizer_mngr.c.

#define NTSTRING (  )     spf.inputG.ntstring [i]

Definition at line 213 of file lexicalizer_mngr.c.

#define NUMPD (  )     spf.inputG.numpd [i]

Definition at line 209 of file lexicalizer_mngr.c.

#define NUMPG (  )     spf.inputG.numpg [i]

Definition at line 207 of file lexicalizer_mngr.c.

#define PROD (  )     i

Definition at line 210 of file lexicalizer_mngr.c.

#define PROLIS (  )     spf.inputG.prolis [i]

Definition at line 203 of file lexicalizer_mngr.c.

#define PROLON (  )     spf.inputG.prolon [i]

Definition at line 204 of file lexicalizer_mngr.c.

#define RC_TITEM_SET   rc_titem_set

Definition at line 218 of file lexicalizer_mngr.c.

#define RIGHT_CORNER (  )     right_corner [i]

Definition at line 226 of file lexicalizer_mngr.c.

#define SXEOF   (-tmax)

Definition at line 190 of file lexicalizer_mngr.c.

#define T (  )     i

Definition at line 212 of file lexicalizer_mngr.c.

Referenced by affiche_measures(), equality_sort(), le(), and xml_print_terminal_leaves().

#define T2ITEM_SET (  )     t2item_set [i]

Definition at line 231 of file lexicalizer_mngr.c.

#define T2PROD_ITEM_SET (  )     t2prod_item_set [i]

Definition at line 230 of file lexicalizer_mngr.c.

#define TITEM_SET   titem_set

Definition at line 217 of file lexicalizer_mngr.c.

#define TSTRING (  )     spf.inputG.tstring [i]

Definition at line 214 of file lexicalizer_mngr.c.

#define VALID_PREFIXES   valid_prefixes

Definition at line 228 of file lexicalizer_mngr.c.

#define VALID_SUFFIXES   valid_suffixes

Definition at line 229 of file lexicalizer_mngr.c.


Function Documentation

static SXBOOLEAN check_multiple_anchor_occur_pre_with_basic_item_set ( SXINT **  map_stack,
SXINT **  maep_stack 
) [static]
SXBOOLEAN lexicalizer2basic_item_set ( SXBOOLEAN  is_mlstn2lex_la_tset,
SXBOOLEAN  is_mlstn2la_tset,
SXBOOLEAN  is_smallest_insideG 
)
static SXINT make_a_first_reduced_grammar (  )  [static]
void output_G ( char header,
SXBA  basic_item_set,
SXBA  basic_prod_set 
)

Definition at line 4007 of file lexicalizer_mngr.c.

static SXBOOLEAN t_set2basic_item_set (  )  [static]

Variable Documentation

Definition at line 255 of file lexicalizer_mngr.c.

Referenced by make_a_first_reduced_grammar(), and make_proper_semact().

SXBA lex_source_set [static]

Definition at line 241 of file lexicalizer_mngr.c.

Referenced by lexicalizer2basic_item_set(), and make_a_first_reduced_grammar().

char ME[] = "lexicalizer_mngr" [static]

Definition at line 28 of file lexicalizer_mngr.c.

Referenced by make_a_first_reduced_grammar(), and t_set2basic_item_set().

Definition at line 257 of file lexicalizer_mngr.c.

Referenced by lexicalizer2basic_item_set().

Definition at line 256 of file lexicalizer_mngr.c.

Referenced by lexicalizer2basic_item_set().

SXBA* mlstn2suffix_source_set [static]

Definition at line 238 of file lexicalizer_mngr.c.

Referenced by lexicalizer2basic_item_set().

SXBA* t2la_t_set [static]

Definition at line 264 of file lexicalizer_mngr.c.

Referenced by lexicalizer2basic_item_set(), and t_set2basic_item_set().

SXBA* t2suffix_t_set [static]

Definition at line 239 of file lexicalizer_mngr.c.

Referenced by lexicalizer2basic_item_set(), and t_set2basic_item_set().

SXBA unlexicalized_item_set [static]

Definition at line 250 of file lexicalizer_mngr.c.

Referenced by make_a_first_reduced_grammar(), and t_set2basic_item_set().

char WHAT_LEXICALIZER_MNGR[] = "@(#)SYNTAX - $Id: lexicalizer_mngr.c 1796 2009-12-10 10:45:17Z sagot $" WHAT_DEBUG

Definition at line 26 of file lexicalizer_mngr.c.


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