class documentation

class SlurmBashLexer(BashLexer):

View In Hierarchy

Lexer for (ba|k|z|)sh Slurm scripts.

New in version 2.4.
Constant EXTRA​_KEYWORDS Undocumented
Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented

Inherited from BashLexer:

Method analyse​_text No summary
Class Variable tokens Undocumented

Inherited from Lexer (via BashLexer, RegexLexer):

Method get​_tokens Return an iterable of (tokentype, value) pairs generated from text. If unfiltered is set to True, the filtering mechanism is bypassed even if filters are defined.
Class Variable alias​_filenames Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method add​_filter Add a new stream filter to this lexer.
Class Variable priority Undocumented
Instance Variable encoding Undocumented
Instance Variable ensurenl Undocumented
Instance Variable filters Undocumented
Instance Variable options Undocumented
Instance Variable stripall Undocumented
Instance Variable stripnl Undocumented
Instance Variable tabsize Undocumented
EXTRA_KEYWORDS: set[str] =

Undocumented

Value
set(['srun'])
def get_tokens_unprocessed(self, text):

Split text into (tokentype, text) pairs.

stack is the inital stack (default: ['root'])

aliases: list[str] =
filenames: list[str] =
mimetypes: list =
name: str =

Undocumented