File size: 492 Bytes
a3f2e4d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# 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):
@abstractmethod
def emit(self):
raise NotImplementedError
# Abstract base class for TIR script selectors
class TIRScriptSelector(ABC):
@abstractmethod
def select(self):
raise NotImplementedError
|