fr.umlv.tatoo.cc.parser.lr
Class LR1Item

java.lang.Object
  extended by fr.umlv.tatoo.cc.parser.table.NodeItem<LR1Item>
      extended by fr.umlv.tatoo.cc.parser.lr.LR1Item

public class LR1Item
extends NodeItem<LR1Item>

Author:
jcervell

Constructor Summary
LR1Item(ProductionDecl p, int dotPlace, TerminalDecl lookahead)
           
LR1Item(ProductionDecl p, TerminalDecl lookahead)
           
 
Method Summary
 LR1Item advance()
           
 boolean equals(Object o)
           
 TerminalDecl getLookahead()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class fr.umlv.tatoo.cc.parser.table.NodeItem
getDotPlace, getDottedVariable, getLeft, getProduction, getRight
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LR1Item

public LR1Item(ProductionDecl p,
               int dotPlace,
               TerminalDecl lookahead)

LR1Item

public LR1Item(ProductionDecl p,
               TerminalDecl lookahead)
Method Detail

toString

public String toString()
Overrides:
toString in class NodeItem<LR1Item>

equals

public boolean equals(Object o)
Overrides:
equals in class NodeItem<LR1Item>

hashCode

public int hashCode()
Overrides:
hashCode in class NodeItem<LR1Item>

getLookahead

public TerminalDecl getLookahead()

advance

public LR1Item advance()
Specified by:
advance in class NodeItem<LR1Item>