/dokuwiki/inc/Parsing/Lexer/ |
H A D | Lexer.php | 4 * Lexer adapted from Simple Test: http://sourceforge.net/projects/simpletest/ 5 * For an intro to the Lexer see: 11 namespace dokuwiki\Parsing\Lexer; 17 * parser once. Lexer modes must not start with leading underscores. 19 class Lexer 18 class Lexer global() class
|
H A D | ParallelRegex.php | 4 * Lexer adapted from Simple Test: http://sourceforge.net/projects/simpletest/ 5 * For an intro to the Lexer see: 11 namespace dokuwiki\Parsing\Lexer;
|
/dokuwiki/inc/Parsing/ParserMode/ |
H A D | AbstractMode.php | 5 use dokuwiki\Parsing\Lexer\Lexer; 9 * modes with the Lexer. 15 /** @var Lexer $Lexer will be injected on loading FIXME this should be done by setter */ 16 public $Lexer; 14 public $Lexer; global() variable in dokuwiki\\Parsing\\ParserMode\\AbstractMode
|
H A D | Acronym.php | 28 $acronyms = array_map(['\\dokuwiki\\Parsing\\Lexer\\Lexer', 'escape'], $this->acronyms); 38 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'acronym');
|
H A D | Code.php | 10 $this->Lexer->addEntryPattern('<code\b(?=.*</code>)', $mode, 'code'); 16 $this->Lexer->addExitPattern('</code>', 'code');
|
H A D | Entity.php | 5 use dokuwiki\Parsing\Lexer\Lexer; alias 29 $this->pattern .= $sep . Lexer::escape($entity); 40 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'entity');
|
H A D | Eol.php | 16 $this->Lexer->addSpecialPattern('(?:^[ \t]*)?\n', $mode, 'eol');
|
H A D | Externallink.php | 37 $this->Lexer->addSpecialPattern($pattern, $mode, 'externallink');
|
H A D | File.php | 10 $this->Lexer->addEntryPattern('<file\b(?=.*</file>)', $mode, 'file'); 16 $this->Lexer->addExitPattern('</file>', 'file');
|
H A D | Hr.php | 10 $this->Lexer->addSpecialPattern('\n[ \t]*-{4,}[ \t]*(?=\n)', $mode, 'hr');
|
H A D | Internallink.php | 11 $this->Lexer->addSpecialPattern("\[\[.*?\]\](?!\])", $mode, 'internallink');
|
H A D | Listblock.php | 25 $this->Lexer->addEntryPattern('[ \t]*\n {2,}[\-\*]', $mode, 'listblock'); 26 $this->Lexer->addEntryPattern('[ \t]*\n\t{1,}[\-\*]', $mode, 'listblock'); 28 $this->Lexer->addPattern('\n {2,}[\-\*]', 'listblock'); 29 $this->Lexer->addPattern('\n\t{1,}[\-\*]', 'listblock'); 35 $this->Lexer->addExitPattern('\n', 'listblock');
|
H A D | Media.php | 11 $this->Lexer->addSpecialPattern("\{\{(?:[^\}]|(?:\}[^\}]))+\}\}", $mode, 'media');
|
H A D | Multiplyentity.php | 14 $this->Lexer->addSpecialPattern(
|
H A D | Notoc.php | 10 $this->Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc');
|
H A D | Quote.php | 25 $this->Lexer->addEntryPattern('\n>{1,}', $mode, 'quote'); 31 $this->Lexer->addPattern('\n>{1,}', 'quote'); 32 $this->Lexer->addExitPattern('\n', 'quote');
|
H A D | Rss.php | 10 $this->Lexer->addSpecialPattern("\{\{rss>[^\}]+\}\}", $mode, 'rss');
|
H A D | Smiley.php | 5 use dokuwiki\Parsing\Lexer\Lexer; alias 28 $this->pattern .= $sep . '(?<=\W|^)' . Lexer::escape($smiley) . '(?=\W|$)'; 39 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'smiley');
|
H A D | Windowssharelink.php | 18 $this->Lexer->addSpecialPattern(
|
H A D | Wordblock.php | 5 use dokuwiki\Parsing\Lexer\Lexer; alias 34 $this->pattern .= $sep . '(?<=\b)(?i)' . Lexer::escape($badword) . '(?-i)(?=\b)'; 43 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'wordblock');
|
H A D | Filelink.php | 25 $this->Lexer->addSpecialPattern(
|
H A D | Formatting.php | 88 $this->Lexer->addEntryPattern( 99 $this->Lexer->addExitPattern(
|
H A D | Header.php | 11 $this->Lexer->addSpecialPattern(
|
H A D | Table.php | 25 $this->Lexer->addEntryPattern('[\t ]*\n\^', $mode, 'table'); 26 $this->Lexer->addEntryPattern('[\t ]*\n\|', $mode, 'table'); 32 $this->Lexer->addPattern('\n\^', 'table'); 33 $this->Lexer->addPattern('\n\|', 'table'); 34 $this->Lexer->addPattern('[\t ]*:::[\t ]*(?=[\|\^])', 'table'); 35 $this->Lexer->addPattern('[\t ]+', 'table'); 36 $this->Lexer->addPattern('\^', 'table'); 37 $this->Lexer->addPattern('\|', 'table'); 38 $this->Lexer->addExitPattern('\n', 'table');
|
/dokuwiki/lib/plugins/info/ |
H A D | syntax.php | 44 $this->Lexer->addSpecialPattern('~~INFO:\w+~~', $mode, 'plugin_info');
|