class documentation

class RexxLexer(RegexLexer):

View In Hierarchy

Rexx is a scripting language available for a wide range of different platforms with its roots found on mainframe systems. It is popular for I/O- and data based tasks and can act as glue language to bind different applications together.

New in version 2.0.
Constant PATTERNS​_AND​_WEIGHTS Undocumented
Method analyse​_text Check for inital comment and patterns that distinguish Rexx from other C-like languages.
Constant ​_ADDRESS​_COMMAND​_PATTERN Undocumented
Constant ​_ADDRESS​_PATTERN Undocumented
Constant ​_DO​_WHILE​_PATTERN Undocumented
Constant ​_ELSE​_DO​_PATTERN Undocumented
Constant ​_IF​_THEN​_DO​_PATTERN Undocumented
Constant ​_PARSE​_ARG​_PATTERN Undocumented
Constant ​_PROCEDURE​_PATTERN Undocumented
Class Variable ​_c 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
PATTERNS_AND_WEIGHTS =
def analyse_text(text):
Check for inital comment and patterns that distinguish Rexx from other C-like languages.
_ADDRESS_COMMAND_PATTERN =

Undocumented

Value
_c('^\\s*address\\s+command\\b')
_ADDRESS_PATTERN =

Undocumented

Value
_c('^\\s*address\\s+')
_DO_WHILE_PATTERN =

Undocumented

Value
_c('^\\s*do\\s+while\\b')
_ELSE_DO_PATTERN =

Undocumented

Value
_c('\\belse\\s+do\\s*$')
_IF_THEN_DO_PATTERN =

Undocumented

Value
_c('^\\s*if\\b.+\\bthen\\s+do\\s*$')
_PARSE_ARG_PATTERN =

Undocumented

Value
_c('^\\s*parse\\s+(upper\\s+)?(arg|value)\\b')
_PROCEDURE_PATTERN =

Undocumented

Value
_c('^\\s*([a-z_]\\w*)(\\s*)(:)(\\s*)(procedure)\\b')
_c =

Undocumented

aliases: list[str] =

Undocumented

filenames: list[str] =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

tokens =

Undocumented