| # Copyright (c) Microsoft Corporation. | |
| # Licensed under the MIT License. | |
| from abc import ABC, abstractmethod | |
| # TODO: Refactor all the tir script implementations to use this base class | |
| # Abstract base class for TIR script emitters | |
| class TIRScriptEmitter(ABC): | |
| def emit(self): | |
| raise NotImplementedError | |
| # Abstract base class for TIR script selectors | |
| class TIRScriptSelector(ABC): | |
| def select(self): | |
| raise NotImplementedError | |