Lines Matching refs:this
16 $this->P->addMode('acronym',new Acronym(['FOOBAR']));
17 $this->P->parse('abc FOOBAR xyz');
27 $this->assertCalls($calls, $this->H->calls);
31 $this->P->addMode('acronym',new Acronym(['FOOBAR']));
32 $this->P->parse('abcFOOBARxyz');
40 $this->assertCalls($calls, $this->H->calls);
44 $this->P->addMode('acronym',new Acronym(['FOO']));
45 $this->P->parse('FOOBAR FOO');
55 $this->assertCalls($calls, $this->H->calls);
59 $this->P->addMode('acronym',new Acronym(['FOO','BAR']));
60 $this->P->parse('abc FOO def BAR xyz');
72 $this->assertCalls($calls, $this->H->calls);
76 $this->P->addMode('acronym',new Acronym(['FOO','A.FOO','FOO.1','A.FOO.1']));
77 $this->P->parse('FOO A.FOO FOO.1 A.FOO.1');
93 $this->assertCalls($calls, $this->H->calls);
97 $this->P->addMode('acronym',new Acronym(['A.FOO.1','FOO.1','A.FOO','FOO']));
98 $this->P->parse('FOO A.FOO FOO.1 A.FOO.1');
114 $this->assertCalls($calls, $this->H->calls);
118 $this->P->addMode('smiley',new Smiley([':-)']));
119 $this->P->parse('abc:-)xyz');
127 $this->assertCalls($calls, $this->H->calls);
131 $this->P->addMode('smiley',new Smiley([':-)']));
132 $this->P->parse('abc :-) xyz');
142 $this->assertCalls($calls, $this->H->calls);
146 $this->P->addMode('smiley',new Smiley([':-)','^_^']));
147 $this->P->parse('abc:-)x^_^yz');
155 $this->assertCalls($calls, $this->H->calls);
159 $this->P->addMode('smiley',new Smiley([':-)','^_^']));
160 $this->P->parse('abc :-) x ^_^ yz');
172 $this->assertCalls($calls, $this->H->calls);
176 $this->P->addMode('smiley',new Smiley([':-\\\\']));
177 $this->P->parse('abc:-\\\xyz');
185 $this->assertCalls($calls, $this->H->calls);
189 $this->P->addMode('smiley',new Smiley([':-\\\\']));
190 $this->P->parse('abc :-\\\ xyz');
200 $this->assertCalls($calls, $this->H->calls);
204 $this->P->addMode('wordblock',new Wordblock(['CAT']));
205 $this->P->parse('abc CAT xyz');
215 $this->assertCalls($calls, $this->H->calls);
219 $this->P->addMode('wordblock',new Wordblock(['CAT']));
220 $this->P->parse('abc cat xyz');
230 $this->assertCalls($calls, $this->H->calls);
234 $this->P->addMode('wordblock',new Wordblock(['CAT','dog']));
235 $this->P->parse('abc cat x DOG yz');
247 $this->assertCalls($calls, $this->H->calls);
251 $this->P->addMode('entity',new Entity(['->']));
252 $this->P->parse('x -> y');
262 $this->assertCalls($calls, $this->H->calls);
266 $this->P->addMode('entity',new Entity(['->','<-']));
267 $this->P->parse('x -> y <- z');
279 $this->assertCalls($calls, $this->H->calls);
283 $this->P->addMode('multiplyentity',new Multiplyentity());
284 $this->P->parse('Foo 10x20 Bar');
294 $this->assertCalls($calls, $this->H->calls);
298 $this->P->addMode('multiplyentity',new Multiplyentity());
299 $this->P->parse('Foo 0x123 Bar');
307 $this->assertCalls($calls, $this->H->calls);
311 $this->P->addMode('hr',new Hr());
312 $this->P->parse("Foo \n ---- \n Bar");
324 $this->assertCalls($calls, $this->H->calls);
328 $this->P->addMode('hr',new Hr());
329 $this->P->parse("Foo \n----\n Bar");
341 $this->assertCalls($calls, $this->H->calls);