Пример #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)
Пример #2
0
 def __repr__(self) -> str:
     from cmaj.utils.stringify import stringify
     return stringify(self, use={'rules': [*self._rules]})
Пример #3
0
 def __repr__(self) -> str:
     from cmaj.utils.stringify import stringify
     return stringify(self)
Пример #4
0
 def __repr__(self) -> str:
     from cmaj.utils.stringify import stringify
     return stringify(self, hide={'value_set'})