Uses of Class java_cup.production

Uses in package java_cup

Methods with parameter type java_cup.production

void
Add a production to our set of productions.
lalr_state
Build an LALR viable prefix recognition machine given a start production.
void
emit.emit_action_code(PrintWriter out, production start_prod)
Emit code for the non-public class holding the actual action code.
boolean
Equality comparison.
boolean
Procedure that attempts to fix a shift/reduce error by using precedences.
void
emit.parser(PrintWriter out, parse_action_table action_table, parse_reduce_table reduce_table, int start_st, production start_prod, boolean compact_reduces, boolean suppress_scanner)
Emit the parser subclass with embedded tables.

Classes derived from java_cup.production

class
A specialized version of a production used when we split an existing production in order to remove an embedded action.

Methods with return type java_cup.production

production
The production we were taken out of.
production
production.find(int indx)
Lookup a production by index.
production
The production we reduce with.
production
The production for the item.

Constructors with parameter type java_cup.production

action_production.action_production(production base, non_terminal lhs_sym, rhs_parts[] , int rhs_len, String action_str)
Constructor.
Constructor with default position and empty lookahead set.
lalr_item.lalr_item(production prod, int pos, terminal_set look)
Full constructor.
Constructor with default position (dot at start).
Constructor for dot at start of right hand side.
Full constructor.
Simple constructor.

Fields of type java_cup.production

production
The production we were taken out of.
production
The production we reduce with.
production
The production for the item.
production
The start production of the grammar.