Commit a602dd80 authored by Ariyasuthan's avatar Ariyasuthan

Uplanguage interface

parent 4e5ef331
from abc import ABC, abstractmethod
from src.dataToCode.dataClasses.classData import ClassData
from src.dataToCode.dataClasses.interface import Interface
from typing import Union
class LanguageInterface(ABC):
@abstractmethod
def get_class_code(self, class_data: ClassData) -> str:
pass
@abstractmethod
def get_interface_code(self, interface: Interface) -> str:
pass
@abstractmethod
def get_file_name(self, object_data: Union[ClassData, Interface]) -> str:
pass
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment