DirectivePart

abstract class DirectivePart[+A] extends DirectiveContext => Result[A]

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

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract 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.

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.

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.

Concrete methods

def evalMap[B](f: A => Either[String, B]): DirectivePart[B]
def map[B](f: A => B): DirectivePart[B]

Inherited methods

@unspecialized
def andThen[A](g: Result[A] => A): DirectiveContext => A
Inherited from:
Function1
Inherited from:
Function1
@unspecialized
def compose[A](g: A => DirectiveContext): A => Result[A]
Inherited from:
Function1
override def toString(): String
Definition Classes
Function1 -> Any
Inherited from:
Function1