Lines Matching refs:grammar
2 /* Grammar interface */
59 /* A grammar */
65 int g_start; /* Start symbol of the grammar */
67 } grammar;
71 grammar *newgrammar(int start);
72 dfa *adddfa(grammar *g, int type, char *name);
75 dfa *PyGrammar_FindDFA(grammar *g, int type);
80 void translatelabels(grammar *g);
82 void addfirstsets(grammar *g);
84 void PyGrammar_AddAccelerators(grammar *g);
85 void PyGrammar_RemoveAccelerators(grammar *);
87 void printgrammar(grammar *g, FILE *fp);
88 void printnonterminals(grammar *g, FILE *fp);