1 | <?php |
||
19 | class TokenBuilder extends Builder |
||
20 | { |
||
21 | /** |
||
22 | * @var bool |
||
23 | */ |
||
24 | private $keep; |
||
25 | |||
26 | /** |
||
27 | * TokenBuilder constructor. |
||
28 | * @param Mapping $mapper |
||
29 | * @param string $name |
||
30 | * @param bool $keep |
||
31 | */ |
||
32 | public function __construct(Mapping $mapper, string $name, bool $keep) |
||
37 | |||
38 | /** |
||
39 | * @return int |
||
40 | */ |
||
41 | public function getId(): int |
||
51 | |||
52 | /** |
||
53 | * @return Symbol |
||
54 | */ |
||
55 | public function reduce(): Symbol |
||
59 | } |
||
60 |