<s> from pygments . lexer import RegexLexer <EOL> from pygments . lexer import words <EOL> from pygments . token import Operator , Keyword , Text <EOL> from . options import COMMAND_NAMES , all_option_names <EOL> class CommandLexer ( RegexLexer ) : <EOL> name = '<STR_LIT>' <EOL> aliases = [ '<STR_LIT>' ] <EOL> filenames = [ ] <EOL> tokens = { <EOL> '<STR_LIT:root>' : [ <EOL> ( words ( tuple ( COMMAND_NAMES ) , prefix = r'<STR_LIT>' , suffix = r'<STR_LIT>' ) , <EOL> Operator . Word ) , <EOL> ( words ( tuple ( all_option_names ( ) ) , prefix = r'<STR_LIT>' , suffix = r'<STR_LIT>' ) , <EOL> Keyword ) , <EOL> ( r'<STR_LIT>' , Text ) , <EOL> ] <EOL> } </s>
