class League / CommonMark / Delimiter / DelimiterStack
final

DelimiterStack

Properties

private

$top

Default: null

Methods

public

push ( DelimiterInterface $newDelimiter ) : void

private

findEarliest ( DelimiterInterface $stackBottom ) : void

public

removeDelimiter ( DelimiterInterface $delimiter ) : void

private

removeDelimiterAndNode ( DelimiterInterface $delimiter ) : void

private

removeDelimitersBetween ( DelimiterInterface $opener , DelimiterInterface $closer ) : void

public

removeAll ( DelimiterInterface $stackBottom ) : void

public

removeEarlierMatches ( string $character ) : void

public

searchByCharacter ( $characters ) : void

Parameters

  • $characters string|string[]
public

processDelimiters ( DelimiterInterface $stackBottom , DelimiterProcessorCollection $processors ) : void