|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use production_part | |
java_cup |
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[] |
production._rhs
A collection of parts for the right hand side. |
Methods in java_cup that return production_part | |
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 | |
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 | |
action_production(production base,
non_terminal lhs_sym,
production_part[] rhs_parts,
int rhs_len,
java.lang.String action_str)
Constructor. |
|
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)
|
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |