# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/BaseClass.py
# class Base(object):
#     def __init__(self):
#     def toLily(self):
#     def __str__(self):


from MuseParse.classes.ObjectHierarchy.ItemClasses import BaseClass
        if "number" in kwargs:
            self.number = kwargs["number"]
        if "type" in kwargs:
            self.type = kwargs["type"]
        BaseClass.Base.__init__(self)

    def toLily(self):
        lilystring = ""
        if hasattr(self, "number"):
            if self.number == 1:
                lilystring = "\\alternative {\n"

        else:
            lilystring = "\\alternative {"
        if not hasattr(
                self,
                "type") or (
                self.type != "discontinue" and self.type != "stop"):
            lilystring += "{"
        if hasattr(self, "type"):
            if self.type == "stop":
                lilystring = "}"
            if self.type == "discontinue":
                lilystring = "}\n}"
        return lilystring


class Transposition(BaseClass.Base):

    def __init__(self, **kwargs):

# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/BaseClass.py
# class Base(object):
#     def __init__(self):
#     def toLily(self):
#     def __str__(self):


# Path: MuseParse/classes/ObjectHierarchy/ItemClasses/BarlinesAndMarkers.py
from MuseParse.classes.ObjectHierarchy.ItemClasses import BaseClass

        if "number" in kwargs:
            self.number = kwargs["number"]
        if "type" in kwargs:
            self.type = kwargs["type"]
        BaseClass.Base.__init__(self)

    def toLily(self):
        lilystring = ""
        if hasattr(self, "number"):
            if self.number == 1:
                lilystring = "\\alternative {\n"

        else:
            lilystring = "\\alternative {"
        if not hasattr(
                self,
                "type") or (
                self.type != "discontinue" and self.type != "stop"):
            lilystring += "{"
        if hasattr(self, "type"):
            if self.type == "stop":
                lilystring = "}"
            if self.type == "discontinue":
                lilystring = "}\n}"
        return lilystring


class Transposition(BaseClass.Base):

    def __init__(self, **kwargs):

        BaseClass.Base.__init__(self)