|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use production | |
---|---|
java_cup |
Uses of production in java_cup |
---|
Subclasses of production in java_cup | |
class |
action_production
A specialized version of a production used when we split an existing production in order to remove an embedded action. |
Fields in java_cup declared as production | |
protected java_cup.production |
lr_item_core._the_production
The production for the item. |
protected java_cup.production |
reduce_action._reduce_with
The production we reduce with. |
protected java_cup.production |
action_production._base_production
The production we were taken out of. |
static java_cup.production |
emit.start_production
The start production of the grammar. |
Methods in java_cup that return production | |
java_cup.production |
lr_item_core.the_production()
The production for the item. |
java_cup.production |
reduce_action.reduce_with()
The production we reduce with. |
java_cup.production |
action_production.base_production()
The production we were taken out of. |
static java_cup.production |
production.find(int indx)
Lookup a production by index. |
Methods in java_cup with parameters of type production | |
void |
non_terminal.add_production(java_cup.production prod)
Add a production to our set of productions. |
static java_cup.lalr_state |
lalr_state.build_machine(java_cup.production start_prod)
Build an LALR viable prefix recognition machine given a start production. |
protected boolean |
lalr_state.fix_with_precedence(java_cup.production p,
int term_index,
java_cup.parse_action_row table_row,
java_cup.parse_action act)
Procedure that attempts to fix a shift/reduce error by using precedences. |
protected static void |
emit.emit_action_code(java.io.PrintWriter out,
java_cup.production start_prod)
Emit code for the non-public class holding the actual action code. |
static void |
emit.parser(java.io.PrintWriter out,
java_cup.parse_action_table action_table,
java_cup.parse_reduce_table reduce_table,
int start_st,
java_cup.production start_prod,
boolean compact_reduces,
boolean suppress_scanner)
Emit the parser subclass with embedded tables. |
boolean |
production.equals(java_cup.production other)
Equality comparison. |
Constructors in java_cup with parameters of type production | |
lr_item_core(java_cup.production prod,
int pos)
Full constructor. |
|
lr_item_core(java_cup.production prod)
Constructor for dot at start of right hand side. |
|
reduce_action(java_cup.production prod)
Simple constructor. |
|
lalr_item(java_cup.production prod,
int pos,
java_cup.terminal_set look)
Full constructor. |
|
lalr_item(java_cup.production prod,
java_cup.terminal_set look)
Constructor with default position (dot at start). |
|
lalr_item(java_cup.production prod)
Constructor with default position and empty lookahead set. |
|
action_production(java_cup.production base,
java_cup.non_terminal lhs_sym,
java_cup.production_part[] rhs_parts,
int rhs_len,
java.lang.String action_str)
Constructor. |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |