#  Copyright (c) PARRRATE T&V 2021. All rights reserved.

from bu4.linkable.constructs.parsed import Parsed
from bu4.linking.constructs.linked import Linked
from bu4.linking.constructs.lnull import LNull
from bu4.transform.states.transformfinished import TransformFinished
from bu4.transform.states.transformstate import TransformState

__all__ = ('PNull',)


class PNull(Parsed):
    def link(self, promise: set[bytes]) -> TransformState[Linked]:
        return TransformFinished(LNull())