laika.directive.Directives

BuilderContext

trait BuilderContext[E <: Element] extends AnyRef

Provides the basic building blocks for Laika's Directive API. This trait is not used directly, but instead its three subtraits Blocks, Spans and Templates, which represent the concrete implementations for the three directive types.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BuilderContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Converter[T] = (Parser, String) ⇒ Result[T]

  2. class Directive extends AnyRef

    Represents a directive, its name and its (combined) parts.

  3. trait DirectiveContext extends AnyRef

    The context of a directive during execution.

  4. abstract class DirectivePart[+A] extends (DirectiveContext) ⇒ Result[A]

    Represents a single part (attribute or body) of a directive or a combination of multiple parts.

  5. abstract type Parser <: (String) ⇒ Seq[E]

    The parser API in case a directive function needs to manually parse one of the directive parts.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. implicit object CanBuildDirectivePart extends CanBuild[DirectivePart]

    Type class required for using the generic Builders API with directives.

  7. object Combinators

    Provides various combinators to describe the expected format of a specific directive.

  8. object Converters

    Provides various converter functions that can be used with the directive combinators to convert the string value obtained from a directive attribute or body.

  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def create(name: String)(part: DirectivePart[E]): Directive

    Creates a new directive with the specified name and part specification.

  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  22. def toMap(directives: Traversable[Directive]): Map[String, Directive]

    Turns a collection of directives into a map, using the name of the directive as the key.

  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped