PHP Class League\CommonMark\InlineParserEngine

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( Environment $environment )
parse ( League\CommonMark\Node\Node $container, ReferenceMap $referenceMap )

Méthodes protégées

Méthode Description
parseCharacter ( string $character, InlineParserContext $inlineParserContext ) : boolean
processInlines ( InlineParserContext $inlineParserContext )

Private Methods

Méthode Description
addPlainText ( string $character, League\CommonMark\Node\Node $container, InlineParserContext $inlineParserContext )

Method Details

__construct() public méthode

public __construct ( Environment $environment )
$environment Environment

parse() public méthode

public parse ( League\CommonMark\Node\Node $container, ReferenceMap $referenceMap )
$container League\CommonMark\Node\Node
$referenceMap League\CommonMark\Reference\ReferenceMap

parseCharacter() protected méthode

protected parseCharacter ( string $character, InlineParserContext $inlineParserContext ) : boolean
$character string
$inlineParserContext InlineParserContext
Résultat boolean Whether we successfully parsed a character at that position

processInlines() protected méthode

protected processInlines ( InlineParserContext $inlineParserContext )
$inlineParserContext InlineParserContext

Property Details

$environment protected_oe property

protected $environment