public function __construct($type, $value, $line, $char) { $this->type = $type; $this->value = $value; $this->line = $line; $this->char = $char; }