def __init__(self, code, language):
        self.code = code
        self.language = language
        self.lexer = None
        # get lexical analyzer for `language`:
        if language in ('', 'text'):
            return
        if not with_pygments:
            raise ApplicationError('Cannot highlight code. '
                                    'Pygments package not found.')
        try:
            self.lexer = get_lexer_by_name(self.language)
        except pygments.util.ClassNotFound:
            raise ApplicationError('Cannot highlight code. '
                'No Pygments lexer found for "%s".' % language)

    # Since version 1.2. (released Jan 01, 2010) Pygments has a 
    # TokenMergeFilter. ``self.merge(tokens)`` in __iter__ can be 
    # replaced by ``self.lexer.add_filter('tokenmerge')`` in __init__.
Convenience method to send data to the workers via command channel
dataset/ETHPy150Open espeed/lightbulb/lightbulb/directives/pygments_code_block_directive.py/Lexer.__init__--crossover with--dataset/ETHPy150Open coleifer/irc/botnet/boss.py/BotnetBot.send_workers