| java.lang.Object net.sourceforge.chaperon.build.FirstSetCollection
FirstSetCollection | public class FirstSetCollection (Code) | | This class creates a collection of FIRST sets.
author: Stephan Michels version: CVS $Id: FirstSetCollection.java,v 1.10 2003/12/10 16:34:38 benedikta Exp $ |
FirstSetCollection | public FirstSetCollection(Grammar grammar)(Code) | | Create a collection of FIRST sets.
Parameters: grammar - Grammar. |
FirstSetCollection | public FirstSetCollection(Grammar grammar, Log log)(Code) | | Create a collection of FIRST sets
Parameters: grammar - Grammar Parameters: log - Log, whch should be used. |
getFirstSet | public SymbolSet getFirstSet(Symbol symbol)(Code) | | Returns the FIRST set for a symbol.
Parameters: symbol - Symbol. Set of symbols. |
getFirstSet | public SymbolSet getFirstSet(SymbolList symbols)(Code) | | Returns the FIRST set for a sequence of symbols.
Parameters: symbol - Sequence of symbols. Set of symbols. |
toString | public String toString()(Code) | | Return a string representation of the FIRST sets.
String representation of the FIRST sets. |
|
|