| java.lang.Object java_cup.production java_cup.action_production
action_production | public class action_production extends production (Code) | | A specialized version of a production used when we split an existing
production in order to remove an embedded action. Here we keep a bit
of extra bookkeeping so that we know where we came from.
version: last updated: 11/25/95 author: Scott Hudson |
_base_production | protected production _base_production(Code) | | The production we were taken out of.
|
action_production | public action_production(production base, non_terminal lhs_sym, production_part rhs_parts, int rhs_len, String action_str, int indexOfIntermediateResult) throws internal_error(Code) | | Constructor.
Parameters: base - the production we are being factored out of. Parameters: lhs_sym - the LHS symbol for this production. Parameters: rhs_parts - array of production parts for the RHS. Parameters: rhs_len - how much of the rhs_parts array is valid. Parameters: action_str - the trailing reduce action for this production. Parameters: indexOfIntermediateResult - the index of the result of the previous intermediate action on the stack relative to top, -1 if no previous action |
base_production | public production base_production()(Code) | | The production we were taken out of.
|
getIndexOfIntermediateResult | public int getIndexOfIntermediateResult()(Code) | | the index of the result of the previous intermediate action on the stack relative to top, -1 if no previous action |
|
|