raesl.pygments#

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#

EslLexer

Elephant Specification Language Lexer.

Attributes#

H

CON

EOT

SOT

EOL

BOL

keywords

raesl.pygments.H = '([ \\t]+)'#
raesl.pygments.CON = '(?=([ \\t]*\\.\\.\\.))'#
raesl.pygments.EOT = '(?=((\\.)|(\\s)|(#)))'#
raesl.pygments.SOT = '((^)|(?<=((\\.)|(\\s))))'#
raesl.pygments.EOL = '(?!([ \\t]*\\.\\.\\.))(?=([ \\t]*($|#)))'#
raesl.pygments.BOL = '([ \\t]*)'#
raesl.pygments.keywords = ['world', 'empty', 'define', 'is', 'be', 'a', 'an', 'with', 'argument', 'arguments',...#
class raesl.pygments.EslLexer(**options)#

Bases: pygments.lexer.RegexLexer

Elephant Specification Language Lexer.

name = 'Elephant Specification Language'#
aliases = ['esl', 'elephant']#
filenames = ['.esl']#
tokens#