PHP Class League\CommonMark\DocParser

Afficher le fichier Open project: colinodell/commonmark-php Class Usage Examples

Protected Properties

Свойство Type Description
$environment Environment

Méthodes publiques

Méthode Description
__construct ( Environment $environment )
getEnvironment ( ) : Environment
parse ( string $input ) : Document

Private Methods

Méthode Description
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 )

Method Details

__construct() public méthode

public __construct ( Environment $environment )
$environment Environment

getEnvironment() public méthode

public getEnvironment ( ) : Environment
Résultat Environment

parse() public méthode

public parse ( string $input ) : Document
$input string
Résultat League\CommonMark\Block\Element\Document

Property Details

$environment protected_oe property

protected Environment,League\CommonMark $environment
Résultat Environment