Back to index

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

List of all members.

Public Member Functions

def analyse_text

Static Public Attributes

string name = 'ActionScript 3'
list aliases = ['as3', 'actionscript3']
list filenames = ['*.as']
list mimetypes
string identifier = r'[$a-zA-Z_][a-zA-Z0-9_]*'
 flags = re.DOTALL|re.MULTILINE
dictionary tokens

Detailed Description

For ActionScript 3 source code.

*New in Pygments 0.11.*

Definition at line 176 of file web.py.


Member Function Documentation

Definition at line 251 of file web.py.

00251 
00252     def analyse_text(text):
00253         if re.match(r'\w+\s*:\s*\w', text): return 0.3
00254         return 0.1
00255 


Member Data Documentation

list MoinMoin.support.pygments.lexers.web.ActionScript3Lexer.aliases = ['as3', 'actionscript3'] [static]

Definition at line 184 of file web.py.

Definition at line 185 of file web.py.

Definition at line 191 of file web.py.

string MoinMoin.support.pygments.lexers.web.ActionScript3Lexer.identifier = r'[$a-zA-Z_][a-zA-Z0-9_]*' [static]

Definition at line 189 of file web.py.

Initial value:
['application/x-actionscript', 'text/x-actionscript',
                 'text/actionscript']

Definition at line 186 of file web.py.

Definition at line 183 of file web.py.

Definition at line 192 of file web.py.


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