|
||||||||
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.ReduceReduceConflict
public class ReduceReduceConflict
This class represents a reduce/reduce conflict.
Constructor Summary | |
---|---|
ReduceReduceConflict(Grammar grammar,
ItemSetCollection itemsets,
int state,
Terminal symbol,
int firstproduction,
int secondproduction)
Creates a reduce/reduce conflict |
Method Summary | |
---|---|
int |
getFirstProduction()
First production. |
int |
getSecondProduction()
Second 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 ReduceReduceConflict(Grammar grammar, ItemSetCollection itemsets, int state, Terminal symbol, int firstproduction, int secondproduction)
grammar
- Grammarcollection
- Collection of item sets.state
- The state, in which the conflict occurs.symbol
- The symbol, which the conflict produce.firstproduction
- First production.secondproduction
- Second production.Method Detail |
---|
public int getState()
public Terminal getSymbol()
public int getFirstProduction()
public int getSecondProduction()
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 |