Home
last modified time | relevance | path

Searched refs:Lexer (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/plugin/markdowku/
H A Descapespecialchars.php19 $this->Lexer->addSpecialPattern(
23 $this->Lexer->addSpecialPattern(
27 $this->Lexer->addSpecialPattern(
31 $this->Lexer->addSpecialPattern(
35 $this->Lexer->addSpecialPattern(
39 $this->Lexer->addSpecialPattern(
43 $this->Lexer->addSpecialPattern(
47 $this->Lexer->addSpecialPattern(
51 $this->Lexer->addSpecialPattern(
55 $this->Lexer->addSpecialPattern(
[all …]
/plugin/mathjax/syntax/
H A Dprotecttex.php69 …$this->Lexer->addEntryPattern('(?<!\\\\)\$(?=[^\$][^\r\n]*?\$)',$mode,'plugin_mathjax_protecttex');
70 $this->Lexer->addEntryPattern('\$\$(?=.*?\$\$)',$mode,'plugin_mathjax_protecttex');
71 $this->Lexer->addEntryPattern('\\\\\((?=.*?\\\\\))',$mode,'plugin_mathjax_protecttex');
72 $this->Lexer->addEntryPattern('\\\\\[(?=.*?\\\\])',$mode,'plugin_mathjax_protecttex');
79 $this->Lexer->addEntryPattern('`(?=.*?`)',$mode,'plugin_mathjax_protecttex');
92 $this->Lexer->addExitPattern('\$(?!\$)','plugin_mathjax_protecttex');
93 $this->Lexer->addExitPattern('\\\\\)','plugin_mathjax_protecttex');
94 $this->Lexer->addExitPattern('\\\\\]','plugin_mathjax_protecttex');
96 $this->Lexer->addExitPattern('\\\\end{' . $env . '}','plugin_mathjax_protecttex');
101 $this->Lexer->addExitPattern('`','plugin_mathjax_protecttex');
[all …]
/plugin/katex/syntax/
H A Dprotect.php75 … $this->Lexer->addEntryPattern( '(?<!\\\\)\$(?=[^\$][^\r\n]*?\$)', $mode, 'plugin_katex_protect' );
76 $this->Lexer->addEntryPattern( '\$\$(?=.*?\$\$)', $mode, 'plugin_katex_protect' );
77 $this->Lexer->addEntryPattern( '\\\\\((?=.*?\\\\\))', $mode, 'plugin_katex_protect' );
78 $this->Lexer->addEntryPattern( '\\\\\[(?=.*?\\\\])', $mode, 'plugin_katex_protect' );
85 $this->Lexer->addEntryPattern( '`(?=.*?`)', $mode, 'plugin_katex_protect' );
100 $this->Lexer->addExitPattern( '\$(?!\$)', 'plugin_katex_protect' );
101 $this->Lexer->addExitPattern( '\\\\\)', 'plugin_katex_protect' );
102 $this->Lexer->addExitPattern( '\\\\\]', 'plugin_katex_protect' );
104 $this->Lexer->addExitPattern( '\\\\end{' . $env . '}', 'plugin_katex_protect' );
109 $this->Lexer->addExitPattern( '`', 'plugin_katex_protect' );
[all …]
/plugin/yuriigantt/src/Driver/Embedded/
H A DLexer.php26 if (!class_exists(\dokuwiki\Parsing\Lexer\Lexer::class)) {
27 class_alias(\Doku_Lexer::class, \dokuwiki\Parsing\Lexer\Lexer::class);
30 class Lexer extends \dokuwiki\Parsing\Lexer\Lexer class
/plugin/dirtylittlehelper/syntax/
H A Dtablewiki.php50 …$this->Lexer->addSpecialPattern('\<dlh\.table\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$th…
51 …$this->Lexer->addSpecialPattern('\<\/dlh\.table\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->…
53 …$this->Lexer->addSpecialPattern('\<dlh\.caption\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$…
54 …$this->Lexer->addSpecialPattern('\<\/dlh\.caption\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this…
56 …$this->Lexer->addSpecialPattern('\<dlh\.th\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$this-…
57 …$this->Lexer->addSpecialPattern('\<\/dlh\.th\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->get…
59 …$this->Lexer->addSpecialPattern('\<dlh\.tr\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$this-…
60 …$this->Lexer->addSpecialPattern('\<\/dlh\.tr\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->get…
62 …$this->Lexer->addSpecialPattern('\<dlh\.td\.wiki[^\>]*\>',$mode,'plugin_dirtylittlehelper_'.$this-…
63 …$this->Lexer->addSpecialPattern('\<\/dlh\.td\.wiki\>',$mode,'plugin_dirtylittlehelper_'.$this->get…
/plugin/latexit/syntax/
H A Dmathjax.php82 … $this->Lexer->addEntryPattern('(?<!\\\\)\$(?=[^\$][^\r\n]*?\$)', $mode, 'plugin_latexit_mathjax');
83 $this->Lexer->addEntryPattern('\$\$(?=.*?\$\$)', $mode, 'plugin_latexit_mathjax');
84 $this->Lexer->addEntryPattern('\\\\\((?=.*?\\\\\))', $mode, 'plugin_latexit_mathjax');
85 $this->Lexer->addEntryPattern('\\\\\[(?=.*?\\\\])', $mode, 'plugin_latexit_mathjax');
87 …$this->Lexer->addEntryPattern('\\\\begin{' . $env . '}(?=.*?\\\\end{' . $env . '})', $mode, 'plugi…
92 $this->Lexer->addExitPattern('\$(?!\$)', 'plugin_latexit_mathjax');
93 $this->Lexer->addExitPattern('\\\\\)', 'plugin_latexit_mathjax');
94 $this->Lexer->addExitPattern('\\\\\]', 'plugin_latexit_mathjax');
96 $this->Lexer->addExitPattern('\\\\end{' . $env . '}', 'plugin_latexit_mathjax');
/plugin/colorswatch/syntax/
H A Dcolorswatch.php50 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{6}>', $mode, 'plugin_colorswatch_colors…
51 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{6}:[\p{Xwd}_ -]+>', $mode, 'plugin_colo…
54 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{8}>', $mode, 'plugin_colorswatch_colors…
55 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{8}:[\p{Xwd}_ -]+>', $mode, 'plugin_colo…
58 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{3}>', $mode, 'plugin_colorswatch_colors…
59 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{3}:[\p{Xwd}_ -]+>', $mode, 'plugin_colo…
62 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{4}>', $mode, 'plugin_colorswatch_colors…
63 …$this->Lexer->addSpecialPattern('<colorswatch #[0-9a-fA-F]{4}:[\p{Xwd}_ -]+>', $mode, 'plugin_colo…
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/
H A DLexerTest.php13 use Twig\Lexer; alias
24 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
34 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
45 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
62 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
87 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
107 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
122 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
134 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
146 …$lexer = new Lexer(new Environment($this->getMockBuilder('\Twig\Loader\LoaderInterface')->getMock(…
[all …]
/plugin/pdftools/
H A Dsyntax.php60 $this->Lexer->addEntryPattern('<pdf (?=.*?>)',$mode,'plugin_pdftools');
61 $this->Lexer->addSpecialPattern('<etikett>',$mode,'plugin_pdftools');
62 $this->Lexer->addSpecialPattern('<abstand1>',$mode,'plugin_pdftools');
63 $this->Lexer->addSpecialPattern('<abstand2>',$mode,'plugin_pdftools');
64 $this->Lexer->addSpecialPattern('<abstand3>',$mode,'plugin_pdftools');
65 $this->Lexer->addSpecialPattern('<quer1>',$mode,'plugin_pdftools');
66 $this->Lexer->addSpecialPattern('<quer2>',$mode,'plugin_pdftools');
67 $this->Lexer->addSpecialPattern('<quer3>',$mode,'plugin_pdftools');
72 $this->Lexer->addExitPattern('>','plugin_pdftools');
/plugin/creole/syntax/
H A Dtable.php25 $this->Lexer->addEntryPattern('\n\|=',$mode,'plugin_creole_table');
26 $this->Lexer->addEntryPattern('\n\|',$mode,'plugin_creole_table');
30 $this->Lexer->addPattern('\n\|=','plugin_creole_table');
31 $this->Lexer->addPattern('\n\|','plugin_creole_table');
32 $this->Lexer->addPattern('[\t ]+','plugin_creole_table');
33 $this->Lexer->addPattern('\|=','plugin_creole_table');
34 $this->Lexer->addPattern('\|','plugin_creole_table');
35 $this->Lexer->addExitPattern('\n','plugin_creole_table');
/plugin/ckgdoku/syntax/
H A Dspecials.php56 $this->Lexer->addSpecialPattern('~~MULTI_PLUGIN_OPEN~~',$mode,'plugin_ckgdoku_specials');
57 $this->Lexer->addSpecialPattern('~~MULTI_PLUGIN_CLOSE~~',$mode,'plugin_ckgdoku_specials');
58 $this->Lexer->addSpecialPattern('~~COMPLEX_TABLES~~',$mode,'plugin_ckgdoku_specials');
59 … $this->Lexer->addSpecialPattern('~~NO_STYLING~~',$mode,'plugin_ckgdoku_specials');
60 … $this->Lexer->addSpecialPattern('~~AUTO_INTERNAL_LINKS~~',$mode,'plugin_ckgdoku_specials');
62 …$this->Lexer->addEntryPattern('~~START_HTML_BLOCK~~(?=.*?~~CLOSE_HTML_BLOCK~~)',$mode,'plugin_ckgd…
66 …function postConnect() { $this->Lexer->addExitPattern('~~CLOSE_HTML_BLOCK~~','plugin_ckgdoku_speci…
/plugin/ckgedit/syntax/
H A Dspecials.php56 $this->Lexer->addSpecialPattern('~~MULTI_PLUGIN_OPEN~~',$mode,'plugin_ckgedit_specials');
57 $this->Lexer->addSpecialPattern('~~MULTI_PLUGIN_CLOSE~~',$mode,'plugin_ckgedit_specials');
58 $this->Lexer->addSpecialPattern('~~COMPLEX_TABLES~~',$mode,'plugin_ckgedit_specials');
59 … $this->Lexer->addSpecialPattern('~~NO_STYLING~~',$mode,'plugin_ckgedit_specials');
60 …$this->Lexer->addEntryPattern('~~START_HTML_BLOCK~~(?=.*?~~CLOSE_HTML_BLOCK~~)',$mode,'plugin_ckge…
61 … $this->Lexer->addSpecialPattern('~~AUTO_INTERNAL_LINKS~~',$mode,'plugin_ckgedit_specials');
65 …function postConnect() { $this->Lexer->addExitPattern('~~CLOSE_HTML_BLOCK~~','plugin_ckgedit_speci…
/plugin/diagram/syntax/
H A Dsplitter.php107 $this->Lexer->addEntryPattern('<'.$this->tag_name.'>',
116 $this->Lexer->addPattern('\n',
118 $this->Lexer->addPattern('\|[A-Za-z0-9_]+=',
120 $this->Lexer->addPattern('\|[A-Za-z0-9_]+\{[^{}]*\}=',
122 $this->Lexer->addPattern('\|[^|=\n]*',
124 $this->Lexer->addExitPattern('</'.$this->tag_name.'>',
/plugin/styler/syntax/
H A Dstyler.php61 … $this->Lexer->addEntryPattern('<style.*?>(?=.*?\x3C/style\x3E)', $mode, 'plugin_styler_styler');
62 … $this->Lexer->addEntryPattern('<quote.*?>(?=.*?\x3C/quote\x3E)', $mode, 'plugin_styler_styler');
63 …$this->Lexer->addEntryPattern('<epigraph.*?>(?=.*?\x3C/epigraph\x3E)', $mode, 'plugin_styler_style…
71 $this->Lexer->addExitPattern('</style>', 'plugin_styler_styler');
72 $this->Lexer->addExitPattern('</quote>', 'plugin_styler_styler');
73 $this->Lexer->addExitPattern('</epigraph>', 'plugin_styler_styler');
/plugin/dokuwiki-webcomics/
H A Dsyntax.php69 $this->Lexer->addSpecialPattern('\[XKCD\]', $mode, 'plugin_webcomics');
70 $this->Lexer->addSpecialPattern('\[GARFIELD\]', $mode, 'plugin_webcomics');
71 $this->Lexer->addSpecialPattern('\[DILBERT\]', $mode, 'plugin_webcomics');
72 $this->Lexer->addSpecialPattern('\[SHACKLES\]', $mode, 'plugin_webcomics');
73 $this->Lexer->addSpecialPattern('\[CYANIDE\]', $mode, 'plugin_webcomics');
/plugin/mdpage/
H A Dsyntax.php42 $this->Lexer->addEntryPattern('\\A(?!.*</script>).', $mode, $this->getPluginMode());
43 $this->Lexer->addEntryPattern('<!DOCTYPE markdown>', $mode, $this->getPluginMode());
44 $this->Lexer->addEntryPattern('</script>', $mode, $this->getPluginMode());
46 … $this->Lexer->addEntryPattern('<markdown>(?=.*</markdown>)', $mode, $this->getPluginMode());
54 $this->Lexer->addExitPattern('\\z', $this->getPluginMode());
55 $this->Lexer->addExitPattern('<script type="text/x-dokuwiki">', $this->getPluginMode());
57 $this->Lexer->addExitPattern('</markdown>', $pluginBaseMode);
/plugin/latexcaption/syntax/
H A Dsubtype.php14 …$this->Lexer->addEntryPattern('<subfigure.*?>(?=.*</subfigure>)',$mode, 'plugin_latexcaption_capti…
15 …$this->Lexer->addEntryPattern('<subtable.*?>(?=.*</subtable>)',$mode, 'plugin_latexcaption_caption…
19 $this->Lexer->addExitPattern('</subfigure>','plugin_latexcaption_caption');
20 $this->Lexer->addExitPattern('</subtable>','plugin_latexcaption_caption');
H A Dcaption.php52 … $this->Lexer->addSpecialPattern('{{setcounter>[a-z0-9=]+?}}',$mode,'plugin_latexcaption_caption');
53 … $this->Lexer->addEntryPattern('<figure.*?>(?=.*</figure>)',$mode,'plugin_latexcaption_caption');
54 … $this->Lexer->addEntryPattern('<table.*?>(?=.*</table>)',$mode,'plugin_latexcaption_caption');
55 …$this->Lexer->addEntryPattern('<codeblock.*?>(?=.*</codeblock>)',$mode,'plugin_latexcaption_captio…
56 …$this->Lexer->addEntryPattern('<fileblock.*?>(?=.*</fileblock>)',$mode,'plugin_latexcaption_captio…
60 $this->Lexer->addExitPattern('</figure>','plugin_latexcaption_caption');
61 $this->Lexer->addExitPattern('</table>','plugin_latexcaption_caption');
62 $this->Lexer->addExitPattern('</codeblock>','plugin_latexcaption_caption');
63 $this->Lexer->addExitPattern('</fileblock>','plugin_latexcaption_caption');
66 …$this->Lexer->addPattern('<'.$captiontag.'>(?=.*</'.$captiontag.'>)','plugin_latexcaption_caption'…
[all …]
/plugin/openas/
H A Dsyntax.php26 $this->Lexer->addEntryPattern('~~OpenAsVarsStart~~', $mode, 'plugin_openas');
27 $this->Lexer->addPattern('~~OpenAsVar>TAreaOpen~~', $mode, 'plugin_openas');
28 $this->Lexer->addPattern('~~OpenAsVar>TAreaClose~~', $mode, 'plugin_openas');
29 $this->Lexer->addPattern('~~OpenAsVAR>.*?~~','plugin_openas');
30 $this->Lexer->addPattern('~~OpenAsNUM>.*?~~','plugin_openas');
31 $this->Lexer->addSpecialPattern('~~SaveAS>.*?~~',$mode,'plugin_openas');
32 $this->Lexer->addSpecialPattern('~~OpenAS>.*?~~',$mode,'plugin_openas');
33 $this->Lexer->addSpecialPattern('~~MoveTO>.*?~~',$mode,'plugin_openas');
38 $this->Lexer->addExitPattern('~~OpenAsVarsClose~~', 'plugin_openas');
/plugin/odtsupport/
H A Dsyntax.php53 $this->Lexer->addSpecialPattern('{{hash>[-.:\d\w]+?}}', $mode, 'plugin_odtsupport');
54 $this->Lexer->addSpecialPattern('{{hash4>[-.:\d\w]+?}}', $mode, 'plugin_odtsupport');
55 $this->Lexer->addSpecialPattern('{{pagehash}}', $mode, 'plugin_odtsupport');
56 $this->Lexer->addSpecialPattern('{{pagehash4}}', $mode, 'plugin_odtsupport');
57 …$this->Lexer->addSpecialPattern('{{'.$this->odt_field_pagehash.'>.+?}}', $mode, 'plugin_odtsupport…
58 …$this->Lexer->addSpecialPattern('{{'.$this->odt_field_pagehash4.'>.+?}}', $mode, 'plugin_odtsuppor…
59 …$this->Lexer->addSpecialPattern('{{'.$this->odt_field_metadata.'>.+?}}', $mode, 'plugin_odtsupport…
60 … $this->Lexer->addSpecialPattern('{{'.$this->serverurl.'>.*?:.+?}}', $mode, 'plugin_odtsupport');
/plugin/mediasyntax/syntax/
H A Dredirect.php17 $this->Lexer->addEntryPattern(
22 $this->Lexer->addEntryPattern(
27 $this->Lexer->addEntryPattern(
36 $this->Lexer->addExitPattern(
/plugin/passwords/
H A Dsyntax.php58 $this->Lexer->addSpecialPattern('\{\{ passwords }}', $mode, 'plugin_passwords');
59 $this->Lexer->addSpecialPattern('\{\{ passwords\? }}', $mode, 'plugin_passwords');
60 …$this->Lexer->addSpecialPattern('\{\{ passwords\?amount=\d*&length=\d* }}', $mode, 'plugin_passwor…
61 …$this->Lexer->addSpecialPattern('\{\{ passwords\?length=\d*&amount=\d* }}', $mode, 'plugin_passwor…
62 $this->Lexer->addSpecialPattern('\{\{ passwords\?amount=\d* }}', $mode, 'plugin_passwords');
63 $this->Lexer->addSpecialPattern('\{\{ passwords\?length=\d* }}', $mode, 'plugin_passwords');
/plugin/unformattedcode/
H A Dsyntax.php33 …$this->Lexer->addEntryPattern('\x22\x22(?=.*\x22\x22)',$mode,'plugin_unformattedcode'); // ""code""
35 …$this->Lexer->addEntryPattern('\x27\x27(?=.*\x27\x27)',$mode,'plugin_unformattedcode'); // ''code''
39 $this->Lexer->addExitPattern('\x22\x22', 'plugin_unformattedcode');
41 $this->Lexer->addExitPattern('\x27\x27', 'plugin_unformattedcode');
/plugin/prespan/
H A Dsyntax.php52 $this->Lexer->addEntryPattern('<prespan>(?=.*</prespan>)', $mode, 'plugin_prespan');
53 $this->Lexer->addEntryPattern('\!\[(?=.*\]\!)', $mode, 'plugin_prespan');
57 $this->Lexer->addExitPattern('</prespan>', 'plugin_prespan');
58 $this->Lexer->addExitPattern('\]\!', 'plugin_prespan');
/plugin/snippets/
H A Dsyntax.php28 $this->Lexer->addEntryPattern('<snippet>(?=.*?</snippet>)',$mode,'plugin_snippets');
29 $this->Lexer->addSpecialPattern('~~SNIPPET_O\d*~~.*?~~',$mode,'plugin_snippets');
30 $this->Lexer->addSpecialPattern('~~SNIPPET_C~~.*?~~',$mode,'plugin_snippets');
34 $this->Lexer->addExitPattern('</snippet>', 'plugin_snippets');

12345678910>>...42