|
|||||||||
| Home >> All >> [ java_cup overview ] | PREV NEXT | ||||||||
Uses of Class
java_cup.production_part
| Uses of production_part in java_cup |
| Subclasses of production_part in java_cup | |
class |
action_part
This class represents a part of a production which contains an action. |
class |
symbol_part
This class represents a part of a production which is a symbol (terminal or non terminal). |
| Fields in java_cup declared as production_part | |
protected production_part[] |
CUP$parser$actions.rhs_parts
array for accumulating right hand side parts |
protected production_part[] |
production._rhs
A collection of parts for the right hand side. |
| Methods in java_cup that return production_part | |
protected production_part |
CUP$parser$actions.add_lab(production_part part,
java.lang.String lab)
helper routine to clone a new production part adding a given label |
production_part |
production.rhs(int indx)
Access to the collection of parts for the right hand side. |
| Methods in java_cup with parameters of type production_part | |
protected production_part |
CUP$parser$actions.add_lab(production_part part,
java.lang.String lab)
helper routine to clone a new production part adding a given label |
protected void |
CUP$parser$actions.add_rhs_part(production_part part)
add a new right hand side part |
boolean |
production_part.equals(production_part other)
Equality comparison. |
protected java.lang.String |
production.declare_labels(production_part[] rhs,
int rhs_len,
java.lang.String final_action)
Declare label names as valid variables within the action string |
protected int |
production.merge_adjacent_actions(production_part[] rhs_parts,
int len)
Helper routine to merge adjacent actions in a set of RHS parts |
protected action_part |
production.strip_trailing_action(production_part[] rhs_parts,
int len)
Helper routine to strip a trailing action off rhs and return it |
| Constructors in java_cup with parameters of type production_part | |
production(non_terminal lhs_sym,
production_part[] rhs_parts,
int rhs_l,
java.lang.String action_str)
Full constructor. |
|
production(non_terminal lhs_sym,
production_part[] rhs_parts,
int rhs_l)
Constructor with no action string. |
|
production(non_terminal lhs_sym,
production_part[] rhs_parts,
int rhs_l,
java.lang.String action_str,
int prec_num,
int prec_side)
|
|
production(non_terminal lhs_sym,
production_part[] rhs_parts,
int rhs_l,
int prec_num,
int prec_side)
|
|
action_production(production base,
non_terminal lhs_sym,
production_part[] rhs_parts,
int rhs_len,
java.lang.String action_str)
Constructor. |
|
|
|||||||||
| Home >> All >> [ java_cup overview ] | PREV NEXT | ||||||||