Packages

object DependencyGraph

Source
PhaseAssembly.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DependencyGraph
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type Weight = Int

Value Members

  1. final val Follows: Int(1)
  2. final val FollowsNow: Int(0)
  3. final val Parser: String("parser")
  4. final val Terminal: String("terminal")
  5. 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.

  6. 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.