16 lines
563 B
Python
16 lines
563 B
Python
# Copyright (c) PARRRATE T&V 2021. All rights reserved.
|
|
|
|
from bu4.encoding.codes import CODE_NULL
|
|
from bu4.indexing.constructs.indexed import Indexed
|
|
from bu4.indexing.constructs.inull import INull
|
|
from bu4.parsing.extensions.CodeExtension import CodeExtension
|
|
from bu4.transform.states.transformfinished import TransformFinished
|
|
from bu4.transform.states.transformstate import TransformState
|
|
|
|
__all__ = ('XINull',)
|
|
|
|
|
|
class XINull(CodeExtension[Indexed], code=CODE_NULL):
|
|
def apply(self) -> TransformState[Indexed]:
|
|
return TransformFinished(INull())
|