File: //usr/lib/python3/dist-packages/pygments/lexers/__pycache__/actionscript.cpython-38.pyc
U
G�
\�+ � @ s� d Z ddlZddlmZmZmZmZmZmZ ddl m
Z
mZmZm
Z
mZmZmZmZ dddgZG dd� de�ZG d d� de�ZG d
d� de�ZdS )z�
pygments.lexers.actionscript
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lexers for ActionScript and MXML.
:copyright: Copyright 2006-2017 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�
RegexLexer�bygroups�using�this�words�default)�Text�Comment�Operator�Keyword�Name�String�Number�Punctuation�ActionScriptLexer�ActionScript3Lexer� MxmlLexerc @ s� e Zd ZdZdZddgZdgZdddgZej Z
d d
efdej
fdejfd
ejfdefdefeddd�efeddd�ejfdejfeddd�ejfeddd�ejfdejfdejfdejfdejfdejfdej
fgiZ dS )r zB
For ActionScript source code.
.. versionadded:: 0.9
ZActionScript�asZactionscript�*.aszapplication/x-actionscriptztext/x-actionscriptztext/actionscript�root�\s+�//.*?\n� /\*.*?\*/z/(\\\\|\\/|[^/\n])*/[gim]*z[~^*!%&<>|+=:;,/?\\-]+z
[{}\[\]();.]+)Zcaser �forZeach�in�whileZdo�break�return�continue�if�else�throw�tryZcatch�var�with�newZtypeofZ argumentsZ
instanceofr Zswitchz\b)�suffix)�classZpublic�finalZinternalZnative�overrideZprivateZ protectedZstatic�importZextendsZ
implementsZ interfaceZ intrinsicr �superZdynamicZfunctionZconst�get� namespace�package�setz9(true|false|null|NaN|Infinity|-Infinity|undefined|Void)\b)�Z
AccessibilityZAccessibilityPropertiesZActionScriptVersionZ
ActivityEventZ
AntiAliasTypeZApplicationDomainZ
AsBroadcasterZArrayZAsyncErrorEventZ AVM1MovieZBevelFilterZBitmapZ
BitmapDataZBitmapDataChannelZBitmapFilterZBitmapFilterQualityZBitmapFilterTypeZ BlendModeZ
BlurFilterZBooleanZ ByteArrayZCameraZCapabilitiesZ CapsStyleZClassZColorZColorMatrixFilterZColorTransformZContextMenuZContextMenuBuiltInItemsZContextMenuEventZContextMenuItemZConvultionFilterZCSMSettingsZ DataEventZDateZDefinitionErrorZDeleteObjectSampleZ
DictionaryZDisplacmentMapFilterZ
DisplayObjectZDisplacmentMapFilterModeZDisplayObjectContainerZDropShadowFilterZEndian�EOFError�ErrorZ
ErrorEventZ EvalErrorZEventZEventDispatcherZ
EventPhaseZExternalInterfaceZ
FileFilterZ
FileReferenceZFileReferenceListZFocusDirectionZ
FocusEventZFontZ FontStyleZFontTypeZ
FrameLabelZFullScreenEvent�FunctionZ
GlowFilterZGradientBevelFilterZGradientGlowFilterZGradientTypeZGraphicsZGridFitTypeZHTTPStatusEventZIBitmapDrawableZID3InfoZ
IDataInputZIDataOutputZ,IDynamicPropertyOutputIDynamicPropertyWriterZIEventDispatcherZIExternalizableZIllegalOperationErrorZIMEZIMEConversionModeZIMEEvent�intZInteractiveObjectZInterpolationMethodZInvalidSWFErrorZInvokeEvent�IOErrorZIOErrorEventZ
JointStyleZKeyZKeyboardZ
KeyboardEventZKeyLocationZ
LineScaleMode�LoaderZ
LoaderContextZ
LoaderInfoZLoadVarsZLocalConnectionZLocaleZMathZMatrix�MemoryErrorZ
MicrophoneZ
MorphShapeZMouseZ
MouseEventZ MovieClipZMovieClipLoader� NamespaceZ
NetConnectionZNetStatusEventZ NetStreamZNewObjectSampler ZObjectZObjectEncodingZ
PixelSnappingZPointZPrintJobZPrintJobOptionsZPrintJobOrientationZ
ProgressEventZProxyZQNameZ
RangeErrorZ Rectangle�ReferenceErrorZRegExpZ ResponderZSampleZSceneZScriptTimeoutErrorZSecurityZSecurityDomainZ
SecurityErrorZSecurityErrorEventZ
SecurityPanelZ SelectionZShapeZSharedObjectZSharedObjectFlushStatusZSimpleButtonZSocketZSoundZSoundChannelZSoundLoaderContextZ
SoundMixerZSoundTransformZSpreadMethodZSpriteZ
StackFrameZStackOverflowErrorZStageZ
StageAlignZStageDisplayStateZStageQualityZStageScaleModeZ
StaticTextZStatusEventr
Z
StyleSheetZ
SWFVersionZ SyncEvent�SyntaxErrorZSystemZ
TextColorTypeZ TextFieldZTextFieldAutoSizeZ
TextFieldTypeZ
TextFormatZTextFormatAlignZTextLineMetricsZTextRendererZTextSnapshotZTimerZ
TimerEventZ Transform� TypeErrorZuintZURIErrorZ URLLoaderZURLLoaderDataFormatZ
URLRequestZURLRequestHeaderZURLRequestMethodZ URLStreamZ
URLVariabelesZVerifyErrorZVideoZXMLZXMLDocumentZXMLListZXMLNodeZXMLNodeTypeZ XMLSocketZXMLUI)Z decodeURIZdecodeURIComponentZ encodeURI�escape�evalZisFiniteZisNaNZ isXMLNameZ
clearIntervalZ fscommandZgetTimerZgetURLZ
getVersionZ
parseFloatZparseIntZsetIntervalZtraceZupdateAfterEventZunescape�
[$a-zA-Z_]\w*�%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?�0x[0-9a-f]+�[0-9]+�"(\\\\|\\"|[^"])*"�'(\\\\|\\'|[^'])*'N)!�__name__�
__module__�__qualname__�__doc__�name�aliases� filenames� mimetypes�re�DOTALL�flagsr r �Single� Multiliner
�Regexr
r r r �Declaration�Constantr ZBuiltinr2 ZOtherr �Float�Hex�Integer�Double�tokens� rX rX �>/usr/lib/python3/dist-packages/pygments/lexers/actionscript.pyr s\ ������'�(�)����c @ s� e Zd ZdZdZddgZdgZdddgZd Zed
Z e
je
jB Z
defde d
eejejee�dfde d e d eejeeeeeej�fde d eeeeje�fde d
eeeejee�fdejfdejfdejfde d eeej�fdefdejfdejfdejfeefdej fdej!fdej"fd ej#fd!ejfd"efgdefd#e d e d$ eeeeeeeeje�d%fd&ed'fgd(e d) eeeeej�d*fded*fe$d*�gd+eeee%e&�ee�d,fd-ed,fe$d,�gd.�Z'd/d0� Z(d1S )2r zE
For ActionScript 3 source code.
.. versionadded:: 0.11
zActionScript 3Zas3Z
actionscript3r zapplication/x-actionscript3ztext/x-actionscript3ztext/actionscript3r= z(?:\.<\w+>)?r z(function\s+)(z
)(\s*)(\()�
funcparamsz(var|const)(\s+)(z)(\s*)(:)(\s*)(�)z(import|package)(\s+)((?:z|\.)+)(\s*)z(new)(\s+)(r r z/(\\\\|\\/|[^\n])*/[gisx]*z(\.)(z�(case|default|for|each|in|while|do|break|return|continue|if|else|throw|try|catch|with|new|typeof|arguments|instanceof|this|switch|import|include|as|is)\bz�(class|public|final|internal|native|override|private|protected|static|import|extends|implements|interface|intrinsic|return|super|dynamic|function|const|get|namespace|package|set)\bz9(true|false|null|NaN|Infinity|-Infinity|undefined|void)\bz�(decodeURI|decodeURIComponent|encodeURI|escape|eval|isFinite|isNaN|isXMLName|clearInterval|fscommand|getTimer|getURL|getVersion|isFinite|parseFloat|parseInt|setInterval|trace|updateAfterEvent|unescape)\br>