Ejemplo n.º 1
0
 def __repr__(self) -> str:
     from cmaj.utils.stringify import stringify
     hidden = set()
     if self._token is None:
         hidden.add('token')
     if not self._children:
         hidden.add('children')
     return stringify(self, hide=hidden)
Ejemplo n.º 2
0
 def __repr__(self) -> str:
     from cmaj.utils.stringify import stringify
     return stringify(self, use={'rules': [*self._rules]})
Ejemplo n.º 3
0
 def __repr__(self) -> str:
     from cmaj.utils.stringify import stringify
     return stringify(self)
Ejemplo n.º 4
0
 def __repr__(self) -> str:
     from cmaj.utils.stringify import stringify
     return stringify(self, hide={'value_set'})