\WikiLingo\Expression\BlockTypeListContainer

A flat manages the creation of the Hierarchical items. There is only one flat for a Hierarchical group.

Class Flat

Summary

Methods
Properties
Constants
__construct()
add()
newEmptyParentAtDepth()
render()
makeParent()
parentAtDepth()
setActiveParent()
closeParents()
$block
$parser
$beginningLineNo
$endingLineNo
$ordered
$listItemCollectionRenderDelegate
$listItemRenderDelegate
$leaders
$activeDepth
$items
$parents
$parentActive
$length
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$block

$block : \WikiLingo\Expression\Block

Type

\WikiLingo\Expression\Block — set from the parent

$beginningLineNo

$beginningLineNo

$endingLineNo

$endingLineNo

$ordered

$ordered

$listItemCollectionRenderDelegate

$listItemCollectionRenderDelegate

$listItemRenderDelegate

$listItemRenderDelegate

$activeDepth

$activeDepth : int

Type

int

$items

$items : \WikiLingo\Utilities\Tensor\Hierarchical[]

Type

\WikiLingo\Utilities\Tensor\Hierarchical[]

$parents

$parents : \WikiLingo\Utilities\Tensor\Hierarchical[][]

Type

\WikiLingo\Utilities\Tensor\Hierarchical[][]

$parentActive

$parentActive : int[]

Type

int[]

$length

$length

Methods

__construct()

__construct(\WikiLingo\Expression\Block $block, bool $ordered)

Parameters

\WikiLingo\Expression\Block $block
bool $ordered

parentAtDepth()

parentAtDepth(\WikiLingo\Utilities\Tensor\Number $depth) : \WikiLingo\Utilities\Tensor\Hierarchical

Parameters

\WikiLingo\Utilities\Tensor\Number $depth

Returns

\WikiLingo\Utilities\Tensor\Hierarchical

closeParents()

closeParents(\WikiLingo\Utilities\Tensor\Number $depth)

Parameters

\WikiLingo\Utilities\Tensor\Number $depth