Uses of Class
java_cup.production
-
Packages that use production Package Description java_cup -
-
Uses of production in java_cup
Subclasses of production in java_cup Modifier and Type Class Description classaction_productionA 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 Modifier and Type Field Description protected productionaction_production. _base_productionThe production we were taken out of.protected productionreduce_action. _reduce_withThe production we reduce with.protected productionlr_item_core. _the_productionThe production for the item.static productionemit. start_productionThe start production of the grammar.Methods in java_cup that return production Modifier and Type Method Description productionaction_production. base_production()The production we were taken out of.static productionproduction. find(int indx)Lookup a production by index.productionreduce_action. reduce_with()The production we reduce with.productionlr_item_core. the_production()The production for the item.Methods in java_cup with parameters of type production Modifier and Type Method Description voidnon_terminal. add_production(production prod)Add a production to our set of productions.static lalr_statelalr_state. build_machine(production start_prod)Build an LALR viable prefix recognition machine given a start production.protected static voidemit. emit_action_code(java.io.PrintWriter out, production start_prod)Emit code for the non-public class holding the actual action code.protected static voidemit. emit_xmlaction_code(java.io.PrintWriter out, production start_prod)Emit code for generic XML parsetree output.booleanproduction. equals(production other)Equality comparison.protected booleanlalr_state. fix_with_precedence(production p, int term_index, parse_action_row table_row, parse_action act)Procedure that attempts to fix a shift/reduce error by using precedences.static voidemit. parser(java.io.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.Constructors in java_cup with parameters of type production Constructor Description action_production(production base, non_terminal lhs_sym, production_part[] rhs_parts, int rhs_len, java.lang.String action_str, int indexOfIntermediateResult)Constructor.lalr_item(production prod)Constructor with default position and empty lookahead set.lalr_item(production prod, int pos, terminal_set look)Full constructor.lalr_item(production prod, terminal_set look)Constructor with default position (dot at start).lr_item_core(production prod)Constructor for dot at start of right hand side.lr_item_core(production prod, int pos)Full constructor.reduce_action(production prod)Simple constructor.
-