Home
last modified time | relevance | path

Searched refs:parse (Results 1 – 25 of 48) sorted by relevance

12

/dokuwiki/_test/tests/Parsing/ParserMode/
H A DCodeTest.php21 $this->P->parse('Foo <code>Test</code> Bar');
37 $this->P->parse('Foo <code bash>Test</code> Bar');
53 $this->P->parse('Foo <code bash script.sh>Test</code> Bar');
69 $this->P->parse('Foo <code2>Bar</code2><code>Test</code>');
82 $this->P->parse('Foo <code C [enable_line_numbers]>Test</code> Bar');
100 … $this->P->parse('Foo <code C [enable_line_numbers highlight_lines_extra="3"]>Test</code> Bar');
119 $this->P->parse('Foo <code C [unknown="I will be deleted/ignored!"]>Test</code> Bar');
135 $this->P->parse('Foo <code C [enable_line_numbers]>Test</code> Bar');
153 $this->P->parse('Foo <code C [enable_line_numbers="1"]>Test</code> Bar');
171 $this->P->parse('Foo <code C [enable_line_numbers="0"]>Test</code> Bar');
[all …]
H A DHeadersTest.php13 $this->P->parse("abc \n ====== Header ====== \n def");
32 $this->P->parse("abc \n ===== Header ===== \n def");
51 $this->P->parse("abc \n ==== Header ==== \n def");
70 $this->P->parse("abc \n === Header === \n def");
89 $this->P->parse("abc \n == Header == \n def");
108 $this->P->parse("abc \n ===== Header == \n def");
127 $this->P->parse("abc \n ===== Header =========== \n def");
146 $this->P->parse("abc \n ======= Header ======= \n def");
165 $this->P->parse("abc \n= Header =\n def");
179 $this->P->parse("abc \n====== == Header == ======\n def");
[all …]
H A DReplacementsTest.php17 $this->P->parse('abc FOOBAR xyz');
32 $this->P->parse('abcFOOBARxyz');
45 $this->P->parse('FOOBAR FOO');
60 $this->P->parse('abc FOO def BAR xyz');
77 $this->P->parse('FOO A.FOO FOO.1 A.FOO.1');
98 $this->P->parse('FOO A.FOO FOO.1 A.FOO.1');
119 $this->P->parse('abc:-)xyz');
132 $this->P->parse('abc :-) xyz');
147 $this->P->parse('abc:-)x^_^yz');
160 $this->P->parse('abc :-) x ^_^ yz');
[all …]
H A DFootnoteTest.php26 $this->P->parse('Foo (( testing )) Bar');
44 $this->P->parse("Foo (( testing\n Bar");
57 $this->P->parse("Foo (( testing\ntesting )) Bar");
75 $this->P->parse('Foo (( x((y))z )) Bar');
94 $this->P->parse("Foo \nX(( test\ning ))Y\n Bar");
113 $this->P->parse('Foo (( **testing** )) Bar');
136 $this->P->parse("Foo (( \n ---- \n )) Bar");
157 $this->P->parse("Foo (( <code>Test</code> )) Bar");
178 $this->P->parse("Foo (( \n Test\n )) Bar");
200 $this->P->parse("Foo (( \n Test\n )) Bar");
[all …]
H A DQuotesTest.php19 $this->P->parse($raw);
37 $this->P->parse($raw);
55 $this->P->parse($raw);
73 $this->P->parse($raw);
91 $this->P->parse($raw);
111 $this->P->parse($raw);
130 $this->P->parse($raw);
150 $this->P->parse($raw);
168 $this->P->parse($raw);
187 $this->P->parse($raw);
[all …]
H A DLinksTest.php23 $this->P->parse("Foo http://www.google.com Bar");
53 $this->P->parse("Foo http://123.123.3.21/foo Bar");
111 $this->P->parse("Foo $source Bar");
131 $this->P->parse("Foo javascript:alert('XSS'); Bar");
144 $this->P->parse("Foo www.google.com Bar");
173 $this->P->parse("Foo (www.google.com) Bar");
217 $this->P->parse("Foo ftp.sunsite.com Bar");
261 $this->P->parse("Foo <bugs@php.net> Bar");
276 $this->P->parse("Foo <~fix+bug's.for/ev{e}r@php.net> Bar");
291 $this->P->parse("Foo <bugs@pHp.net> Bar");
[all …]
H A DTableTest.php17 $this->P->parse('
61 …$this->P->parse("\r\nabc\r\n| Row 0 Col 1 | Row 0 Col 2 | Row 0 Col 3 |\r\n| Row 1 C…
101 $this->P->parse('
126 $this->P->parse('
161 $this->P->parse('
210 $this->P->parse('
245 $this->P->parse('
306 $this->P->parse('
340 $this->P->parse('
382 $this->P->parse('
[all …]
H A DPreformattedTest.php17 $this->P->parse('Foo <file>testing</file> Bar');
35 $this->P->parse('Foo <code>testing</code> Bar');
52 $this->P->parse("Foo <code \n>testing</code> Bar");
69 $this->P->parse("Foo <code php>testing</code> Bar");
86 $this->P->parse("F oo\n x \n y \nBar\n");
103 $this->P->parse("F oo\r\n x \r\n y \r\nBar\r\n");
120 $this->P->parse("F oo\n\tx\t\n\t\ty\t\nBar\n");
137 $this->P->parse("F oo\r\n\tx\t\r\n\t\ty\t\r\nBar\r\n");
155 $this->P->parse(" - x \n * y \nF oo\n x \n y \n -X\n *Y\nBar\n");
190 $this->P->parse("F oo\n ==Test==\n y \nBar\n");
H A DFormattingTest.php21 $this->P->parse('Foo **Bar** Baz');
39 $this->P->parse('Foo //Bar// Baz');
57 $this->P->parse('Foo __Bar__ Baz');
75 $this->P->parse("Foo ''Bar'' Baz");
93 $this->P->parse('Foo <sub>Bar</sub> Baz');
111 $this->P->parse('Foo <sup>Bar</sup> Baz');
129 $this->P->parse('Foo <del>Bar</del> Baz');
148 $this->P->parse('Foo **bold //and italic// text** Bar');
170 $this->P->parse('Foo **bold **not nested** end** Bar');
H A DEolTest.php13 $this->P->parse("Foo\nBar");
26 $this->P->parse("Foo\n\nbar\nFoo");
42 $this->P->parse("Foo\r\nBar");
55 $this->P->parse('Foo\\\\ Bar');
71 $this->P->parse('Foo\\\\'."\n\n".'Bar');
89 $this->P->parse('Foo\\\\Bar');
H A DListsTest.php18 $this->P->parse('
51 $this->P->parse('
85 $this->P->parse('
118 $this->P->parse("\r\n *A\r\n * B\r\n * C\r\n");
147 $this->P->parse("\r\n -A\r\n - B\r\n - C\r\n");
176 $this->P->parse("Foo -bar *foo Bar");
190 $this->P->parse('Foo
232 $this->P->parse('
267 $this->P->parse('
296 $this->P->parse('
[all …]
H A DQuoteTest.php13 $this->P->parse("abc\n> def\n>>ghi\nklm");
36 $this->P->parse("abc\r\n> def\r\n>>ghi\r\nklm");
59 $this->P->parse("\n> def\n>>ghi\n ");
77 $this->P->parse("abc\n> def\n>>ghi\nklm");
H A DFileTest.php16 $this->P->parse('Foo <file>Test</file> Bar');
32 $this->P->parse('Foo <file txt test.txt>Test</file> Bar');
48 $this->P->parse('Foo <file2>Test</file2> Bar');
H A DI18nTest.php33 $this->P->parse("I**ñ**t__ë__r//n//â<sup>t</sup>i<sub>ô</sub>n''à''liz<del>æ</del>tiøn");
74 $this->P->parse("Foo\n ==== Iñtërnâtiônàlizætiøn ==== \n Bar");
93 $this->P->parse('
138 $this->P->parse("Foo Iñtërnâtiônàlizætiøn Bar");
153 $this->P->parse("Foo [[wp>Iñtërnâtiônàlizætiøn|Iñtërnâtiônàlizætiøn]] Bar");
168 $this->P->parse("Foo [[x:Iñtërnâtiônàlizætiøn:y:foo_bar:z|Iñtërnâtiônàlizætiøn]] Bar");
H A DUnformattedTest.php12 $this->P->parse("Foo <nowiki>testing</nowiki> Bar");
29 $this->P->parse("Foo %%testing%% Bar");
H A DNocacheTest.php12 $this->P->parse('Foo ~~NOCACHE~~ Bar');
28 $this->P->parse('Foo ~~nocache~~ Bar');
H A DNotocTest.php12 $this->P->parse('Foo ~~NOTOC~~ Bar');
28 $this->P->parse('Foo ~~notoc~~ Bar');
H A DRssTest.php17 $this->P->parse('Foo {{rss>http://example.com/feed}} Bar');
/dokuwiki/_test/tests/Parsing/Lexer/
H A DLexerTest.php13 $this->assertFalse($lexer->parse("abcdef"));
22 $this->assertTrue($lexer->parse(""));
31 $this->assertTrue($lexer->parse("aaaxayyyaxaaaz"));
50 $this->assertTrue($lexer->parse("ababbxbaxxxxxxax"));
62 $this->assertTrue($lexer->parse("abaabxbaaaxaaaax"));
82 $this->assertTrue($lexer->parse("abaabaaa:ababbabbba"));
108 $this->assertTrue($lexer->parse("aabaab(bbabb)aab"));
130 $this->assertTrue($lexer->parse("aabaaxxbbbxx"));
147 $this->assertFalse($lexer->parse("aa)aa"));
164 $this->assertTrue($lexer->parse("aa(bbabb)b"));
[all …]
/dokuwiki/lib/plugins/config/_test/
H A DConfigParserTest.php17 $conf = $parser->parse(__DIR__ . '/data/config.php');
35 $conf = $parser->parse(__DIR__ . '/data/config.php');
/dokuwiki/inc/Parsing/
H A DParser.php112 public function parse($doc) function in dokuwiki\\Parsing\\Parser
117 $this->lexer->parse($doc);
/dokuwiki/inc/Remote/IXR/
H A DClient.php63 if (!$this->message->parse()) {
/dokuwiki/lib/plugins/config/core/
H A DLoader.php187 $conf = array_merge($conf, $this->parser->parse($file));
239 $conf = $this->parser->parse($file);
H A DConfigParser.php28 public function parse($file) function in dokuwiki\\plugin\\config\\core\\ConfigParser
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1747 return $parser->parse($dt);
1762 return $decoder->parse();
2031 if ($parser->parse()) {
2041 if ($parser->parse()) {
2051 if ($parser->parse()) {
2061 if ($parser->parse()) {
2071 if ($parser->parse()) {

12