Property | Type | Description | |
---|---|---|---|
$type | integer |
Method | Description | |
---|---|---|
__construct ( integer $type ) | ||
acceptsLines ( ) : boolean | Returns true if block type can accept lines of text | |
canContain ( |
Returns true if this block can contain the given block as a child node | |
finalize ( League\CommonMark\ContextInterface $context, $endLineNumber ) | ||
getType ( ) : integer | ||
handleRemainingContents ( League\CommonMark\ContextInterface $context, |
||
isCode ( ) : boolean | Whether this is a code block | |
matchesNextLine ( |
||
setType ( integer $type ) |
public acceptsLines ( ) : boolean | ||
return | boolean |
public canContain ( |
||
$block | ||
return | boolean |
public finalize ( League\CommonMark\ContextInterface $context, $endLineNumber ) | ||
$context | League\CommonMark\ContextInterface |
public handleRemainingContents ( League\CommonMark\ContextInterface $context, |
||
$context | League\CommonMark\ContextInterface | |
$cursor |
public matchesNextLine ( |
||
$cursor |