PHP Класс League\CommonMark\DocParser

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$environment Environment

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

Метод Описание
__construct ( Environment $environment )
getEnvironment ( ) : Environment
parse ( string $input ) : Document

Приватные методы

Метод Описание
incorporateLine ( League\CommonMark\ContextInterface $context )
isLazyParagraphContinuation ( League\CommonMark\ContextInterface $context, Cursor $cursor ) : boolean
parseBlocks ( League\CommonMark\ContextInterface $context, Cursor $cursor ) Parse blocks
preProcessInput ( string $input ) : string[]
processDocument ( League\CommonMark\ContextInterface $context )
processInlines ( League\CommonMark\ContextInterface $context, League\CommonMark\Node\NodeWalker $walker )
resetContainer ( League\CommonMark\ContextInterface $context, Cursor $cursor ) Sets the container to the last open child (or its parent)
setAndPropagateLastLineBlank ( League\CommonMark\ContextInterface $context, Cursor $cursor )

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

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

public __construct ( Environment $environment )
$environment Environment

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

public getEnvironment ( ) : Environment
Результат Environment

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

public parse ( string $input ) : Document
$input string
Результат League\CommonMark\Block\Element\Document

Описание свойств

$environment защищенное свойство

protected Environment,League\CommonMark $environment
Результат Environment