interface
League
/
CommonMark
/
Parser
/
Block
/
BlockContinueParserInterface
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
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