|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectnet.sourceforge.chaperon.build.FirstSetCollection
public class FirstSetCollection
This class creates a collection of FIRST sets.
| Constructor Summary | |
|---|---|
FirstSetCollection(Grammar grammar)
Create a collection of FIRST sets. |
|
FirstSetCollection(Grammar grammar,
org.apache.commons.logging.Log log)
Create a collection of FIRST sets |
|
| Method Summary | |
|---|---|
SymbolSet |
getFirstSet(Symbol symbol)
Returns the FIRST set for a symbol. |
SymbolSet |
getFirstSet(SymbolList symbols)
Returns the FIRST set for a sequence of symbols. |
java.lang.String |
toString()
Return a string representation of the FIRST sets. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FirstSetCollection(Grammar grammar)
grammar - Grammar.
public FirstSetCollection(Grammar grammar,
org.apache.commons.logging.Log log)
grammar - Grammarlog - Log, whch should be used.| Method Detail |
|---|
public SymbolSet getFirstSet(Symbol symbol)
symbol - Symbol.
public SymbolSet getFirstSet(SymbolList symbols)
symbol - Sequence of symbols.
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||