Ë VÂàÈqtãó¦—dZddlZddlmZmZmZmZmZmZddl m Z m Z m Z m Z mZmZmZmZmZgd¢ZGd„de«ZGd„d e«ZGd „d e«Zy) zÞ pygments.lexers.actionscript ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Lexers for ActionScript and MXML. :copyright: Copyright 2006-2023 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Ú Whitespace)ÚActionScriptLexerÚActionScript3LexerÚ MxmlLexercóú—eZdZdZdZddgZdgZgd¢ZejZ dde fd e jfd e jfd ej fd efd efedd¬«efedd¬«ej*fdej,fedd¬«ej0fedd¬«ej2fdej4fdej8fdej:fdej<fdej>fdejfgiZ d„Z!y)rzB For ActionScript source code. .. versionadded:: 0.9 Ú ActionScriptÚ actionscriptÚasú*.as)zapplication/x-actionscriptztext/x-actionscriptztext/actionscriptÚrootú\s+ú//.*?\nú /\*.*?\*/z /(\\\\|\\[^\\]|[^/\\\n])*/[gim]*z[~^*!%&<>|+=:;,/?\\-]+z [{}\[\]();.]+)ÚcaserÚforÚeachÚinÚwhileÚdoÚbreakÚreturnÚcontinueÚifÚelseÚthrowÚtryÚcatchÚvarÚwithÚnewÚtypeofÚ argumentsÚ instanceofrÚswitchz\b)Úsuffix)ÚclassÚpublicÚfinalÚinternalÚnativeÚoverrideÚprivateÚ protectedÚstaticÚimportÚextendsÚ implementsÚ interfaceÚ intrinsicr%ÚsuperÚdynamicÚfunctionÚconstÚgetÚ namespaceÚpackageÚsetz9(true|false|null|NaN|Infinity|-Infinity|undefined|Void)\b)ÆÚ AccessibilityÚAccessibilityPropertiesÚActionScriptVersionÚ ActivityEventÚ AntiAliasTypeÚApplicationDomainÚ AsBroadcasterÚArrayÚAsyncErrorEventÚ AVM1MovieÚ BevelFilterÚBitmapÚ BitmapDataÚBitmapDataChannelÚ BitmapFilterÚBitmapFilterQualityÚBitmapFilterTypeÚ BlendModeÚ BlurFilterÚBooleanÚ ByteArrayÚCameraÚ CapabilitiesÚ CapsStyleÚClassÚColorÚColorMatrixFilterÚColorTransformÚ ContextMenuÚContextMenuBuiltInItemsÚContextMenuEventÚContextMenuItemÚConvultionFilterÚ CSMSettingsÚ DataEventÚDateÚDefinitionErrorÚDeleteObjectSampleÚ DictionaryÚDisplacmentMapFilterÚ DisplayObjectÚDisplacmentMapFilterModeÚDisplayObjectContainerÚDropShadowFilterÚEndianÚEOFErrorÚErrorÚ ErrorEventÚ EvalErrorÚEventÚEventDispatcherÚ EventPhaseÚExternalInterfaceÚ FileFilterÚ FileReferenceÚFileReferenceListÚFocusDirectionÚ FocusEventÚFontÚ FontStyleÚFontTypeÚ FrameLabelÚFullScreenEventÚFunctionÚ GlowFilterÚGradientBevelFilterÚGradientGlowFilterÚ GradientTypeÚGraphicsÚ GridFitTypeÚHTTPStatusEventÚIBitmapDrawableÚID3InfoÚ IDataInputÚ IDataOutputÚ,IDynamicPropertyOutputIDynamicPropertyWriterÚIEventDispatcherÚIExternalizableÚIllegalOperationErrorÚIMEÚIMEConversionModeÚIMEEventÚintÚInteractiveObjectÚInterpolationMethodÚInvalidSWFErrorÚ InvokeEventÚIOErrorÚ IOErrorEventÚ JointStyleÚKeyÚKeyboardÚ KeyboardEventÚ KeyLocationÚ LineScaleModeÚLoaderÚ LoaderContextÚ LoaderInfoÚLoadVarsÚLocalConnectionÚLocaleÚMathÚMatrixÚ MemoryErrorÚ MicrophoneÚ MorphShapeÚMouseÚ MouseEventÚ MovieClipÚMovieClipLoaderÚ NamespaceÚ NetConnectionÚNetStatusEventÚ NetStreamÚNewObjectSamplerÚObjectÚObjectEncodingÚ PixelSnappingÚPointÚPrintJobÚPrintJobOptionsÚPrintJobOrientationÚ ProgressEventÚProxyÚQNameÚ RangeErrorÚ RectangleÚReferenceErrorÚRegExpÚ ResponderÚSampleÚSceneÚScriptTimeoutErrorÚSecurityÚSecurityDomainÚ SecurityErrorÚSecurityErrorEventÚ SecurityPanelÚ SelectionÚShapeÚ SharedObjectÚSharedObjectFlushStatusÚ SimpleButtonÚSocketÚSoundÚ SoundChannelÚSoundLoaderContextÚ SoundMixerÚSoundTransformÚ SpreadMethodÚSpriteÚ StackFrameÚStackOverflowErrorÚStageÚ StageAlignÚStageDisplayStateÚ StageQualityÚStageScaleModeÚ StaticTextÚ StatusEventrÚ StyleSheetÚ SWFVersionÚ SyncEventÚ SyntaxErrorÚSystemÚ TextColorTypeÚ TextFieldÚTextFieldAutoSizeÚ TextFieldTypeÚ TextFormatÚTextFormatAlignÚTextLineMetricsÚ TextRendererÚ TextSnapshotÚTimerÚ TimerEventÚ TransformÚ TypeErrorÚuintÚURIErrorÚ URLLoaderÚURLLoaderDataFormatÚ URLRequestÚURLRequestHeaderÚURLRequestMethodÚ URLStreamÚ URLVariabelesÚ VerifyErrorÚVideoÚXMLÚ XMLDocumentÚXMLListÚXMLNodeÚ XMLNodeTypeÚ XMLSocketÚXMLUI)Ú decodeURIÚdecodeURIComponentÚ encodeURIÚescapeÚevalÚisFiniteÚisNaNÚ isXMLNameÚ clearIntervalÚ fscommandÚgetTimerÚgetURLÚ getVersionÚ parseFloatÚparseIntÚ setIntervalÚtraceÚupdateAfterEventÚunescapeú [$a-zA-Z_]\w*ú%[0-9][0-9]*\.[0-9]+([eE][0-9]+)?[fd]?ú 0x[0-9a-f]+ú[0-9]+ú"(\\\\|\\[^\\]|[^"\\])*"ú'(\\\\|\\[^\\]|[^'\\])*'có—y)zÈThis is only used to disambiguate between ActionScript and ActionScript3. We return 0 here; the ActionScript3 lexer will match AS3 variable definitions and that will hopefully suffice.r©©Útexts úA/usr/lib/python3.12/site-packages/pygments/lexers/actionscript.pyÚ analyse_textzActionScriptLexer.analyse_textps€ðóN)"Ú__name__Ú __module__Ú __qualname__Ú__doc__ÚnameÚaliasesÚ filenamesÚ mimetypesÚreÚDOTALLÚflagsrr ÚSingleÚ MultilinerÚRegexr rrr Ú DeclarationÚConstantr ÚBuiltinr‰ÚOtherrÚFloatÚHexÚIntegerÚDoubleÚtokensr,r(r-r+rrsl„ñð €DؘtÐ$€GØ�€Iò&€Ið �I‰I€EàØ �ZÐ Ø ˜Ÿ™Ð (Ø ˜7×,Ñ,Ð -Ø 0°&·,±,Ð ?Ø &¨Ð 1Ø ˜{Ð +Ù ðð#(ô )ð ð  ñ ð/ð8=ô >ð × Ñ ð  "ð JØ × Ñ ð á ð'ðN"'ôO'(ðP�\‰\ðQ( ñRðð%*ô +ð �]‰]ð  ð ˜tŸz™zÐ *Ø 5°v·|±|Ð DØ ˜VŸZ™ZÐ (Ø ˜Ÿ™Ð 'Ø (¨&¯-©-Ð 8Ø (¨&¯-©-Ð 8ðSJ ðL€Fó\r-rcóô—eZdZdZdZdZddgZdgZgd¢ZdZ e d zZ e je jzZd efd e zd zeej$ej(ee«d fde zdze zdzeej$eeeeeej0«fde zdzeeeej2e«fde zd zeeeej0ee«fdej6fdej8fdej<fde zdzeeej>«fdefdej$fdej@fdej(fe efde!jDfde!jFfde!jHfdejJfd ej6fd!efgd efd"e zdze zd#zeeeeeeeej0e«d$fd%ed&fgd'e zd(zeeeeej0«d)fd ed)fe&d)«gd*eeee'e(«ee«d+fd,ed+fe&d+«gd-œZ)d.„Z*y/)0rzE For ActionScript 3 source code. .. versionadded:: 0.11 zActionScript 3zNhttps://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/index.htmlÚ actionscript3Úas3r)zapplication/x-actionscript3ztext/x-actionscript3ztext/actionscript3r!z (?:\.<\w+>)?rz(function\s+)(z )(\s*)(\()Ú funcparamsz(var|const)(\s+)(z)(\s*)(:)(\s*)(Ú)z(import|package)(\s+)((?:z |\.)+)(\s*)z (new)(\s+)(rrz /(\\\\|\\[^\\]|[^\\\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"r#r$r%r&z[~^*!%&<>|+=:;,/?\\{}\[\]().-]+z(\s*)(\.\.\.)?(z |\*)(\s*)Údefvalz\)Útypez(\s*)(:)(\s*)(z|\*)z#pop:2z(=)(\s*)([^(),]+)(\s*)(,?)ú#popÚ,)rrHrKrJcó2—tjd|«ryy)Nz \w+\s*:\s*\wg333333Ó?r)r6Úmatchr)s r+r,zActionScript3Lexer.analyse_textÆs€Ü �8‰8�O TÔ *ØØr-N)+r.r/r0r1r2Úurlr3r4r5Ú identifierÚtypeidentifierr6r7Ú MULTILINEr8rrr r<r r‰r r rÚTyper¸r r9r:rr;Ú Attributer=rr@rArBrCrrrrDr,r(r-r+rrvsâ„ñð €DØ Z€CØ Ð&€GØ�€Iò'€Ið"€JØ /Ñ1€Nà �I‰I˜Ÿ ™ Ñ $€Eð�ZÐ Ø  Ñ +¨mÑ ;Ù �g×)Ñ)¨4¯=©=¸$ÀÓ IØ ð ð" JÑ .Ð1CÑ CØ ñØ"ñ#á �g×)Ñ)¨:°t¸ZÈÐV`Ø—l‘ló$ð %ð*¨JÑ 6¸Ñ GÙ �g˜z¨4¯>©>¸:Ó Fð Hà ˜nÑ ,¨}Ñ <Ù �g˜z¨7¯<©<¸ÀXÓ Nð Pà ˜Ÿ™Ð (Ø ˜7×,Ñ,Ð -Ø 0°&·,±,Ð ?Ø ˜ Ñ " TÑ )©8°H¸d¿n¹nÓ+MÐ Nð/ðð ðDð× Ñ ð "ðJØ × Ñ ð ðð"Ÿ]™]ð ,ð˜Ð Ø 5°v·|±|Ð DØ ˜VŸZ™ZÐ (Ø ˜Ÿ™Ð 'Ø (¨&¯-©-Ð 8Ø (¨&¯-©-Ð 8Ø /°Ð :ðK& ðP�ZÐ Ø  *Ñ ,Ð/AÑ AØ ñØ*ñ+á �j +¨t°ZÀÈ:Ø—l‘l Jó0Ø19ð ;ð�H˜fÐ %ð  ð Ñ /°'Ñ 9Ù �j (¨J¸¿ ¹ Ó EÀxð Qà �T˜8Ð $Ù �HÓ ð  ð+Ù �h  ©E°$«K¸ÀXÓ NÐPVð Xà �8˜VÐ $Ù �F‹Oð  ñm<€Fó|r-rc óŒ—eZdZdZej ej zZdZdgZ dgZ ddgZ de fde jfd eeee«e«fd ed fd ej(fd ej(fde j*dfde j*fgdefdedfdefgdefde j.dfde j*dfgdefdedfdedfdedfgdœZy)rz~ For MXML markup. Nested AS3 in