| /dokuwiki/inc/Parsing/Lexer/ |
| H A D | Lexer.php | 53 * @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 D | ModeInterface.php | 27 * @param string $mode 30 public function connectTo($mode); argument 42 * @param string $mode 45 public function accepts($mode); argument
|
| H A D | Quotes.php | 8 public function connectTo($mode) argument 18 $mode, 23 $mode, 28 $mode, 35 $mode, 40 $mode,
|
| H A D | Eol.php | 8 public function connectTo($mode) argument 11 if (in_array($mode, $badModes)) { 16 $this->Lexer->addSpecialPattern('(?:^[ \t]*)?\n', $mode, 'eol');
|
| H A D | AbstractMode.php | 28 public function connectTo($mode) argument 38 public function accepts($mode) argument 40 return in_array($mode, (array) $this->allowedModes);
|
| H A D | Unformatted.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addEntryPattern('<nowiki>(?=.*</nowiki>)', $mode, 'unformatted'); 11 $this->Lexer->addEntryPattern('%%(?=.*%%)', $mode, 'unformattedalt');
|
| H A D | Preformatted.php | 8 public function connectTo($mode) argument 11 $this->Lexer->addEntryPattern('\n (?![\*\-])', $mode, 'preformatted'); 12 $this->Lexer->addEntryPattern('\n\t(?![\*\-])', $mode, 'preformatted');
|
| H A D | Listblock.php | 23 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 D | Nocache.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
|
| H A D | Header.php | 8 public function connectTo($mode) argument 13 $mode,
|
| H A D | Rss.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addSpecialPattern("\{\{rss>[^\}]+\}\}", $mode, 'rss');
|
| H A D | Camelcaselink.php | 8 public function connectTo($mode) argument 12 $mode,
|
| H A D | Multiplyentity.php | 11 public function connectTo($mode) argument 16 $mode,
|
| H A D | Internallink.php | 8 public function connectTo($mode) argument 11 $this->Lexer->addSpecialPattern("\[\[.*?\]\](?!\])", $mode, 'internallink');
|
| H A D | Notoc.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc');
|
| H A D | Hr.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addSpecialPattern('\n[ \t]*-{4,}[ \t]*(?=\n)', $mode, 'hr');
|
| H A D | Linebreak.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
|
| H A D | Media.php | 8 public function connectTo($mode) argument 11 $this->Lexer->addSpecialPattern("\{\{(?:[^\}]|(?:\}[^\}]))+\}\}", $mode, 'media');
|
| H A D | Emaillink.php | 8 public function connectTo($mode) argument 11 $this->Lexer->addSpecialPattern('<' . PREG_PATTERN_VALID_EMAIL . '>', $mode, 'emaillink');
|
| H A D | File.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addEntryPattern('<file\b(?=.*</file>)', $mode, 'file');
|
| H A D | Code.php | 8 public function connectTo($mode) argument 10 $this->Lexer->addEntryPattern('<code\b(?=.*</code>)', $mode, 'code');
|
| H A D | Windowssharelink.php | 16 public function connectTo($mode) argument 20 $mode,
|
| H A D | Table.php | 23 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 D | CacheParser.php | 11 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 D | cache.php | 27 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);
|