PositionalAttributes

laika.directive.BuilderContext.Combinators.PositionalAttributes
class PositionalAttributes[T](decoder: ConfigDecoder[T]) extends DirectivePart[Seq[T]]

Attributes

Graph
Supertypes
class DirectivePart[Seq[T]]
trait DirectiveContext => Result[Seq[T]]
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(context: DirectiveContext): Result[Seq[T]]
def as[U](implicit decoder: ConfigDecoder[U]): PositionalAttributes[U]
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

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

def widen: DirectivePart[Seq[T]]

Inherited methods

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

Attributes

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

Attributes

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

Attributes

Inherited from:
DirectivePart
def map[B](f: Seq[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