class documentation

class EmacsLispLexer(RegexLexer):

View In Hierarchy

An ELisp lexer, parsing a stream and outputting the tokens needed to highlight elisp code.

New in version 2.1.
Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.
Class Variable aliases Undocumented
Class Variable builtin​_function Undocumented
Class Variable builtin​_function​_highlighted Undocumented
Class Variable constituent Undocumented
Class Variable error​_keywords Undocumented
Class Variable filenames Undocumented
Class Variable lambda​_list​_keywords Undocumented
Class Variable macros Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented
Class Variable nonmacro Undocumented
Class Variable special​_forms Undocumented
Class Variable symbol Undocumented
Class Variable terminated Undocumented
Class Variable tokens Undocumented

Inherited from Lexer (via RegexLexer):

Method analyse​_text No summary
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 get_tokens_unprocessed(self, text):

Split text into (tokentype, text) pairs.

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

aliases: list[str] =

Undocumented

builtin_function: set[str] =

Undocumented

builtin_function_highlighted: set[str] =

Undocumented

constituent =

Undocumented

error_keywords: set[str] =

Undocumented

filenames: list[str] =

Undocumented

lambda_list_keywords: set[str] =

Undocumented

macros: set[str] =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

nonmacro: str =

Undocumented

special_forms: set[str] =

Undocumented

symbol =

Undocumented

terminated: str =

Undocumented

tokens =

Undocumented