class documentation

class JclLexer(RegexLexer):

View In Hierarchy

Job Control Language (JCL) is a scripting language used on mainframe platforms to instruct the system on how to run a batch job or start a subsystem. It is somewhat comparable to MS DOS batch and Unix shell scripts.

New in version 2.1.
Method analyse​_text Recognize JCL job by header.
Constant ​_JOB​_HEADER​_PATTERN Undocumented
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented
Class Variable tokens Undocumented

Inherited from RegexLexer:

Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.

Inherited from Lexer (via 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
def analyse_text(text):
Recognize JCL job by header.
_JOB_HEADER_PATTERN =

Undocumented

Value
re.compile(r'^//[a-z#\$@][a-z0-9#\$@]{,7}\s+job(\s+.*)?$',
           re.IGNORECASE)
aliases: list[str] =

Undocumented

filenames: list[str] =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

tokens =

Undocumented