class League / CommonMark / Extension / Table / TableParser
final

TableParser

Extends

Implements

Properties

private

$block

Default: null
private

$bodyLines ArrayCollection

Default: null
private

$columns array|null>

Default: null
private

$headerCells array

Default: null
private

$nextIsSeparatorLine

Default: true

Methods

public

__construct ( array $columns , array $headerCells ) : void

Parameters

  • $columns array|null>
  • $headerCells array
public

canHaveLazyContinuationLines ( ) : void

public

getBlock ( ) : void

public

tryContinue ( Cursor $cursor , BlockContinueParserInterface $activeBlockParser ) : void

public

addLine ( string $line ) : void

public

parseInlines ( InlineParserEngineInterface $inlineParser ) : void

private

parseCell ( string $cell , int $column , InlineParserEngineInterface $inlineParser ) : void

public static

split ( string $line ) : array