object DependencyGraph
- Source
- PhaseAssembly.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- DependencyGraph
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final val Follows: Int(1)
- final val FollowsNow: Int(0)
- final val Parser: String("parser")
- final val Terminal: String("terminal")
- def apply(phases: Iterable[SubComponent], warn: Boolean = true): DependencyGraph
Create a DependencyGraph from the given phases.
Create a DependencyGraph from the given phases. The graph must be acyclic.
A component must be declared as "initial". If no phase is "initial" but a phase is named "parser", it is taken as initial. If no phase is "terminal" but a phase is named "terminal", it is taken as terminal. Warnings are issued for invalid constraints (runsAfter / runsRightAfter / runsBefore) if
warn
is true. Components without a valid "runsAfter" or "runsRightAfter" are dropped with an "unreachable" warning. - def graphToDotFile(graph: DependencyGraph, file: File): Unit
Emit a graphviz dot file for the graph.
Emit a graphviz dot file for the graph. Plug-in supplied phases are marked as green nodes and hard links are marked as blue edges.
The Scala compiler and reflection APIs.