public function unserialize($serialized): void
    {
        $this->definitionMap = unserialize($serialized)
            ->mapWithKeys(function (array $node, string $key): array {
                return [$key => AST::fromArray($node)];
            });
    }