def show(self): """ Print to terminal the highlighted class description. """ print( highlight(str(self), ObjectiveCLexer(), TerminalTrueColorFormatter(style='native')))
def show(self, recursive: bool = False): """ Print to terminal the highlighted class description. :param recursive: Show methods of super classes. """ print( highlight(self._to_str(recursive), ObjectiveCLexer(), TerminalTrueColorFormatter(style='native')))
def setUp(self): self.lexer = ObjectiveCLexer()
def lexer(): yield ObjectiveCLexer()