class League / CommonMark / Parser / InlineParserEngine
You are viewing an older version of the documentation. For the latest, please visit 2.4 documentation.
final

InlineParserEngine

Implements

Properties

private

$environment

Default: null
private

$referenceMap

Default: null
private

$parsers array|string|bool>

Default: null

Methods

public

__construct ( EnvironmentInterface $environment , ReferenceMapInterface $referenceMap ) : void

public

parse ( string $contents , AbstractBlock $block ) : void

private

addPlainText ( string $text , AbstractBlock $container ) : void

private

matchParsers ( string $contents ) : array|string>[]

Given the current line, ask all the parsers which parts of the text they would be interested in parsing.