:py:mod:`raesl.pygments` ======================== .. py:module:: raesl.pygments .. autoapi-nested-parse:: ESL Pygments Lexer module. A Pygments Lexer for the Elephant Specification Language (ESL). Mainly used for syntax highlighting in generated documentation using Sphinx. Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: raesl.pygments.EslLexer Attributes ~~~~~~~~~~ .. autoapisummary:: raesl.pygments.H raesl.pygments.CON raesl.pygments.EOT raesl.pygments.SOT raesl.pygments.EOL raesl.pygments.BOL raesl.pygments.keywords .. py:data:: H :value: '([ \\t]+)' .. py:data:: CON :value: '(?=([ \\t]*\\.\\.\\.))' .. py:data:: EOT :value: '(?=((\\.)|(\\s)|(#)))' .. py:data:: SOT :value: '((^)|(?<=((\\.)|(\\s))))' .. py:data:: EOL :value: '(?!([ \\t]*\\.\\.\\.))(?=([ \\t]*($|#)))' .. py:data:: BOL :value: '([ \\t]*)' .. py:data:: keywords :value: ['world', 'empty', 'define', 'is', 'be', 'a', 'an', 'with', 'argument', 'arguments',... .. py:class:: EslLexer(**options) Bases: :py:obj:`pygments.lexer.RegexLexer` Elephant Specification Language Lexer. .. py:attribute:: name :value: 'Elephant Specification Language' .. py:attribute:: aliases :value: ['esl', 'elephant'] .. py:attribute:: filenames :value: ['.esl'] .. py:attribute:: tokens