__multi_gram__ Struct Reference

Grammar holder. More...

#include <multi-gram.h>

Collaboration diagram for __multi_gram__:

Collaboration graph
[legend]

Data Fields

char name [MAXGRAMNAMELEN]
 Unique name given by user.
unsigned short id
 Unique ID.
DFA_INFOdfa
 DFA describing syntax of this grammar.
WORD_INFOwinfo
 Dictionary of this grammar.
int hook
 Work area to store command hook.
boolean newbie
 TRUE if just read and not yet configured.
boolean active
 below vars holds the location of this grammar within the global grammar */
int state_begin
 Location of DFA states in the global grammar.
int cate_begin
 Location of category entries in the global grammar.
int word_begin
 Location of words in the dictionary of global grammar.
__multi_gram__next
 Link to the next grammar entry.

Detailed Description

Grammar holder.

Definition at line 35 of file multi-gram.h.


Field Documentation

boolean __multi_gram__::active

below vars holds the location of this grammar within the global grammar */

TRUE if active for recognition

Definition at line 42 of file multi-gram.h.

Referenced by dfa_firstwords(), init_nodescore(), main_recognition_loop(), multigram_exec_activate(), print_all_gram(), and send_gram_info().


The documentation for this struct was generated from the following file:
Generated on Tue Dec 26 12:55:19 2006 for Julian by  doxygen 1.5.0