Lines Matching refs:Production
288 pslice = YaccProduction(None) # Production object passed to grammar rules
384 sym.type = pname # Production name
603 pslice = YaccProduction(None) # Production object passed to grammar rules
681 sym.type = pname # Production name
875 pslice = YaccProduction(None) # Production object passed to grammar rules
953 sym.type = pname # Production name
1129 # class Production:
1140 # prec - Production precedence level
1141 # number - Production number.
1152 class Production(object):
1188 return "Production("+str(self)+")"
1221 # This class serves as a minimal standin for Production objects when
1258 # number - Production number.
1440 # From this point on, everything is valid. Create a new Production instance
1455 p = Production(pnumber,prodname,syms,prodprec,func,file,line)
1469 # Sets the starting symbol and creates the augmented grammar. Production
1478 self.Productions[0] = Production(0,"S'",[start])
1539 # Production p terminates iff all of its rhs symbols terminate.
1955 self.lr_productions = grammar.Productions # Copy of grammar Production array