|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.chaperon.build.conflict.Conflict
net.sourceforge.chaperon.build.conflict.ShiftReduceConflict
This class represents a shift/reduce conflict.
| Constructor Summary | |
ShiftReduceConflict(Grammar grammar,
ItemSetCollection itemsets,
int state,
Terminal symbol,
int production)
Creates a shift/reduce conflict. |
|
| Method Summary | |
int |
getProduction()
Production. |
int |
getState()
The state, in which the conflict occurs. |
Terminal |
getSymbol()
The symbol, which the conflict produce. |
java.lang.String |
toString()
Return a string representation of the conflict. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ShiftReduceConflict(Grammar grammar,
ItemSetCollection itemsets,
int state,
Terminal symbol,
int production)
grammar - Grammar.itemsets - Collection of item sets.state - The state, in which the conflict occurs.symbol - The symbol, which the conflict produce.production - Production.| Method Detail |
public int getState()
public Terminal getSymbol()
public int getProduction()
public java.lang.String toString()
toString in class Conflict
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||