| java.lang.Object net.sourceforge.chaperon.build.conflict.Conflict net.sourceforge.chaperon.build.conflict.ReduceReduceConflict
ReduceReduceConflict | public class ReduceReduceConflict extends Conflict (Code) | | This class represents a reduce/reduce conflict.
author: Stephan Michels version: CVS $Id: ReduceReduceConflict.java,v 1.6 2003/12/09 19:55:52 benedikta Exp $ |
ReduceReduceConflict | public ReduceReduceConflict(Grammar grammar, ItemSetCollection itemsets, int state, Terminal symbol, int firstproduction, int secondproduction)(Code) | | Creates a reduce/reduce conflict
Parameters: grammar - Grammar Parameters: collection - Collection of item sets. Parameters: state - The state, in which the conflict occurs. Parameters: symbol - The symbol, which the conflict produce. Parameters: firstproduction - First production. Parameters: secondproduction - Second production. |
getFirstProduction | public int getFirstProduction()(Code) | | First production.
First production. |
getSecondProduction | public int getSecondProduction()(Code) | | Second production.
Second production. |
getState | public int getState()(Code) | | The state, in which the conflict occurs.
Index of state. |
getSymbol | public Terminal getSymbol()(Code) | | The symbol, which the conflict produce.
Symbol. |
toString | public String toString()(Code) | | Return a string representation of the conflict.
String representation of the conflict. |
Methods inherited from net.sourceforge.chaperon.build.conflict.Conflict | abstract public String toString()(Code)(Java Doc)
|
|
|