class documentation

class EzhilLexer(RegexLexer):

View In Hierarchy

Lexer for Ezhil, a Tamil script-based programming language

New in version 2.1.
Method __init__ Undocumented
Method analyse​_text No summary
Constant ​_TALETTERS 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
Instance Variable encoding 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 __repr__ Undocumented
Method add​_filter Add a new stream filter to this lexer.
Class Variable priority 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 __init__(self, **options):

Undocumented

def analyse_text(text):
This language uses Tamil-script. We'll assume that if there's a decent amount of Tamil-characters, it's this language. This assumption is obviously horribly off if someone uses string literals in tamil in another language.
_TALETTERS: str =

Undocumented

Value
'[a-zA-Z_]|[஀-௿]'
aliases: list[str] =

Undocumented

filenames: list[str] =

Undocumented

flags =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

tokens =

Undocumented

encoding =

Undocumented