Lines Matching refs:id
20 public int $id; variable in PhpParser\\Internal\\TokenPolyfill
42 final public function __construct(int $id, string $text, int $line = -1, int $pos = -1) { argument
43 $this->id = $id;
54 if ($this->id < 256) {
55 return \chr($this->id);
58 $name = token_name($this->id);
71 return $this->id === $kind;
79 if ($this->id === $entry) {
103 return isset(self::IGNORABLE_TOKENS[$this->id]);
145 $id = $token[0];
149 if ($id === \T_COMMENT && \substr($text, 0, 2) !== '/*' &&
154 $tokens[] = new static($id, $text, $line, $pos);
172 if (($id === \T_NS_SEPARATOR || isset(self::$identifierTokens[$id]))) {
174 $lastWasSeparator = $id === \T_NS_SEPARATOR;
195 if ($id === \T_NS_SEPARATOR) {
196 $id = \T_NAME_FULLY_QUALIFIED;
197 } elseif ($id === \T_NAMESPACE) {
198 $id = \T_NAME_RELATIVE;
200 $id = \T_NAME_QUALIFIED;
202 $tokens[] = new static($id, $newText, $line, $pos);
209 $tokens[] = new static($id, $text, $line, $pos);