class documentation

class OctaveLexer(RegexLexer):

View In Hierarchy

For GNU Octave source code.

New in version 1.5.
Method analyse​_text Octave is quite hard to spot, and it looks like Matlab as well.
Class Variable aliases Undocumented
Class Variable builtin​_consts Undocumented
Class Variable builtin​_kw Undocumented
Class Variable command​_kw Undocumented
Class Variable filenames Undocumented
Class Variable function​_kw Undocumented
Class Variable loadable​_kw Undocumented
Class Variable mapping​_kw 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):
Octave is quite hard to spot, and it looks like Matlab as well.
aliases: list[str] =

Undocumented

builtin_consts: tuple[str, ...] =

Undocumented

builtin_kw: tuple[str, ...] =

Undocumented

command_kw: tuple[str, ...] =

Undocumented

filenames: list[str] =

Undocumented

function_kw: tuple[str, ...] =

Undocumented

loadable_kw: tuple[str, ...] =

Undocumented

mapping_kw: tuple[str, ...] =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

tokens =

Undocumented