java_cup
Class action_production
public class action_production
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.
_action, _all, _first_set, _index, _lhs, _nullable, _nullable_known, _num_reductions, _rhs, _rhs_assoc, _rhs_length, _rhs_prec, next_index |
action, all, check_first_set, check_nullable, declare_labels, equals, equals, find, first_set, hashCode, index, is_id_char, is_id_start, lhs, make_declaration, merge_adjacent_actions, note_reduction_use, nullable, nullable_known, num_reductions, number, precedence_num, precedence_side, remove_embedded_actions, rhs, rhs_length, set_precedence_num, set_precedence_side, strip_trailing_action, toString, to_simple_string |
_base_production
protected production _base_production
The production we were taken out of.
action_production
public action_production(production base,
non_terminal lhs_sym,
rhs_parts[] ,
int rhs_len,
String action_str)
throws internal_errorConstructor.
base - the production we are being factored out of.lhs_sym - the LHS symbol for this production.rhs_len - how much of the rhs_parts array is valid.action_str - the trailing reduce action for this production.
base_production
public production base_production()
The production we were taken out of.