| /dokuwiki/inc/Parsing/Lexer/ |
| H A D | Lexer.php | 60 * @param string $mode Should only apply this 64 public function addPattern($pattern, $mode = "accept") argument 66 if (! isset($this->regexes[$mode])) { 67 $this->regexes[$mode] = new ParallelRegex($this->case); 69 $this->regexes[$mode]->addPattern($pattern); 78 … * @param string $mode Should only apply this pattern when dealing with this type of input. 81 public function addEntryPattern($pattern, $mode, $new_mode) argument 83 if (! isset($this->regexes[$mode])) { 84 $this->regexes[$mode] = new ParallelRegex($this->case); 86 $this->regexes[$mode]->addPattern($pattern, $new_mode); [all …]
|
| /dokuwiki/inc/Parsing/ParserMode/ |
| H A D | ModeInterface.php | 29 * @param string $mode 32 public function connectTo($mode); argument 44 * @param string $mode 47 public function accepts($mode); argument
|
| 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 | Quotes.php | 16 public function connectTo($mode) argument 26 $mode, 31 $mode, 36 $mode, 43 $mode, 48 $mode,
|
| H A D | Eol.php | 17 public function connectTo($mode) argument 19 if (in_array($mode, ModeRegistry::getInstance()->getBlockEolModes())) { 24 $this->Lexer->addSpecialPattern('(?:^[ \t]*)?\n', $mode, 'eol');
|
| H A D | AbstractFormatting.php | 30 static fn($mode) => $mode !== $self 35 public function connectTo($mode) argument 38 if ($mode === $this->getModeName()) { 44 $mode,
|
| H A D | Unformatted.php | 16 public function connectTo($mode) argument 18 $this->Lexer->addEntryPattern('<nowiki>(?=.*</nowiki>)', $mode, 'unformatted'); 19 $this->Lexer->addEntryPattern('%%(?=.*%%)', $mode, 'unformattedalt');
|
| H A D | File.php | 17 public function connectTo($mode) argument 19 $this->Lexer->addEntryPattern('<file\b(?=.*</file>)', $mode, 'file');
|
| H A D | Nocache.php | 16 public function connectTo($mode) argument 18 $this->Lexer->addSpecialPattern('~~NOCACHE~~', $mode, 'nocache');
|
| H A D | Linebreak.php | 16 public function connectTo($mode) argument 18 $this->Lexer->addSpecialPattern('\x5C{2}(?:[ \t]|(?=\n))', $mode, 'linebreak');
|
| H A D | Hr.php | 16 public function connectTo($mode) argument 18 $this->Lexer->addSpecialPattern('\n[ \t]*-{4,}[ \t]*(?=\n)', $mode, 'hr');
|
| H A D | Notoc.php | 16 public function connectTo($mode) argument 18 $this->Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc');
|
| H A D | Camelcaselink.php | 16 public function connectTo($mode) argument 20 $mode,
|
| H A D | Multiplyentity.php | 19 public function connectTo($mode) argument 24 $mode,
|
| H A D | Emaillink.php | 16 public function connectTo($mode) argument 19 $this->Lexer->addSpecialPattern('<' . PREG_PATTERN_VALID_EMAIL . '>', $mode, 'emaillink');
|
| H A D | Windowssharelink.php | 24 public function connectTo($mode) argument 28 $mode,
|
| /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/Parsing/ |
| H A D | Parser.php | 86 foreach (array_keys($this->modes) as $mode) { 87 if ($mode == 'base') continue; 88 $this->modes[$mode]->preConnect(); 91 foreach (array_keys($this->modes) as $mode) { 92 if ($mode == 'base') continue; 95 if ($this->modes[$cm]->accepts($mode)) { 96 $this->modes[$mode]->connectTo($cm); 100 $this->modes[$mode]->postConnect();
|
| H A D | ModeRegistry.php | 140 * @param string $mode The mode name 143 public function registerBlockEolMode(string $mode): void argument 145 $this->blockEolModes[] = $mode; 162 * @param string $mode The mode name 166 public function registerLineStartMarkers(string $mode, array $markers): void argument 168 $this->lineStartMarkers[$mode] = $markers; 230 foreach ($builtinModes as $mode) { 231 $class = 'dokuwiki\\Parsing\\ParserMode\\' . ucfirst($mode); 235 'mode' => $mode,
|
| /dokuwiki/_test/tests/Parsing/ |
| H A D | HandlerTest.php | 15 $mode = new class extends \dokuwiki\Parsing\ParserMode\AbstractMode { 25 $handler->registerModeObject('resolved', $mode); 30 $this->assertSame('original', $mode->receivedModeName); 37 $mode = new class extends \dokuwiki\Parsing\ParserMode\AbstractMode { 47 $handler->registerModeObject('mymode', $mode); 52 $this->assertSame('mymode', $mode->receivedModeName);
|
| /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);
|
| H A D | compatibility.php | 48 * @param string $mode 52 function gzopen($filename, $mode, $use_include_path = 0) argument 54 return gzopen64($filename, $mode, $use_include_path);
|
| /dokuwiki/inc/Action/ |
| H A D | Export.php | 52 $mode = substr($this->actionname, 7); 53 switch ($mode) { 93 $output = p_cached_output(wikiFN($ID, $REV), $mode, $ID); 94 $headers = p_get_metadata($ID, "format $mode"); 101 $data['mode'] = $mode;
|
| /dokuwiki/vendor/phpseclib/phpseclib/phpseclib/Crypt/ |
| H A D | TripleDES.php | 131 * @param string $mode 133 public function __construct($mode) argument 135 switch (strtolower($mode)) { 155 $mode = 'cbc'; 159 parent::__construct($mode); 161 if ($this->mode == self::MODE_STREAM) { 180 $mode = $this->openssl_translate_mode(); 181 $this->cipher_name_openssl = $mode == 'ecb' ? 'des-ede3' : 'des-ede3-' . $mode;
|
| /dokuwiki/inc/Extension/ |
| H A D | SyntaxPlugin.php | 109 * @param string $mode 112 public function accepts($mode) argument 126 return parent::accepts($mode);
|