Свойство | Type | Description | |
---|---|---|---|
$char | string | ||
$info | string | ||
$length | integer | ||
$offset | integer |
Méthode | Description | |
---|---|---|
__construct ( integer $length, string $char, integer $offset ) | ||
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 ) | ||
getChar ( ) : string | ||
getInfo ( ) : string | ||
getInfoWords ( ) : string[] | ||
getLength ( ) : integer | ||
getOffset ( ) : integer | ||
handleRemainingContents ( League\CommonMark\ContextInterface $context, |
||
isCode ( ) : boolean | Whether this is a code block | |
matchesNextLine ( |
||
setChar ( string $char ) | ||
setLength ( integer $length ) | ||
setOffset ( integer $offset ) | ||
shouldLastLineBeBlank ( |
public acceptsLines ( ) : boolean | ||
Résultat | boolean |
public canContain ( |
||
$block | ||
Résultat | 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 |
public shouldLastLineBeBlank ( |
||
$cursor | ||
$currentLineNumber | integer | |
Résultat | boolean |