PHP Класс League\CommonMark\Block\Element\IndentedCode

Наследование: extends AbstractBlock
Показать файл Открыть проект

Открытые методы

Метод Описание
acceptsLines ( ) : boolean Returns true if block type can accept lines of text
canContain ( AbstractBlock $block ) : boolean Returns true if this block can contain the given block as a child node
finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
isCode ( ) : boolean Whether this is a code block
matchesNextLine ( Cursor $cursor )

Описание методов

acceptsLines() публичный Метод

Returns true if block type can accept lines of text
public acceptsLines ( ) : boolean
Результат boolean

canContain() публичный Метод

Returns true if this block can contain the given block as a child node
public canContain ( AbstractBlock $block ) : boolean
$block AbstractBlock
Результат boolean

finalize() публичный Метод

public finalize ( League\CommonMark\ContextInterface $context, $endLineNumber )
$context League\CommonMark\ContextInterface

handleRemainingContents() публичный Метод

public handleRemainingContents ( League\CommonMark\ContextInterface $context, Cursor $cursor )
$context League\CommonMark\ContextInterface
$cursor League\CommonMark\Cursor

isCode() публичный Метод

Whether this is a code block
public isCode ( ) : boolean
Результат boolean

matchesNextLine() публичный Метод

public matchesNextLine ( Cursor $cursor )
$cursor League\CommonMark\Cursor