/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;
|
H A D | StateStack.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/ |
H A D | Parser.php | 7 use dokuwiki\Parsing\Lexer\Lexer; 12 * Sets up the Lexer with modes and points it to the Handler 13 * For an intro to the Lexer see: wiki:parser 20 /** @var Lexer $lexer */ 48 $this->lexer = new Lexer($this->handler, 'base', true); 50 $this->modes['base']->Lexer = $this->lexer; 67 $Mode->Lexer = $this->lexer; // FIXME should be done by setter 6 use dokuwiki\Parsing\Lexer\Lexer; global() alias
|
/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 | Camelcaselink.php | 10 $this->Lexer->addSpecialPattern(
|
H A D | Code.php | 10 $this->Lexer->addEntryPattern('<code\b(?=.*</code>)', $mode, 'code'); 16 $this->Lexer->addExitPattern('</code>', 'code');
|
H A D | Emaillink.php | 11 $this->Lexer->addSpecialPattern('<' . PREG_PATTERN_VALID_EMAIL . '>', $mode, 'emaillink');
|
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 | Filelink.php | 25 $this->Lexer->addSpecialPattern(
|
H A D | Footnote.php | 28 $this->Lexer->addEntryPattern( 38 $this->Lexer->addExitPattern(
|
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 | 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 | Linebreak.php | 10 $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
|
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 | Nocache.php | 10 $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
|
H A D | Notoc.php | 10 $this->Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc');
|