|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.grammar.operations.NullableFinder
public class NullableFinder
Finds entities, nonterminals, and productions that can derive the empty string.
Constructor Summary | |
---|---|
NullableFinder(Grammar g)
Finds the nullables for the given grammar. |
Method Summary | |
---|---|
Set<Entity> |
getNullableEntities()
Returns the set of entities that can derive the empty string. |
Set<String> |
getNullableNonterminals()
Returns the set of nonterminals that can derive the empty string. |
Set<Production> |
getNullableProductions()
Returns the set of productions that can derive the empty string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullableFinder(Grammar g)
Method Detail |
---|
public Set<Entity> getNullableEntities()
public Set<String> getNullableNonterminals()
public Set<Production> getNullableProductions()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |