Lines Matching refs:id
24 public $id;
41 public function __construct(int $id, string $text, int $line = -1, int $position = -1)
43 $this->id = $id;
51 if ('UNKNOWN' === $name = token_name($this->id)) {
64 if (\in_array($value, [$this->id, $this->text], true)) {
74 return \in_array($this->id, [\T_WHITESPACE, \T_COMMENT, \T_DOC_COMMENT, \T_OPEN_TAG], true);
92 $id = \ord($token);
95 [$id, $text, $line] = $token;
97 $tokens[$index] = new static($id, $text, $line, $position);