<reponame>rafaellc28/Latex2Wolfram
class BaseExpression:
    """
    Class representing a expression node in the AST of a MLP
    """
    def __init__(self):
        self.indice = -1
        self.identifier = None
        self.identifierName = None
        self.identifierList = None

    def getSymbol(self):
        return self

    def getSymbolName(self, codeGenerator):
        return self.generateCode(codeGenerator)

    def getDimension(self):
        return 1

    def getIndice(self):
        return self.indice

    def setIndice(self, indice):
        self.indice = indice

    def getIdentifier(self):
        return self.identifier

    def setIdentifier(self, identifier):
        self.identifier = identifier

    def getIdentifierName(self):
        return self.identifierName

    def setIdentifierName(self, identifierName):
        self.identifierName = identifierName

    def getIdentifierList(self):
        return self.identifierList

    def setIdentifierList(self, identifierList):
        self.identifierList = identifierList

class BaseExpression:
    """
    Class representing a expression node in the AST of a MLP
    """
    def __init__(self):
        self.indice = -1
        self.identifier = None
        self.identifierName = None
        self.identifierList = None

    def getSymbol(self):
        return self

    def getSymbolName(self, codeGenerator):
        return self.generateCode(codeGenerator)

    def getDimension(self):
        return 1

    def getIndice(self):
        return self.indice

    def setIndice(self, indice):
        self.indice = indice

    def getIdentifier(self):
        return self.identifier

    def setIdentifier(self, identifier):
        self.identifier = identifier

    def getIdentifierName(self):
        return self.identifierName

    def setIdentifierName(self, identifierName):
        self.identifierName = identifierName

    def getIdentifierList(self):
        return self.identifierList

    def setIdentifierList(self, identifierList):
        self.identifierList = identifierList
Class representing a expression node in the AST of a MLP