RewritePhase

case object RewritePhase
Companion:
class
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Type members

Classlikes

case object Build extends RewritePhase

Represents the first rewrite phase after parsing.

Represents the first rewrite phase after parsing.

This is the only phase where the introduction of new link targets is still allowed. By default all directives and all rewrite rules that do not have access to a document cursor run in this phase.

case class Render(context: OutputContext) extends RewritePhase

Represents the final rewrite phase before rendering.

Represents the final rewrite phase before rendering.

This phase is specific to the output format and therefore the only phase type that is parameterized. By default all directives and all rewrite rules that do have access to a document cursor run in this phase to ensure that their cursor represents a state that is close to the final AST passed to the renderer.

Companion:
object
object Render
Companion:
class
case object Resolve extends RewritePhase

Represents the second rewrite phase between parsing and rendering.

Represents the second rewrite phase between parsing and rendering.

By default no user rules or directives run in this phase, it is mostly reserved for the internal rules for link resolvers and similar tasks.

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = Singleton
Inherited from:
Singleton

Value members

Inherited methods

def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product