Lines Matching defs:type
91 * The token type for the current token.
95 public $type = Token::INVALID_TYPE;
134 $this->type = Token::INVALID_TYPE;
172 throw new \RuntimeException('Unexpected interpreter type.');
184 $this->type = Token::INVALID_TYPE;
197 if ($this->type === Token::INVALID_TYPE) {
198 $this->type = $ttype;
201 if ($this->type === self::SKIP) {
207 if ($this->type !== self::MORE) {
238 $this->type = self::SKIP;
243 $this->type = self::MORE;
326 $this->type,
367 throw new \RuntimeException('Unexpected interpreter type.');
376 throw new \RuntimeException('Unexpected interpreter type.');
385 throw new \RuntimeException('Unexpected interpreter type.');
394 throw new \RuntimeException('Unexpected interpreter type.');
422 throw new \RuntimeException('Unexpected interpreter type.');
451 return $this->type;
454 public function setType(int $type) : void
456 $this->type = $type;