[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * @package s9e\TextFormatter 5 * @copyright Copyright (c) 2010-2019 The s9e Authors 6 * @license http://www.opensource.org/licenses/mit-license.php The MIT License 7 */ 8 namespace s9e\TextFormatter\Plugins\Litedown; 9 use s9e\TextFormatter\Parser\Tag; 10 use s9e\TextFormatter\Plugins\Litedown\Parser\ParsedText; 11 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\Blocks; 12 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\Emphasis; 13 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\ForcedLineBreaks; 14 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\Images; 15 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\InlineCode; 16 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\LinkReferences; 17 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\Links; 18 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\Strikethrough; 19 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\Subscript; 20 use s9e\TextFormatter\Plugins\Litedown\Parser\Passes\Superscript; 21 use s9e\TextFormatter\Plugins\ParserBase; 22 class Parser extends ParserBase 23 { 24 public function parse($text, array $matches) 25 { 26 $text = new ParsedText($text); 27 $text->decodeHtmlEntities = $this->config['decodeHtmlEntities']; 28 (new Blocks($this->parser, $text))->parse(); 29 (new LinkReferences($this->parser, $text))->parse(); 30 (new InlineCode($this->parser, $text))->parse(); 31 (new Images($this->parser, $text))->parse(); 32 (new Links($this->parser, $text))->parse(); 33 (new Strikethrough($this->parser, $text))->parse(); 34 (new Subscript($this->parser, $text))->parse(); 35 (new Superscript($this->parser, $text))->parse(); 36 (new Emphasis($this->parser, $text))->parse(); 37 (new ForcedLineBreaks($this->parser, $text))->parse(); 38 } 39 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |