interface League / CommonMark / Parser / Block / BlockContinueParserInterface

BlockContinueParserInterface

Methods

public

getBlock ( ) : void

Return the current block being parsed by this parser

public

isContainer ( ) : void

Return whether we are parsing a container block

public

canHaveLazyContinuationLines ( ) : void

Return whether we are interested in possibly lazily parsing any subsequent lines

public

canContain ( AbstractBlock $childBlock ) : void

Determine whether the current block being parsed can contain the given child block

public

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

Attempt to parse the given line

public

addLine ( string $line ) : void

Add the given line of text to the current block

public

closeBlock ( ) : void

Close and finalize the current block