Home | History | Annotate | Download | only in sepolgen

Lines Matching refs:Production

192         prod    = self.productions       # Local reference to production list
193 pslice = YaccProduction(None) # Production object passed to grammar rules
216 pslice.stack = symstack # Put in the production
269 # reduce a symbol on the stack, emit a production
274 # Get production function
276 sym.type = pname # Production name
527 # class Production:
529 # This class stores the raw information about a single production or grammar rule.
532 # name - Name of the production (nonterminal)
533 # prod - A list of symbols making up its production
534 # number - Production number.
539 # file - File where production action is defined.
547 # len - Length of the production (number of symbols on right hand side)
550 class Production:
572 # Compute lr_items from the production
575 p = Production()
608 # Given an action function, this function assembles a production rule.
609 # The production rule is assumed to be found in the function's docstring.
661 p = Production()
714 # Calculate unique syms in the production
854 # Production p terminates iff all of its rhs symbols terminate.
858 # so production p does not terminate.
864 # so production p terminates.
966 # is built for each production. For example:
992 # Production.lr_item = None
1033 Productions[0] = Production(name="S'",prod=[start],number=0,len=1,prec=('right',0),func=None)
1093 # Here is the production set
1097 # Okay. We got a non-terminal in a production
1302 # an empty production.
1399 # For example, starting with a production "N : . A B C", we run it forward
1436 # Okay, we have a name match. We now follow the production all the way
1449 # production derives empty
1463 # When we get here, j is the final state, now we have to locate the production
1468 # This look is comparing a production ". A B C" with "A B C ."
1627 actionp = { } # Action production array (temporary)
1649 # Loop over each production in I
1666 # We are at the end of a production. Reduce!
1909 # Write production table