mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-05 16:09:07 -04:00
Separate output into its own module
This commit is contained in:
parent
8cf793023d
commit
a24f16109f
33 changed files with 407 additions and 291 deletions
7
blueprintcompiler/outputs/__init__.py
Normal file
7
blueprintcompiler/outputs/__init__.py
Normal file
|
@ -0,0 +1,7 @@
|
|||
from ..language import UI
|
||||
|
||||
class OutputFormat:
|
||||
def emit(self, ui: UI) -> str:
|
||||
raise NotImplementedError()
|
||||
|
||||
from .xml import XmlOutput
|
Loading…
Add table
Add a link
Reference in a new issue