Home
last modified time | relevance | path

Searched refs:Lexer (Results 26 – 50 of 1044) sorted by relevance

12345678910>>...42

/plugin/markdowku/
H A Dblockquotes.php21 $this->Lexer->addEntryPattern(
30 $this->Lexer->addPattern(
34 $this->Lexer->addPattern(
38 $this->Lexer->addPattern(
45 $this->Lexer->addExitPattern(
H A Dhr.php22 $this->Lexer->addSpecialPattern(
27 $this->Lexer->addSpecialPattern(
32 $this->Lexer->addSpecialPattern(
H A Dcodeblocks.php19 $this->Lexer->addEntryPattern(
24 $this->Lexer->addPattern(
30 $this->Lexer->addExitPattern(
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/Atn/Actions/
H A DLexerAction.php8 use Antlr\Antlr4\Runtime\Lexer; alias
12 * match of a lexer rule. Lexer actions are used for both embedded action syntax
43 * Execute the lexer action in the context of the specified {@see Lexer}.
48 * @param Lexer $lexer The lexer instance.
50 public function execute(Lexer $lexer) : void;
/plugin/htmlokay/
H A Dsyntax.php87 $this->Lexer->addPattern('.<(?i)IFRAME.*?/IFRAME\s*>', 'plugin_htmlOKay');
88 $this->Lexer->addPattern('.<(?i)ILAYER.*?/ILAYER\s*>', 'plugin_htmlOKay');
90 $this->Lexer->addPattern('<(?i)FORM.*?</FORM\s*>', 'plugin_htmlOKay');
91 $this->Lexer->addPattern('<(?i)DIV.*?>', 'plugin_htmlOKay');
92 $this->Lexer->addPattern('<(?i)/DIV.*?>', 'plugin_htmlOKay');
93 $this->Lexer->addPattern('.<(?i)STYLE.*?/STYLE\s*>', 'plugin_htmlOKay');
94 $this->Lexer->addPattern('<(?i)SCRIPT.*?/script\s*>', 'plugin_htmlOKay');
95 $this->Lexer->addPattern('<(?i)TABLE.*?</TABLE\s*>', 'plugin_htmlOKay');
97 $this->Lexer->addPattern('(?i)ID\s*=\s*\W?.*?\W', 'plugin_htmlOKay');
98 $this->Lexer->addPattern('(?i)class\s*=\s*\W?.*?\W', 'plugin_htmlOKay');
[all …]
/plugin/struct/meta/
H A DSearch.php6 use dokuwiki\Parsing\Lexer\Lexer;
253 $LexerClass = class_exists('\Doku_Lexer') ? '\Doku_Lexer' : '\dokuwiki\Parsing\Lexer\Lexer';
255 /** @var \Doku_Lexer|Lexer $Lexer */
256 $Lexer = new $LexerClass($Handler, 'base', true);
259 $Lexer->addEntryPattern('\(', 'base', 'row');
260 $Lexer->addPattern('\s*,\s*', 'row');
261 $Lexer
[all...]
/plugin/blockquote/syntax/
H A Dblockquote.php44 …$this->Lexer->addEntryPattern('<blockquote.*?>(?=.*?</blockquote>)', $mode, 'plugin_blockquote_blo…
45 … $this->Lexer->addEntryPattern('<QUOTE.*?>(?=.*?</QUOTE>)', $mode, 'plugin_blockquote_blockquote');
49 $this->Lexer->addExitPattern('</blockquote>', 'plugin_blockquote_blockquote');
50 $this->Lexer->addExitPattern('</QUOTE>', 'plugin_blockquote_blockquote');
H A Dq.php41 $this->Lexer->addEntryPattern('<q.*?>(?=.*?</q>)', $mode, 'plugin_blockquote_q');
42 $this->Lexer->addEntryPattern('<quote.*?>(?=.*?</quote>)', $mode, 'plugin_blockquote_q');
46 $this->Lexer->addExitPattern('</q>', 'plugin_blockquote_q');
47 $this->Lexer->addExitPattern('</quote>', 'plugin_blockquote_q');
/plugin/dokuprism/syntax/
H A Dcode.php36 if ($this->getConf('override_file')) $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
37 if ($this->getConf('override_code')) $this->Lexer->addEntryPattern($this->pattern[11], $mode, $this->mode);
42 if ($this->getConf('override_file')) $this->Lexer->addExitPattern($this->pattern[2], $this->mode);
43 if ($this->getConf('override_code')) $this->Lexer->addExitPattern($this->pattern[12], $this->mode);
/plugin/changemarks/
H A Dinserted.php28 $this->Lexer->addEntryPattern('<ins[^\r\n]*?>(?=.*?</ins>)', $mode, $this->ins);
29 $this->Lexer->addEntryPattern('\+\+[^\r\n]*?>(?=.*?\+\+)', $mode, $this->ins);
33 $this->Lexer->addExitPattern('\+\+', $this->ins);
34 $this->Lexer->addExitPattern('</ins>', $this->ins);
H A Ddeleted.php28 $this->Lexer->addEntryPattern('<del[^\r\n]*?>(?=.*?</del>)', $mode, $this->ins);
29 $this->Lexer->addEntryPattern('\-\-[^\r\n]*?>(?=.*?\-\-)', $mode, $this->ins);
33 $this->Lexer->addExitPattern('\-\-', $this->ins);
34 $this->Lexer->addExitPattern('</del>', $this->ins);
/plugin/lastpages/
H A Dsyntax.php54 $this->Lexer->addSpecialPattern('~~LASTPAGES~~', $mode, 'plugin_lastpages');
55 $this->Lexer->addSpecialPattern('~~LAST10~~', $mode, 'plugin_lastpages');
56 $this->Lexer->addSpecialPattern('~~LAST5~~', $mode, 'plugin_lastpages');
57 $this->Lexer->addSpecialPattern('~~LIST10~~', $mode, 'plugin_lastpages');
58 $this->Lexer->addSpecialPattern('~~LIST5~~', $mode, 'plugin_lastpages');
/plugin/dwspecialist/
H A Dsyntax.php46 …$this->Lexer->addEntryPattern('<specialist>(?=.*?</specialist>)', $mode, 'plugin_dwspecialist' ); …
47 …$this->Lexer->addPattern('\n {2,}/*?[ ]*[^\n<]*<special[^\n>]*>', 'plugin_dwspecialist' ); // {\n…
48 …$this->Lexer->addPattern('\n {2,}/*?[ ]*<special[^\n>]*>', 'plugin_dwspecialist' ); // {\n * …
49 …$this->Lexer->addPattern('\n[ ]*<special[^\n>]*>', 'plugin_dwspecialist' ); // {\n <specia…
50 …$this->Lexer->addPattern('[^\n<]<special[^\n>]*>', 'plugin_dwspecialist' ); // {BlaBla <sp…
53 …function postConnect() { $this->Lexer->addExitPattern('</specialist\>', 'plugin_dwspecialist');}…
/plugin/isauth/
H A Dsyntax.php62 $this->Lexer->addEntryPattern('\[isauth.*?\](?=.*?\x5B/isauth\x5D)',$mode,'plugin_isauth');
64 $this->Lexer->addEntryPattern('<isauth.*?>(?=.*?\x3C/isauth\x3E)',$mode,'plugin_isauth');
67 $this->Lexer->addExitPattern('\[/isauth\]','plugin_isauth');
68 $this->Lexer->addExitPattern('</isauth>','plugin_isauth');
/plugin/box/
H A Dsyntax.php65 $this->Lexer->addEntryPattern('<box>(?=.*?</box.*?>)', $mode, 'plugin_box');
66 $this->Lexer->addEntryPattern('<box\s[^\r\n\|]*?>(?=.*?</box.*?>)', $mode, 'plugin_box');
67 $this->Lexer->addEntryPattern('<box\|(?=[^\r\n]*?\>.*?</box.*?\>)', $mode, 'plugin_box');
68 …$this->Lexer->addEntryPattern('<box\s[^\r\n\|]*?\|(?=[^\r\n]*?>.*?</box.*?>)', $mode, 'plugin_box'…
73 $this->Lexer->addPattern('>', 'plugin_box');
74 $this->Lexer->addExitPattern('</box.*?>', 'plugin_box');
/plugin/caption/syntax/
H A Dcaption.php56 $this->Lexer->addSpecialPattern('{{setcounter [a-z0-9=]+?}}',$mode,'plugin_caption_caption');
57 $this->Lexer->addEntryPattern('<figure.*?>(?=.*</figure>)',$mode,'plugin_caption_caption');
58 $this->Lexer->addEntryPattern('<table.*?>(?=.*</table>)',$mode,'plugin_caption_caption');
59 $this->Lexer->addEntryPattern('<codeblock.*?>(?=.*</codeblock>)',$mode,'plugin_caption_caption');
60 $this->Lexer->addEntryPattern('<fileblock.*?>(?=.*</fileblock>)',$mode,'plugin_caption_caption');
61 $this->Lexer->addPattern('<caption>(?=.*</caption>)','plugin_caption_caption');
62 $this->Lexer->addPattern('</caption>','plugin_caption_caption');
66 $this->Lexer->addExitPattern('</figure>','plugin_caption_caption');
67 $this->Lexer->addExitPattern('</table>','plugin_caption_caption');
68 $this->Lexer
[all...]
/plugin/noabstract/
H A Dsyntax.php16 $this->Lexer->addEntryPattern('<noabstract>(?=.*?</noabstract>)',$mode,'plugin_noabstract');
17 $this->Lexer->addSpecialPattern('~~NOABSTRACT~~', $mode, 'plugin_noabstract');
19 …public function postConnect() { $this->Lexer->addExitPattern('</noabstract>','plugin_noabstract');…
/plugin/commentsyntax/syntax/
H A Dcstyle.php56 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
59 $this->Lexer->addSpecialPattern($this->pattern[5], $mode, $this->mode);
65 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);
/plugin/fontsize/
H A Dsyntax.php31 $this->Lexer->addEntryPattern(',,+(?=.*,,+)',$mode,'plugin_fontsize');
35 $this->Lexer->addExitPattern('##+', 'plugin_fontsize');
36 $this->Lexer->addExitPattern(',,+', 'plugin_fontsize');
/plugin/fckg/syntax/
H A Dspecials.php56 $this->Lexer->addSpecialPattern('~~MULTI_PLUGIN_OPEN~~',$mode,'plugin_fckg_specials');
57 $this->Lexer->addSpecialPattern('~~MULTI_PLUGIN_CLOSE~~',$mode,'plugin_fckg_specials');
58 $this->Lexer->addSpecialPattern('~~COMPLEX_TABLES~~',$mode,'plugin_fckg_specials');
/plugin/cssperpage/
H A Dsyntax.php33 $this->Lexer->addSpecialPattern('~~cssp_openDIV~~',$mode,'plugin_cssperpage');
34 $this->Lexer->addSpecialPattern('~~cssp_closeDIV~~',$mode,'plugin_cssperpage');
35 $this->Lexer->addSpecialPattern('~~cssp_\w+_openDIV~~',$mode,'plugin_cssperpage');
/plugin/sectiontoggle/
H A Dsyntax.php33 $this->Lexer->addSpecialPattern('~~stoggle_buttons~~',$mode,'plugin_sectiontoggle');
34 $this->Lexer->addSpecialPattern('~~stoggle_openDIV~~',$mode,'plugin_sectiontoggle');
35 $this->Lexer->addSpecialPattern('~~stoggle_closeDIV~~',$mode,'plugin_sectiontoggle');
/plugin/inlinejs/syntax/
H A Dpreloader.php59 $this->Lexer->addEntryPattern($this->pattern[1], $mode, $this->mode);
64 $this->Lexer->addExitPattern($this->pattern[4], $this->mode);
65 $this->Lexer->addPattern($this->pattern[21], $this->mode);
66 $this->Lexer->addPattern($this->pattern[22], $this->mode);
67 $this->Lexer->addPattern($this->pattern[23], $this->mode);
/plugin/sugar/
H A Dsyntax.php33 $this->Lexer->addSpecialPattern('~~SugarOpportunity:[-0-9a-f]+~~', $mode, 'plugin_sugar');
34 $this->Lexer->addSpecialPattern('~~SugarAccount:[-0-9a-f]+~~', $mode, 'plugin_sugar');
35 $this->Lexer->addSpecialPattern('~~SugarContact:[-0-9a-f]+~~', $mode, 'plugin_sugar');
/plugin/chordsheets/
H A Dsyntax.php21 … $this->Lexer->addEntryPattern('<chordSheet.*?>(?=.*?</chordSheet>)',$mode,'plugin_chordsheets');
22 $this->Lexer->addSpecialPattern('%.*?\[\w+\]', $mode,'plugin_chordsheets');
24 …public function postConnect() { $this->Lexer->addExitPattern('</chordSheet>','plugin_chordsheets')…

12345678910>>...42