Home
last modified time | relevance | path

Searched refs:mode (Results 1 – 25 of 72) sorted by relevance

123

/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php53 * @param string $mode Should only apply this
57 public function addPattern($pattern, $mode = "accept") argument
59 if (! isset($this->regexes[$mode])) {
60 $this->regexes[$mode] = new ParallelRegex($this->case);
62 $this->regexes[$mode]->addPattern($pattern);
71 … * @param string $mode Should only apply this pattern when dealing with this type of input.
74 public function addEntryPattern($pattern, $mode, $new_mode) argument
76 if (! isset($this->regexes[$mode])) {
77 $this->regexes[$mode] = new ParallelRegex($this->case);
79 $this->regexes[$mode]->addPattern($pattern, $new_mode);
[all …]
/dokuwiki/inc/Parsing/ParserMode/
H A DModeInterface.php27 * @param string $mode
30 public function connectTo($mode); argument
42 * @param string $mode
45 public function accepts($mode); argument
H A DQuotes.php8 public function connectTo($mode) argument
18 $mode,
23 $mode,
28 $mode,
35 $mode,
40 $mode,
H A DEol.php8 public function connectTo($mode) argument
11 if (in_array($mode, $badModes)) {
16 $this->Lexer->addSpecialPattern('(?:^[ \t]*)?\n', $mode, 'eol');
H A DAbstractMode.php28 public function connectTo($mode) argument
38 public function accepts($mode) argument
40 return in_array($mode, (array) $this->allowedModes);
H A DUnformatted.php8 public function connectTo($mode) argument
10 $this->Lexer->addEntryPattern('<nowiki>(?=.*</nowiki>)', $mode, 'unformatted');
11 $this->Lexer->addEntryPattern('%%(?=.*%%)', $mode, 'unformattedalt');
H A DPreformatted.php8 public function connectTo($mode) argument
11 $this->Lexer->addEntryPattern('\n (?![\*\-])', $mode, 'preformatted');
12 $this->Lexer->addEntryPattern('\n\t(?![\*\-])', $mode, 'preformatted');
H A DListblock.php23 public function connectTo($mode) argument
25 $this->Lexer->addEntryPattern('[ \t]*\n {2,}[\-\*]', $mode, 'listblock');
26 $this->Lexer->addEntryPattern('[ \t]*\n\t{1,}[\-\*]', $mode, 'listblock');
H A DNocache.php8 public function connectTo($mode) argument
10 $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
H A DHeader.php8 public function connectTo($mode) argument
13 $mode,
H A DRss.php8 public function connectTo($mode) argument
10 $this->Lexer->addSpecialPattern("\{\{rss>[^\}]+\}\}", $mode, 'rss');
H A DCamelcaselink.php8 public function connectTo($mode) argument
12 $mode,
H A DMultiplyentity.php11 public function connectTo($mode) argument
16 $mode,
H A DInternallink.php8 public function connectTo($mode) argument
11 $this->Lexer->addSpecialPattern("\[\[.*?\]\](?!\])", $mode, 'internallink');
H A DNotoc.php8 public function connectTo($mode) argument
10 $this->Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc');
H A DHr.php8 public function connectTo($mode) argument
10 $this->Lexer->addSpecialPattern('\n[ \t]*-{4,}[ \t]*(?=\n)', $mode, 'hr');
H A DLinebreak.php8 public function connectTo($mode) argument
10 $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
H A DMedia.php8 public function connectTo($mode) argument
11 $this->Lexer->addSpecialPattern("\{\{(?:[^\}]|(?:\}[^\}]))+\}\}", $mode, 'media');
H A DEmaillink.php8 public function connectTo($mode) argument
11 $this->Lexer->addSpecialPattern('<' . PREG_PATTERN_VALID_EMAIL . '>', $mode, 'emaillink');
H A DFile.php8 public function connectTo($mode) argument
10 $this->Lexer->addEntryPattern('<file\b(?=.*</file>)', $mode, 'file');
H A DCode.php8 public function connectTo($mode) argument
10 $this->Lexer->addEntryPattern('<code\b(?=.*</code>)', $mode, 'code');
H A DWindowssharelink.php16 public function connectTo($mode) argument
20 $mode,
H A DTable.php23 public function connectTo($mode) argument
25 $this->Lexer->addEntryPattern('[\t ]*\n\^', $mode, 'table');
26 $this->Lexer->addEntryPattern('[\t ]*\n\|', $mode, 'table');
/dokuwiki/inc/Cache/
H A DCacheParser.php11 public $mode = ''; // input mode (represents the processing the input file will undergo) variable in dokuwiki\\Cache\\CacheParser
18 * @param string $mode input mode
20 public function __construct($id, $file, $mode) argument
28 $this->mode = $mode;
31 …struct($file . $INPUT->server->str('HTTP_HOST') . $INPUT->server->str('SERVER_PORT'), '.' . $mode);
/dokuwiki/inc/
H A Dcache.php27 public function __construct($id, $file, $mode) argument
30 parent::__construct($id, $file, $mode);
41 public function __construct($id, $file, $mode) argument
44 parent::__construct($id, $file, $mode);

123