org.inxar.syntacs.grammar.context_free
Interface LR1Item

All Superinterfaces:
Item
All Known Implementing Classes:
CFLR1Item

public interface LR1Item
extends Item

An LR1Item is a more specialized type of Item that contains lookahead information pertinent to the generation of LR-grammars by certain algorithms.


Method Summary
 Item getCore()
          Returns the Item which represents the core of this Item.
 Terminal getLookahead()
          Returns the Terminal symbol which may follow this Item.
 
Methods inherited from interface org.inxar.syntacs.grammar.context_free.Item
getFirstSet, getID, getProduction, hasNext, hasPrevious, lookahead, nextItem, nextSymbol, previousItem, previousSymbol
 

Method Detail

getLookahead

public Terminal getLookahead()
Returns the Terminal symbol which may follow this Item.

getCore

public Item getCore()
Returns the Item which represents the core of this Item.