|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.brics.string.grammar.operations.Component
public class Component
Strongly connected component.
Nested Class Summary | |
---|---|
static class |
Component.Recursion
|
Constructor Summary | |
---|---|
Component()
Constructs a new empty component. |
Method Summary | |
---|---|
void |
add(Nonterminal n)
Adds a node to this component. |
void |
findRecursion()
Finds recursion kind for this components. |
Collection<Nonterminal> |
getNodes()
Returns the (unmodifiable) collection of nonterminals for this component. |
Component.Recursion |
getRecursion()
Returns recursion kind for this component. |
MLFAState |
getState()
Returns the MLFA state of this component. |
void |
setRecursion(Component.Recursion r)
Sets recursion kind for this component. |
void |
setState(MLFAState s)
Sets the MLFA state of this component. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Component()
Method Detail |
---|
public void add(Nonterminal n)
GraphComponent
add
in interface GraphComponent<Nonterminal>
public void findRecursion()
public Collection<Nonterminal> getNodes()
getNodes
in interface GraphComponent<Nonterminal>
public Component.Recursion getRecursion()
public MLFAState getState()
public void setRecursion(Component.Recursion r)
public void setState(MLFAState s)
public String toString()
toString
in class Object
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |