Lines Matching refs:text
229 $text = $textContent = substr($this->code, $this->cursor, $position[1] - $this->cursor);
235 $text = rtrim($text);
239 $text = rtrim($text, " \t\0\x0B");
242 $this->pushToken(/* Token::TEXT_TYPE */ 0, $text);
375 $text = substr($this->code, $this->cursor, $match[0][1] - $this->cursor);
376 $this->moveCursor($text.$match[0][0]);
382 $text = rtrim($text);
386 $text = rtrim($text, " \t\0\x0B");
390 $this->pushToken(/* Token::TEXT_TYPE */ 0, $text);
449 private function moveCursor($text) argument
451 $this->cursor += \strlen($text);
452 $this->lineno += substr_count($text, "\n");