Home
last modified time | relevance | path

Searched refs:Lexer (Results 1 – 25 of 38) sorted by path

12

/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php10 namespace dokuwiki\Parsing\Lexer;
18 class Lexer class
H A DParallelRegex.php10 namespace dokuwiki\Parsing\Lexer;
H A DStateStack.php10 namespace dokuwiki\Parsing\Lexer;
/dokuwiki/inc/Parsing/
H A DParser.php6 use dokuwiki\Parsing\Lexer\Lexer; alias
19 /** @var Lexer $lexer */
45 $this->lexer = new Lexer($this->handler, 'base', true);
47 $this->modes['base']->Lexer = $this->lexer;
63 $Mode->Lexer = $this->lexer; // FIXME should be done by setter
/dokuwiki/inc/Parsing/ParserMode/
H A DAbstractMode.php14 public $Lexer; variable in dokuwiki\\Parsing\\ParserMode\\AbstractMode
H A DAcronym.php38 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'acronym');
H A DCamelcaselink.php11 $this->Lexer->addSpecialPattern(
H A DCode.php11 $this->Lexer->addEntryPattern('<code\b(?=.*</code>)', $mode, 'code');
17 $this->Lexer->addExitPattern('</code>', 'code');
H A DEmaillink.php12 $this->Lexer->addSpecialPattern('<'.PREG_PATTERN_VALID_EMAIL.'>', $mode, 'emaillink');
H A DEntity.php5 use dokuwiki\Parsing\Lexer\Lexer; alias
30 $this->pattern .= $sep. Lexer::escape($entity);
41 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'entity');
H A DEol.php17 $this->Lexer->addSpecialPattern('(?:^[ \t]*)?\n', $mode, 'eol');
H A DExternallink.php37 $this->Lexer->addSpecialPattern($pattern, $mode, 'externallink');
H A DFile.php11 $this->Lexer->addEntryPattern('<file\b(?=.*</file>)', $mode, 'file');
17 $this->Lexer->addExitPattern('</file>', 'file');
H A DFilelink.php27 $this->Lexer->addSpecialPattern(
H A DFootnote.php29 $this->Lexer->addEntryPattern(
39 $this->Lexer->addExitPattern(
H A DFormatting.php93 $this->Lexer->addEntryPattern(
104 $this->Lexer->addExitPattern(
H A DHeader.php12 $this->Lexer->addSpecialPattern(
H A DHr.php11 $this->Lexer->addSpecialPattern('\n[ \t]*-{4,}[ \t]*(?=\n)', $mode, 'hr');
H A DHtml.php11 $this->Lexer->addEntryPattern('<html>(?=.*</html>)', $mode, 'html');
12 $this->Lexer->addEntryPattern('<HTML>(?=.*</HTML>)', $mode, 'htmlblock');
18 $this->Lexer->addExitPattern('</html>', 'html');
19 $this->Lexer->addExitPattern('</HTML>', 'htmlblock');
H A DInternallink.php12 $this->Lexer->addSpecialPattern("\[\[.*?\]\](?!\])", $mode, 'internallink');
H A DLinebreak.php11 $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
H A DListblock.php26 $this->Lexer->addEntryPattern('[ \t]*\n {2,}[\-\*]', $mode, 'listblock');
27 $this->Lexer->addEntryPattern('[ \t]*\n\t{1,}[\-\*]', $mode, 'listblock');
29 $this->Lexer->addPattern('\n {2,}[\-\*]', 'listblock');
30 $this->Lexer->addPattern('\n\t{1,}[\-\*]', 'listblock');
36 $this->Lexer->addExitPattern('\n', 'listblock');
H A DMedia.php12 $this->Lexer->addSpecialPattern("\{\{(?:[^\}]|(?:\}[^\}]))+\}\}", $mode, 'media');
H A DMultiplyentity.php15 $this->Lexer->addSpecialPattern(
H A DNocache.php11 $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');

12