java_cup

Class parse_reduce_row


public class parse_reduce_row
extends java.lang.Object

This class represents one row (corresponding to one machine state) of the reduce-goto parse table.

Field Summary

protected static int
_size
Number of columns (non terminals) in every row.
lalr_state[]
under_non_term
Actual entries for the row.

Constructor Summary

parse_reduce_row()
Simple constructor.

Method Summary

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

Field Details

_size

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

under_non_term

public lalr_state[] under_non_term
Actual entries for the row.

Constructor Details

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 Details

clear

public static void clear()

size

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