| /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/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 24 public function __construct($id, $file, $mode, $syntax = null) argument 32 $this->mode = $mode; 37 '.' . $mode
|
| /dokuwiki/inc/Parsing/ParserMode/ |
| 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 | 16 public function connectTo($mode) argument 18 if (in_array($mode, $this->registry->getBlockEolModes())) { 23 $this->Lexer->addSpecialPattern('(?:^[ \t]*)?\n', $mode, 'eol');
|
| H A D | AbstractFormatting.php | 37 return array_values(array_filter($modes, static fn($mode) => $mode !== $self)); 41 public function connectTo($mode) argument 44 if ($mode === $this->getModeName()) { 50 $mode,
|
| H A D | AbstractMode.php | 138 * @param string $mode 141 public function connectTo($mode) argument 245 * @param string $mode 248 public function accepts($mode) argument 250 return in_array($mode, $this->allowedModes, true);
|
| 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 | Notoc.php | 16 public function connectTo($mode) argument 18 $this->Lexer->addSpecialPattern('~~NOTOC~~', $mode, 'notoc');
|
| H A D | GfmLinebreak.php | 38 public function connectTo($mode) argument 46 $mode,
|
| 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 | GfmHr.php | 34 public function connectTo($mode) argument 40 $this->Lexer->addSpecialPattern($pattern, $mode, 'gfm_hr');
|
| H A D | Windowssharelink.php | 24 public function connectTo($mode) argument 28 $mode,
|
| H A D | GfmHtmlEntity.php | 48 public function connectTo($mode) argument 50 $this->Lexer->addSpecialPattern(HtmlEntity::PATTERN, $mode, 'gfm_html_entity');
|
| H A D | Emaillink.php | 17 public function connectTo($mode) argument 19 …$this->Lexer->addSpecialPattern('<' . MailUtils::PREG_PATTERN_VALID_EMAIL . '>', $mode, 'emaillink…
|
| /dokuwiki/inc/Parsing/ |
| H A D | Parser.php | 114 foreach (array_keys($this->modes) as $mode) { 115 if ($mode == 'base') continue; 116 $this->modes[$mode]->preConnect(); 119 foreach (array_keys($this->modes) as $mode) { 120 if ($mode == 'base') continue; 123 if ($this->modes[$cm]->accepts($mode)) { 124 $this->modes[$mode]->connectTo($cm); 128 $this->modes[$mode]->postConnect();
|
| /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); 67 $mode = new class extends \dokuwiki\Parsing\ParserMode\AbstractMode { 78 $handler->registerModeObject('m', $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);
|
| 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);
|
| H A D | StyleUtils.php | 102 foreach ($config['stylesheets'] as $inifile => $mode) { 106 … $this->getValidatedStyles($stylesheets, $inifile, $mode, $incbase, $webbase) 131 * @param string $mode 136 protected function getValidatedStyles($stylesheets, $file, $mode, $incbase, $webbase) argument 143 $stylesheets[$mode][$incbase . $basename . '.' . $newExtension] = $webbase; 152 $stylesheets[$mode][fullpath($incbase . $file)] = $webbase;
|
| /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;
|