| Package | Description |
|---|---|
| org.jsweet.transpiler.util |
This package contains utilities for the JSweet transpiler.
|
| Modifier and Type | Field and Description |
|---|---|
DirectedGraph.Node<T> |
DirectedGraph.Edge.from
The node this edge starts from
|
DirectedGraph.Node<T> |
DirectedGraph.Edge.to
The node this edge goes to
|
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
DirectedGraph.dumpCycles(List<DirectedGraph.Node<T>> nodes,
Function<T,String> toString)
Dumps the found cycles to System.out.
|
List<T> |
DirectedGraph.topologicalSort(Consumer<DirectedGraph.Node<T>> cycleHandler)
Sorts this graph using a topological sort algorithm given in this
StackOverflow thread.
|
| Constructor and Description |
|---|
Edge(DirectedGraph.Node<T> from,
DirectedGraph.Node<T> to)
Creates a new edge.
|
Edge(DirectedGraph.Node<T> from,
DirectedGraph.Node<T> to)
Creates a new edge.
|