summaryrefslogtreecommitdiffstats
path: root/polymatrix/expression/impl/parametrizeexprimpl.py
blob: 3accf0c26af5a19e9e373739f32febecba45e37e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import dataclass_abc
from polymatrix.expression.parametrizeexpr import ParametrizeExpr 

from polymatrix.expression.mixins.expressionbasemixin import ExpressionBaseMixin 

@dataclass_abc.dataclass_abc(frozen=True, eq=False, repr=False)
class ParametrizeExprImpl(ParametrizeExpr):
	underlying: ExpressionBaseMixin
	name: str

	def __repr__(self) -> str:
		return f'{self.__class__.__name__}(name={repr(self.name)})'