CloneableFinalInstantiable
Methods |
public __construct(League |
public getActiveBlockParser() : League
|
public parse(string $input) : League
|
Properties |
private array $activeBlockParsers = []
|
private array $closedBlockParsers = []
|
private League
|
private League
|
private int $lineNumber = 0
|
private int $maxNestingLevel
|
private League
|
Methods |
private activateBlockParser(League |
private addChild(League Add block of type tag as a child of the tip. If the tip can't accept children, close and finalize it and try its parent, and so on til we find a block that can accept children. |
private closeBlockParsers(int $count, int $endLineNumber) : void |
private deactivateBlockParser() : League
|
private finalize(League Finalize a block. Close it and do any necessary postprocessing, e.g. creating string_content from strings, setting the 'tight' or 'loose' status of a list, and parsing the beginnings of paragraphs for reference definitions. |
private findBlockStart(League |
private initialize() : void |
private parseBlockContinuation() : ?int |
private parseLine(string $line) : void Analyze a line of text and update the document appropriately. We parse markdown text by calling this on each line of input, then finalizing the document. |
private prepareActiveBlockParserForReplacement() : ?int
|
private processInlines() : void Walk through a block & children recursively, parsing string content into inline content where appropriate. |
private updateReferenceMap(iterable $references) : void
|