RoleDirectivePart

laika.rst.ext.TextRoles$.RoleDirectivePart
abstract class RoleDirectivePart[+A] extends ParsedDirective => Result[A]

Represents a single part (field or body) of a directive.

Attributes

Graph
Supertypes
trait ParsedDirective => Result[A]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def flatMap[B](f: A => Result[B]): RoleDirectivePart[B]
def map[B](f: A => B): RoleDirectivePart[B]
def ~[B](other: RoleDirectivePart[B]): RoleDirectivePart[A ~ B]

Inherited methods

def andThen[A](g: Result[A] => A): T1 => A

Attributes

Inherited from:
Function1
def apply(v1: ParsedDirective): R

Attributes

Inherited from:
Function1
def compose[A](g: A => ParsedDirective): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1