BlockSource

laika.parse.BlockSource$
See theBlockSource companion class

Companion for creating BlockSource instances.

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply(lines: Type[LineSource]): BlockSource

Creates a new block source for the specified lines. Each line can have a different x- and y-offset from the root input as they may have been obtained by a previously applied block parser that stripped some decoration.

Creates a new block source for the specified lines. Each line can have a different x- and y-offset from the root input as they may have been obtained by a previously applied block parser that stripped some decoration.

Attributes

def apply(firstLine: LineSource, rest: LineSource*): BlockSource

Creates a new block source for the specified lines. Each line can have a different x- and y-offset from the root input as they may have been obtained by a previously applied block parser that stripped some decoration.

Creates a new block source for the specified lines. Each line can have a different x- and y-offset from the root input as they may have been obtained by a previously applied block parser that stripped some decoration.

Attributes