Lines Matching +defs:text +defs:line
29 public $text;
34 public $line;
41 public function __construct(int $id, string $text, int $line = -1, int $position = -1)
44 $this->text = $text;
45 $this->line = $line;
52 $name = \strlen($this->text) > 1 || \ord($this->text) < 32 ? null : $this->text;
64 if (\in_array($value, [$this->id, $this->text], true)) {
79 return (string) $this->text;
87 $line = 1;
93 $text = $token;
95 [$id, $text, $line] = $token;
97 $tokens[$index] = new static($id, $text, $line, $position);
98 $position += \strlen($text);