BlockContainerCompanion

laika.ast.BlockContainerCompanion

Common methods for simple block containers (without additional parameters).

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object BlockSequence.type
object BodyCell.type
object BulletList.type
object EmbeddedRoot.type
object EnumList.type
object HeadCell.type
object QuotedBlock.type
object RootElement.type
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
SpanContainerCompanion

Value members

Abstract methods

protected def createBlockContainer(blocks: Seq[Block]): ContainerType

Concrete methods

def apply(block: Block, blocks: Block*): ContainerType

Create an instance containing one or more blocks

Create an instance containing one or more blocks

Attributes

protected def createSpanContainer(spans: Seq[Span]): ContainerType
override def empty: ContainerType

Creates an empty instance

Creates an empty instance

Attributes

Definition Classes

Inherited methods

def apply(span: Span, spans: Span*): ContainerType

Create an instance containing one or more spans

Create an instance containing one or more spans

Attributes

Inherited from:
SpanContainerCompanion
def apply(text: String, texts: String*): ContainerType

Create an instance only containing only one or more Text spans

Create an instance only containing only one or more Text spans

Attributes

Inherited from:
SpanContainerCompanion