Internal definitions for JSGF grammar compiler. More...
#include <hash_table.h>
#include <glist.h>
#include <stdio.h>
#include <fsg_model.h>
#include <logmath.h>
#include <strfuncs.h>
#include <jsgf.h>
Go to the source code of this file.
Data Structures | |
struct | jsgf_s |
struct | jsgf_rule_s |
struct | jsgf_rhs_s |
struct | jsgf_atom_s |
struct | jsgf_link_s |
Defines | |
#define | YY_NO_UNISTD_H 1 |
#define | YY_NO_INPUT |
#define | jsgf_atom_is_rule(atom) ((atom)->name[0] == '<') |
Typedefs | |
typedef struct jsgf_rhs_s | jsgf_rhs_t |
typedef struct jsgf_atom_s | jsgf_atom_t |
typedef struct jsgf_link_s | jsgf_link_t |
Functions | |
void | jsgf_add_link (jsgf_t *grammar, jsgf_atom_t *atom, int from, int to) |
jsgf_atom_t * | jsgf_atom_new (char *name, float weight) |
jsgf_atom_t * | jsgf_kleene_new (jsgf_t *jsgf, jsgf_atom_t *atom, int plus) |
jsgf_rule_t * | jsgf_optional_new (jsgf_t *jsgf, jsgf_rhs_t *exp) |
jsgf_rule_t * | jsgf_define_rule (jsgf_t *jsgf, char *name, jsgf_rhs_t *rhs, int public) |
jsgf_rule_t * | jsgf_import_rule (jsgf_t *jsgf, char *name) |
int | jsgf_atom_free (jsgf_atom_t *atom) |
int | jsgf_rule_free (jsgf_rule_t *rule) |
jsgf_rule_t * | jsgf_rule_retain (jsgf_rule_t *rule) |
Internal definitions for JSGF grammar compiler.
Definition in file jsgf_internal.h.