1<?php
2
3declare(strict_types=1);
4
5namespace Antlr\Antlr4\Runtime;
6
7interface WritableToken extends Token
8{
9    public function setText(string $text) : void;
10
11    public function setType(int $ttype) : void;
12
13    public function setLine(int $line) : void;
14
15    public function setCharPositionInLine(int $pos) : void;
16
17    public function setChannel(int $channel) : void;
18
19    public function setTokenIndex(int $index) : void;
20}
21