| java.lang.Object net.sourceforge.chaperon.build.conflict.Conflict net.sourceforge.chaperon.build.conflict.ShiftReduceConflict
ShiftReduceConflict | public class ShiftReduceConflict extends Conflict (Code) | | This class represents a shift/reduce conflict.
author: Stephan Michels version: CVS $Id: ShiftReduceConflict.java,v 1.7 2003/12/09 19:55:52 benedikta Exp $ |
ShiftReduceConflict | public ShiftReduceConflict(Grammar grammar, ItemSetCollection itemsets, int state, Terminal symbol, int production)(Code) | | Creates a shift/reduce conflict.
Parameters: grammar - Grammar. Parameters: itemsets - Collection of item sets. Parameters: state - The state, in which the conflict occurs. Parameters: symbol - The symbol, which the conflict produce. Parameters: production - Production. |
getProduction | public int getProduction()(Code) | | Production.
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)
|
|
|