Message

laika.parse.Message
See theMessage companion trait
object Message

Message companion providing several pre-built messages and factory methods.

Attributes

Companion
trait
Source
Parsed.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Message.type

Members list

Value members

Concrete methods

def fixed(msg: String): Message

Builds a message instance for a fixed string, independent of the parser context.

Builds a message instance for a fixed string, independent of the parser context.

Attributes

Source
Parsed.scala
def forContext(f: SourceCursor => String): Message

Builds a message instance for the specified factory function.

Builds a message instance for the specified factory function.

Attributes

Source
Parsed.scala
def forRuntimeValue[T](f: T => String): T => Message

Builds a factory function that produces new messages based on some arbitrary input type.

Builds a factory function that produces new messages based on some arbitrary input type. This allows to pre-capture some context for the message that does not relate to the parser context.

Attributes

Source
Parsed.scala

Concrete fields

Attributes

Source
Parsed.scala

Attributes

Source
Parsed.scala

Attributes

Source
Parsed.scala

Attributes

Source
Parsed.scala

Attributes

Source
Parsed.scala