SeparatedBodyPart

laika.directive.BuilderContext.Combinators.SeparatedBodyPart
class SeparatedBodyPart[T](directives: Seq[SeparatorDirective[T]]) extends DirectivePart[Multipart[T]]

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def hasBody: Boolean

Indicates whether the directive supports a body section after the directive name and attribute section.

Indicates whether the directive supports a body section after the directive name and attribute section.

Attributes

def needsCursor: Boolean

Indicates whether this part or any of its sub-parts requests access to a cursor. This information is used to determine the default phase a directive should be resolved in.

Indicates whether this part or any of its sub-parts requests access to a cursor. This information is used to determine the default phase a directive should be resolved in.

Attributes

override def separators: Set[String]

The names of the separator directives accepted by this directive part.

The names of the separator directives accepted by this directive part.

Attributes

Definition Classes
def toMultipart(context: DirectiveContext)(elements: Seq[E]): Result[Multipart[T]]

Inherited methods

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

Attributes

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

Attributes

Inherited from:
Function1
def evalMap[B](f: Multipart[T] => Either[String, B]): DirectivePart[B]

Attributes

Inherited from:
DirectivePart
def map[B](f: Multipart[T] => B): DirectivePart[B]

Attributes

Inherited from:
DirectivePart
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