class documentation

class EasytrieveLexer(RegexLexer):

View In Hierarchy

Easytrieve Plus is a programming language for extracting, filtering and converting sequential data. Furthermore it can layout data for reports. It is mainly used on mainframe platforms and can access several of the mainframe's native file formats. It is somewhat comparable to awk.

New in version 2.1.
Method analyse​_text Perform a structural analysis for basic Easytrieve constructs.
Constant ​_COMMENT​_LINE​_REGEX Undocumented
Constant ​_DELIMITER​_PATTERN Undocumented
Constant ​_DELIMITER​_PATTERN​_CAPTURE Undocumented
Constant ​_DELIMITERS Undocumented
Constant ​_DELIMITERS​_OR​_COMENT Undocumented
Constant ​_KEYWORDS Undocumented
Constant ​_MACRO​_HEADER​_REGEX Undocumented
Constant ​_NON​_DELIMITER​_OR​_COMMENT​_PATTERN Undocumented
Constant ​_OPERATORS​_PATTERN Undocumented
Class Variable aliases Undocumented
Class Variable filenames Undocumented
Class Variable flags 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):
Perform a structural analysis for basic Easytrieve constructs.
_COMMENT_LINE_REGEX =

Undocumented

Value
re.compile(r'^\s*\*')
_DELIMITER_PATTERN =

Undocumented

Value
('['+_DELIMITERS)+']'
_DELIMITER_PATTERN_CAPTURE =

Undocumented

Value
('('+_DELIMITER_PATTERN)+')'
_DELIMITERS: str =

Undocumented

Value
' \\\'.,():\\n'
_DELIMITERS_OR_COMENT =

Undocumented

Value
_DELIMITERS+'*'
_KEYWORDS: list[str] =

Undocumented

Value
['AFTER-BREAK',
 'AFTER-LINE',
 'AFTER-SCREEN',
 'AIM',
 'AND',
 'ATTR',
 'BEFORE',
...
_MACRO_HEADER_REGEX =

Undocumented

Value
re.compile(r'^\s*MACRO')
_NON_DELIMITER_OR_COMMENT_PATTERN =

Undocumented

Value
('[^'+_DELIMITERS_OR_COMENT)+']'
_OPERATORS_PATTERN: str =

Undocumented

Value
'[.+\\-/=\\[\\](){}<>;,&%¬]'
aliases: list[str] =

Undocumented

filenames: list[str] =

Undocumented

flags: int =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

tokens =

Undocumented