Back to index

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

List of all members.

Public Member Functions

def analyse_text

Static Public Attributes

string name = 'GAS'
list aliases = ['gas']
list filenames = ['*.s', '*.S']
list mimetypes = ['text/x-gas']
string string = r'"(\\"|[^"])*"'
string char = r'[a-zA-Z$._0-9@]'
string identifier = r'(?:[a-zA-Z$_]'
string number = r'(?:0[xX][a-zA-Z0-9]+|\d+)'
dictionary tokens

Detailed Description

For Gas (AT&T) assembly code.

Definition at line 26 of file asm.py.


Member Function Documentation

Definition at line 94 of file asm.py.

00094 
00095     def analyse_text(text):
00096         return re.match(r'^\.\w+', text, re.M)


Member Data Documentation

Definition at line 31 of file asm.py.

Definition at line 37 of file asm.py.

Definition at line 32 of file asm.py.

Definition at line 38 of file asm.py.

Definition at line 33 of file asm.py.

Definition at line 30 of file asm.py.

string MoinMoin.support.pygments.lexers.asm.GasLexer.number = r'(?:0[xX][a-zA-Z0-9]+|\d+)' [static]

Definition at line 39 of file asm.py.

Definition at line 36 of file asm.py.

Definition at line 41 of file asm.py.


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