BlockSource

Companion for creating BlockSource instances.

Companion:
class
class Object
trait Matchable
class Any

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.

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.