morfo-analysis/enum TLRegisters [ Types ]
NAME
enum TLRegisters -- register names to store the strings to print the lemma result
SOURCE
153 enum TLRegisters { 154 lrLemma, 155 lrSource, 156 lrAttributes, 157 lrCOUNT 158 };
morfo-analysis/enum TTRegisters [ Types ]
NAME
enum TTRegisters -- register names to store the strings to print the tag result
SOURCE
166 enum TTRegisters { 167 trLemma, 168 trSource, 169 trTag, 170 trCOUNT 171 };
morfo-analysis/struct TCLACtx [ Structures ]
[ Top ] [ Structures ]
NAME
struct TCLACtx -- Command Line Analysis Context
ATTRIBUTES
- ms -- the analyzator itself
- so -- the command line options
- pc -- the output specification (printing context)
line -- a char repository containing the input line with \n removed; the line is supposed to be placed on index 0 out_args -- an array of string registers to output l_format -- a format string to pass to printf call to print lemma t_format -- a format string to pass to printf call to print tag l_regs -- an array of indexes choosing string registers for printing lemma t_regs -- an array of indexes choosing string registers for printing tags attr2str -- a function to get a string representation of the attributes on the top of the ms->char_stack csts -- CSTS specific attributes csts.f -- a poiter to the recognized form to analyze csts.f_len -- the length of the recognized form csts.st_len -- the length of the start tag; the start tag spans from the 0 to st_len-1 csts.append_from -- an index into the line buffer from that the rest of the line should be appended; 0 means that the d not the f element was recognized csts.print_head -- a flag that the head should be printed csts.head_printed-- a flag that the head have been printed vert -- vertical format specific attributes vert.f_format -- a printf format string to print the form
SOURCE
201 struct TCLACtx { 202 struct TMorfoAnalysis *ms; 203 const struct TSpecificOptions *so; 204 struct TPrintingContext *pc; 205 struct TGrowingStack *line; 206 const char *out_args[REGS_CNT]; 207 const char *l_format; 208 const char *t_format; 209 uint8_t l_regs[REGS_CNT]; 210 uint8_t t_regs[REGS_CNT]; 211 natural(*attr2str)(struct TMorfoAnalysis *, natural); 212 struct TCSTSCtx { 213 const char *f; 214 natural f_len; 215 natural st_len; 216 natural append_from; 217 uint16_t print_head; 218 uint16_t head_printed; 219 } csts; 220 struct TVertCtx { 221 const char *f_format; 222 } vert; 223 };