public class action_production extends production
| Modifier and Type | Field and Description |
|---|---|
protected production |
_base_production
The production we were taken out of.
|
_action, _all, _first_set, _index, _lhs, _nullable, _nullable_known, _num_reductions, _rhs, _rhs_length, next_index| Constructor and Description |
|---|
action_production(production base,
non_terminal lhs_sym,
production_part[] rhs_parts,
int rhs_len,
String action_str)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
production |
base_production()
The production we were taken out of.
|
action_translate, action, all, check_first_set, check_nullable, equals, equals, first_set, hashCode, index, is_id_char, is_id_start, label_translate, lhs, merge_adjacent_actions, note_reduction_use, nullable_known, nullable, num_reductions, number, remove_embedded_actions, rhs_length, rhs, strip_trailing_action, to_simple_string, toString, translate_labelsprotected production _base_production
public action_production(production base, non_terminal lhs_sym, production_part[] rhs_parts, int rhs_len, String action_str) throws internal_error
base - the production we are being factored out of.lhs_sym - the LHS symbol for this production.rhs_parts - array of production parts for the RHS.rhs_len - how much of the rhs_parts array is valid.action_str - the trailing reduce action for this production.internal_errorpublic production base_production()
Copyright © 2014. All Rights Reserved.