Modifier and Type | Field and Description |
---|---|
protected lalr_state |
shift_action._shift_to
The state we shift to.
|
protected lalr_state |
lalr_transition._to_state
The state we transition to.
|
protected static lalr_state |
Main.start_state
Start state in the overall state machine.
|
lalr_state[] |
parse_reduce_row.under_non_term
Actual entries for the row.
|
Modifier and Type | Field and Description |
---|---|
protected static Hashtable<lalr_item_set,lalr_state> |
lalr_state._all
Collection of all states.
|
protected static Hashtable<lalr_item_set,lalr_state> |
lalr_state._all_kernels
Hash table to find states by their kernels (i.e, the original,
unclosed, set of items -- which uniquely define the state).
|
Modifier and Type | Method and Description |
---|---|
static lalr_state |
lalr_state.build_machine(production start_prod)
Build an LALR viable prefix recognition machine given a start
production.
|
static lalr_state |
lalr_state.find_state(lalr_item_set itms)
Find and return state with a given a kernel item set (or null if not
found).
|
lalr_state |
shift_action.shift_to()
The state we shift to.
|
lalr_state |
lalr_transition.to_state()
The state we transition to.
|
Modifier and Type | Method and Description |
---|---|
static Enumeration<lalr_state> |
lalr_state.all()
Collection of all states.
|
Modifier and Type | Method and Description |
---|---|
void |
lalr_state.add_transition(symbol on_sym,
lalr_state to_st)
Add a transition out of this state to another.
|
protected static void |
lalr_state.dump_state(lalr_state st)
Helper routine for debugging -- produces a dump of the given state
onto System.out.
|
boolean |
lalr_state.equals(lalr_state other)
Equality comparison.
|
Constructor and Description |
---|
lalr_transition(symbol on_sym,
lalr_state to_st)
Constructor with null next.
|
lalr_transition(symbol on_sym,
lalr_state to_st,
lalr_transition nxt)
Full constructor.
|
shift_action(lalr_state shft_to)
Simple constructor.
|
Copyright © 2003–2016 Community Z Tools Project. All rights reserved.