class documentation

class Dasm16Lexer(RegexLexer):

View In Hierarchy

For DCPU-16 Assembly.

Check http://0x10c.com/doc/dcpu-16.txt

New in version 2.4.
Constant INSTRUCTIONS Undocumented
Constant REGISTERS Undocumented
Method guess​_identifier Undocumented
Class Variable aliases Undocumented
Class Variable binary​_number Undocumented
Class Variable char Undocumented
Class Variable filenames Undocumented
Class Variable identifier Undocumented
Class Variable instruction Undocumented
Class Variable mimetypes Undocumented
Class Variable name Undocumented
Class Variable number Undocumented
Class Variable single​_char Undocumented
Class Variable string Undocumented
Class Variable tokens Undocumented

Inherited from RegexLexer:

Method get​_tokens​_unprocessed Split text into (tokentype, text) pairs.

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
INSTRUCTIONS: list[str] =

Undocumented

Value
['SET',
 'ADD',
 'SUB',
 'MUL',
 'MLI',
 'DIV',
 'DVI',
...
REGISTERS: list[str] =

Undocumented

Value
['A',
 'B',
 'C',
 'X',
 'Y',
 'Z',
 'I',
...
def guess_identifier(lexer, match):

Undocumented

aliases: list[str] =

Undocumented

binary_number: str =

Undocumented

char: str =

Undocumented

filenames: list[str] =

Undocumented

identifier =

Undocumented

instruction =

Undocumented

mimetypes: list[str] =

Undocumented

name: str =

Undocumented

number: str =

Undocumented

single_char =

Undocumented

string: str =

Undocumented

tokens =

Undocumented