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 . |
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
.