laika.parse.rst.TextRoles

Parts

object Parts

The public user API for specifying the required and optional parts of a directive (fields or body) together with optional converter/validator functions.

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

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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def blockContent: RoleDirectivePart[Seq[Block]]

    Specifies standard block-level content as the body of the directive.

    Specifies standard block-level content as the body of the directive.

    returns

    a directive part that can be combined with further parts with the ~ operator

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def content[T](f: (String) ⇒ Either[String, T]): RoleDirectivePart[T]

    Specifies that the body of the directive markup should get passed to the conversion function as a raw string.

    Specifies that the body of the directive markup should get passed to the conversion function as a raw string.

    f

    the function to use for converting and validating the parsed value

    returns

    a directive part that can be combined with further parts with the ~ operator

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

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

    Definition Classes
    AnyRef → Any
  12. def field[T](name: String, convert: (String) ⇒ Either[String, T] = s:String => Right(s)): RoleDirectivePart[T]

    Specifies a required named field.

    Specifies a required named field.

    name

    the name of the field as used in the directive markup (without the colons)

    convert

    the function to use for converting and validating the parsed value

    returns

    a directive part that can be combined with further parts with the ~ operator

  13. def finalize(): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  20. def optField[T](name: String, convert: (String) ⇒ Either[String, T] = s:String => Right(s)): RoleDirectivePart[Option[T]]

    Specifies an optional named field.

    Specifies an optional named field.

    name

    the name of the field as used in the directive markup (without the colons)

    convert

    the function to use for converting and validating the parsed value if it is present

    returns

    a directive part that can be combined with further parts with the ~ operator

  21. def spanContent: RoleDirectivePart[Seq[Span]]

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  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