DFA.Cell.Kind| Modifier and Type | Field and Description |
|---|---|
DFA.Remember |
remember
Whether to remember the potentially final state or not
|
TreeMap<CSet,DFA.TransActions> |
transTable
The transition table between character sets and transition actions
|
| Constructor and Description |
|---|
Shift(DFA.Remember remember,
TreeMap<CSet,DFA.TransActions> transTable) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canShiftTo(int target) |
DFA.Cell.Kind |
getKind() |
boolean |
sanityCheck()
Performs some sanity checks on this automaton cell
|
String |
toString() |
public final DFA.Remember remember
public final TreeMap<CSet,DFA.TransActions> transTable
public Shift(DFA.Remember remember, TreeMap<CSet,DFA.TransActions> transTable)
remember - transTable - public DFA.Cell.Kind getKind()
public boolean canShiftTo(int target)
target - a target cell, or -1 to check for backtracktrue if and only if this cell
has a transition to the specified targetpublic boolean sanityCheck()
DFA.CellsanityCheck in class DFA.Celltrue if the checks are OK