Back to index

moin  1.9.0~rc2
Static Public Attributes
MoinMoin.support.pygments.lexers.asm.NasmLexer Class Reference
Inheritance diagram for MoinMoin.support.pygments.lexers.asm.NasmLexer:
Inheritance graph
[legend]
Collaboration diagram for MoinMoin.support.pygments.lexers.asm.NasmLexer:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

string name = 'NASM'
list aliases = ['nasm']
list filenames = ['*.asm', '*.ASM']
list mimetypes = ['text/x-nasm']
string identifier = r'[a-zA-Z$._?][a-zA-Z0-9$._?#@~]*'
string hexn = r'(?:0[xX][0-9a-fA-F]+|$0[0-9a-fA-F]*|[0-9a-fA-F]+h)'
string octn = r'[0-7]+q'
string binn = r'[01]+b'
string decn = r'[0-9]+'
string floatn = r'\.e?'
string string = r'"(\\"|[^"])*"|'
string declkw = r'(?:res|d)[bwdqt]|times'
tuple register
string wordop = r'seg|wrt|strict'
string type = r'byte|[dq]?word'
tuple directives
 flags = re.IGNORECASE|re.MULTILINE
dictionary tokens

Detailed Description

For Nasm (Intel) assembly code.

Definition at line 265 of file asm.py.


Member Data Documentation

Definition at line 270 of file asm.py.

Definition at line 277 of file asm.py.

string MoinMoin.support.pygments.lexers.asm.NasmLexer.declkw = r'(?:res|d)[bwdqt]|times' [static]

Definition at line 281 of file asm.py.

Definition at line 278 of file asm.py.

Initial value:
(r'BITS|USE16|USE32|SECTION|SEGMENT|ABSOLUTE|EXTERN|GLOBAL|'
                  r'COMMON|CPU|GROUP|UPPERCASE|IMPORT|EXPORT|LIBRARY|MODULE')

Definition at line 286 of file asm.py.

Definition at line 271 of file asm.py.

MoinMoin.support.pygments.lexers.asm.NasmLexer.flags = re.IGNORECASE|re.MULTILINE [static]

Definition at line 289 of file asm.py.

Definition at line 279 of file asm.py.

string MoinMoin.support.pygments.lexers.asm.NasmLexer.hexn = r'(?:0[xX][0-9a-fA-F]+|$0[0-9a-fA-F]*|[0-9a-fA-F]+h)' [static]

Definition at line 275 of file asm.py.

string MoinMoin.support.pygments.lexers.asm.NasmLexer.identifier = r'[a-zA-Z$._?][a-zA-Z0-9$._?#@~]*' [static]

Definition at line 274 of file asm.py.

Definition at line 272 of file asm.py.

Definition at line 269 of file asm.py.

Definition at line 276 of file asm.py.

Initial value:
(r'[a-d][lh]|e?[a-d]x|e?[sb]p|e?[sd]i|[c-gs]s|st[0-7]|'
                r'mm[0-7]|cr[0-4]|dr[0-367]|tr[3-7]')

Definition at line 282 of file asm.py.

Definition at line 280 of file asm.py.

Definition at line 290 of file asm.py.

Definition at line 285 of file asm.py.

Definition at line 284 of file asm.py.


The documentation for this class was generated from the following file: