GroupedSections

Companion:
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Classlikes

final case class ExtendedSectionGrouperState[A <: ExtendedSection](accumulatorByIds: Map[ExtendedTableId, SectionAccumulator[A]])
final case class ExtendedTableId(tableId: Int, tableIdExtension: Int)
final implicit implicit class InvariantOps[A <: Section](val self: GroupedSections[A]) extends AnyVal

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror

Value members

Concrete methods

def apply[A <: Section](head: A, tail: List[A]): GroupedSections[A]

Groups sections in to groups.

Groups sections in to groups.

Extended sections, aka sections with the section syntax indicator set to true, are automatically handled. Non-extended sections are emitted as singleton groups.

def groupGeneral[NonExtendedState](initialNonExtendedState: NonExtendedState, nonExtended: Scan[NonExtendedState, Section, Either[GroupingError, GroupedSections[Section]]]): Scan[(NonExtendedState, ExtendedSectionGrouperState[ExtendedSection]), Section, Either[GroupingError, GroupedSections[Section]]]

Groups sections in to groups.

Groups sections in to groups.

Extended sections, aka sections with the section syntax indicator set to true, are automatically handled. The specified nonExtended process is used to handle non-extended sections.

def groupGeneralConditionally[NonExtendedState](initialNonExtendedState: NonExtendedState, nonExtended: Scan[NonExtendedState, Section, Either[GroupingError, GroupedSections[Section]]], groupExtended: ExtendedSection => Boolean): Scan[(NonExtendedState, ExtendedSectionGrouperState[ExtendedSection]), Section, Either[GroupingError, GroupedSections[Section]]]

Groups sections in to groups.

Groups sections in to groups.

Extended sections, aka sections with the section syntax indicator set to true, are automatically handled if true is returned from the groupExtended function when applied with the section in question.

The specified nonExtended transducer is used to handle non-extended sections.

Implicits

Implicits

final implicit def InvariantOps[A <: Section](self: GroupedSections[A]): InvariantOps[A]