java_cup

Class parse_reduce_row

public class parse_reduce_row extends Object

This class represents one row (corresponding to one machine state) of the reduce-goto parse table.
Field Summary
lalr_state[]under_non_term
Actual entries for the row.
protected static int_size
Number of columns (non terminals) in every row.
Constructor Summary
parse_reduce_row()
Simple constructor.
Method Summary
static voidclear()
static intsize()
Number of columns (non terminals) in every row.

Field Detail

under_non_term

public lalr_state[] under_non_term
Actual entries for the row.

_size

protected static int _size
Number of columns (non terminals) in every row.

Constructor Detail

parse_reduce_row

public parse_reduce_row()
Simple constructor. Note: this should not be used until the number of terminals in the grammar has been established.

Method Detail

clear

public static void clear()

size

public static int size()
Number of columns (non terminals) in every row.