Lines Matching defs:Production
40 //---------------------------Production State----------------------------------
49 //------------------------------Production------------------------------------
51 class Production {
60 Production(const char *result, const char *constraint, const char *valid);
61 ~Production() {};
98 // Return the Production associated with the result,
99 // or create a new Production and insert it into the dictionary.
100 Production *getProduction(const char *result);
916 //------------------------------Production-------------------------------------
917 Production::Production(const char *result, const char *constraint, const char *valid) {
924 void Production::initialize() {
932 void Production::print() {
945 // reset each Production currently in the dictionary
951 Production *p = (Production*)y;
958 Production *ProductionState::getProduction(const char *result) {
959 Production *p = (Production *)_production[result];
961 p = new Production(result, _constraint, knownInvalid);
977 Production *p = getProduction(result);
998 Production *p = getProduction(result);
1037 static void print_production(const void* production) { fflush(stdout); ((Production*)production)->print(); }