fr.umlv.tatoo.cc.parser.grammar
Class GrammarSets

java.lang.Object
  extended by fr.umlv.tatoo.cc.parser.grammar.GrammarSets

public class GrammarSets
extends Object


Constructor Summary
GrammarSets(Grammar grammar)
           
 
Method Summary
 boolean derivesToEpsilon(NonTerminalDecl t)
           
 Set<TerminalDecl> first(NonTerminalDecl t)
           
 Set<TerminalDecl> first(VariableDecl[] vars)
           
 Set<TerminalDecl> follow(NonTerminalDecl t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrammarSets

public GrammarSets(Grammar grammar)
Method Detail

derivesToEpsilon

public boolean derivesToEpsilon(NonTerminalDecl t)

first

public Set<TerminalDecl> first(NonTerminalDecl t)

first

public Set<TerminalDecl> first(VariableDecl[] vars)

follow

public Set<TerminalDecl> follow(NonTerminalDecl t)