Home
last modified time | relevance | path

Searched refs:Lexer (Results 1 – 25 of 38) sorted by last modified time

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 DCamelcaselink.php11 $this->Lexer->addSpecialPattern(
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 DSmiley.php5 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 DWindowssharelink.php19 $this->Lexer->addSpecialPattern(
H A DAcronym.php38 $this->Lexer->addSpecialPattern($this->pattern, $mode, 'acronym');
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 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 DFormatting.php93 $this->Lexer->addEntryPattern(
104 $this->Lexer->addExitPattern(
H A DHeader.php12 $this->Lexer->addSpecialPattern(
H A DInternallink.php12 $this->Lexer->addSpecialPattern("\[\[.*?\]\](?!\])", $mode, 'internallink');
H A DQuotes.php17 $this->Lexer->addSpecialPattern(
22 $this->Lexer->addSpecialPattern(
27 $this->Lexer->addSpecialPattern(
34 $this->Lexer->addSpecialPattern(
39 $this->Lexer->addSpecialPattern(
H A DAbstractMode.php14 public $Lexer; variable in dokuwiki\\Parsing\\ParserMode\\AbstractMode
H A DFootnote.php29 $this->Lexer->addEntryPattern(
39 $this->Lexer->addExitPattern(
H A DLinebreak.php11 $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
H A DPreformatted.php12 $this->Lexer->addEntryPattern('\n (?![\*\-])', $mode, 'preformatted');
13 $this->Lexer->addEntryPattern('\n\t(?![\*\-])', $mode, 'preformatted');
16 $this->Lexer->addPattern('\n ', 'preformatted');
17 $this->Lexer->addPattern('\n\t', 'preformatted');
23 $this->Lexer->addExitPattern('\n', 'preformatted');
H A DQuote.php26 $this->Lexer->addEntryPattern('\n>{1,}', $mode, 'quote');
32 $this->Lexer->addPattern('\n>{1,}', 'quote');
33 $this->Lexer->addExitPattern('\n', 'quote');
H A DWordblock.php5 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');
/dokuwiki/inc/
H A Ddeprecated.php54 return \dokuwiki\Parsing\Lexer\Lexer::escape($str);

12