actionscript.php

gehe zur Dokumentation dieser Datei
00001 <?php
00002 /*************************************************************************************
00003  * actionscript.php
00004  * ----------------
00005  * Author: Steffen Krause (Steffen.krause@muse.de)
00006  * Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter)
00007  * Release Version: 1.0.7.20
00008  * Date Started: 2004/06/20
00009  *
00010  * Actionscript language file for GeSHi.
00011  *
00012  * CHANGES
00013  * -------
00014  * 2004/11/27 (1.0.1)
00015  *  -  Added support for multiple object splitters
00016  * 2004/10/27 (1.0.0)
00017  *  -  First Release
00018  *
00019  * TODO (updated 2004/11/27)
00020  * -------------------------
00021  *
00022  *************************************************************************************
00023  *
00024  *     This file is part of GeSHi.
00025  *
00026  *   GeSHi is free software; you can redistribute it and/or modify
00027  *   it under the terms of the GNU General Public License as published by
00028  *   the Free Software Foundation; either version 2 of the License, or
00029  *   (at your option) any later version.
00030  *
00031  *   GeSHi is distributed in the hope that it will be useful,
00032  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00033  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00034  *   GNU General Public License for more details.
00035  *
00036  *   You should have received a copy of the GNU General Public License
00037  *   along with GeSHi; if not, write to the Free Software
00038  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00039  *
00040  ************************************************************************************/
00041 
00042 $language_data = array (
00043      'LANG_NAME' => 'ActionScript',
00044      'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
00045      'COMMENT_MULTI' => array('/*' => '*/'),
00046      'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
00047      'QUOTEMARKS' => array("'", '"'),
00048      'ESCAPE_CHAR' => '\\',
00049      'KEYWORDS' => array(
00050           1 => array(
00051                '#include', 'for', 'foreach', 'if', 'elseif', 'else', 'while', 'do', 'dowhile',
00052                'endwhile', 'endif', 'switch', 'case', 'endswitch', 'return', 'break', 'continue', 'in'
00053                ),
00054           2 => array(
00055                'null', 'false', 'true', 'var',
00056                'default',     'function', 'class',
00057                'new', '_global'
00058                ),
00059           3 => array(
00060                '#endinitclip', '#initclip', '__proto__', '_accProps', '_alpha', '_currentframe',
00061                '_droptarget', '_focusrect', '_framesloaded', '_height', '_highquality', '_lockroot',
00062                '_name', '_parent', '_quality', '_root', '_rotation', '_soundbuftime', '_target', '_totalframes',
00063                '_url', '_visible', '_width', '_x', '_xmouse', '_xscale', '_y', '_ymouse', '_yscale', 'abs',
00064                'Accessibility', 'acos', 'activityLevel', 'add', 'addListener', 'addPage', 'addProperty',
00065                'addRequestHeader', 'align', 'allowDomain', 'allowInsecureDomain', 'and', 'appendChild',
00066                'apply', 'Arguments', 'Array', 'asfunction', 'asin', 'atan', 'atan2', 'attachAudio', 'attachMovie',
00067                'attachSound', 'attachVideo', 'attributes', 'autosize', 'avHardwareDisable', 'background',
00068                'backgroundColor', 'BACKSPACE', 'bandwidth', 'beginFill', 'beginGradientFill', 'blockIndent',
00069                'bold', 'Boolean', 'border', 'borderColor', 'bottomScroll', 'bufferLength', 'bufferTime',
00070                'builtInItems', 'bullet', 'Button', 'bytesLoaded', 'bytesTotal', 'call', 'callee', 'caller',
00071                'Camera', 'capabilities', 'CAPSLOCK', 'caption', 'catch', 'ceil', 'charAt', 'charCodeAt',
00072                'childNodes', 'chr', 'clear', 'clearInterval', 'cloneNode', 'close', 'Color', 'concat',
00073                'connect', 'condenseWhite', 'constructor', 'contentType', 'ContextMenu', 'ContextMenuItem',
00074                'CONTROL', 'copy', 'cos', 'createElement', 'createEmptyMovieClip', 'createTextField',
00075                'createTextNode', 'currentFps', 'curveTo', 'CustomActions', 'customItems', 'data', 'Date',
00076                'deblocking', 'delete', 'DELETEKEY', 'docTypeDecl', 'domain', 'DOWN',
00077                'duplicateMovieClip', 'duration', 'dynamic', 'E', 'embedFonts', 'enabled',
00078                'END', 'endFill', 'ENTER', 'eq', 'Error', 'ESCAPE(Konstante)', 'escape(Funktion)', 'eval',
00079                'exactSettings', 'exp', 'extends', 'finally', 'findText', 'firstChild', 'floor',
00080                'flush', 'focusEnabled', 'font', 'fps', 'fromCharCode', 'fscommand',
00081                'gain', 'ge', 'get', 'getAscii', 'getBeginIndex', 'getBounds', 'getBytesLoaded', 'getBytesTotal',
00082                'getCaretIndex', 'getCode', 'getCount', 'getDate', 'getDay', 'getDepth', 'getEndIndex', 'getFocus',
00083                'getFontList', 'getFullYear', 'getHours', 'getInstanceAtDepth', 'getLocal', 'getMilliseconds',
00084                'getMinutes', 'getMonth', 'getNewTextFormat', 'getNextHighestDepth', 'getPan', 'getProgress',
00085                'getProperty', 'getRGB', 'getSeconds', 'getSelected', 'getSelectedText', 'getSize', 'getStyle',
00086                'getStyleNames', 'getSWFVersion', 'getText', 'getTextExtent', 'getTextFormat', 'getTextSnapshot',
00087                'getTime', 'getTimer', 'getTimezoneOffset', 'getTransform', 'getURL', 'getUTCDate', 'getUTCDay',
00088                'getUTCFullYear', 'getUTCHours', 'getUTCMilliseconds', 'getUTCMinutes', 'getUTCMonth', 'getUTCSeconds',
00089                'getVersion', 'getVolume', 'getYear', 'globalToLocal', 'goto', 'gotoAndPlay', 'gotoAndStop',
00090                'hasAccessibility', 'hasAudio', 'hasAudioEncoder', 'hasChildNodes', 'hasEmbeddedVideo', 'hasMP3',
00091                'hasPrinting', 'hasScreenBroadcast', 'hasScreenPlayback', 'hasStreamingAudio', 'hasStreamingVideo',
00092                'hasVideoEncoder', 'height', 'hide', 'hideBuiltInItems', 'hitArea', 'hitTest', 'hitTestTextNearPos',
00093                'HOME', 'hscroll', 'html', 'htmlText', 'ID3', 'ifFrameLoaded', 'ignoreWhite', 'implements',
00094                'import', 'indent', 'index', 'indexOf', 'Infinity', '-Infinity', 'INSERT', 'insertBefore', 'install',
00095                'instanceof', 'int', 'interface', 'isActive', 'isDebugger', 'isDown', 'isFinite', 'isNaN', 'isToggled',
00096                'italic', 'join', 'Key', 'language', 'lastChild', 'lastIndexOf', 'le', 'leading', 'LEFT', 'leftMargin',
00097                'length', 'level', 'lineStyle', 'lineTo', 'list', 'LN10', 'LN2', 'load', 'loadClip', 'loaded', 'loadMovie',
00098                'loadMovieNum', 'loadSound', 'loadVariables', 'loadVariablesNum', 'LoadVars', 'LocalConnection',
00099                'localFileReadDisable', 'localToGlobal', 'log', 'LOG10E', 'LOG2E', 'manufacturer', 'Math', 'max',
00100                'MAX_VALUE', 'maxChars', 'maxhscroll', 'maxscroll', 'mbchr', 'mblength', 'mbord', 'mbsubstring', 'menu',
00101                'message', 'Microphone', 'min', 'MIN_VALUE', 'MMExecute', 'motionLevel', 'motionTimeOut', 'Mouse',
00102                'mouseWheelEnabled', 'moveTo', 'Movieclip', 'MovieClipLoader', 'multiline', 'muted', 'name', 'names', 'NaN',
00103                'ne', 'NEGATIVE_INFINITY', 'NetConnection', 'NetStream', 'newline', 'nextFrame',
00104                'nextScene', 'nextSibling', 'nodeName', 'nodeType', 'nodeValue', 'not', 'Number', 'Object',
00105                'on', 'onActivity', 'onChanged', 'onClipEvent', 'onClose', 'onConnect', 'onData', 'onDragOut',
00106                'onDragOver', 'onEnterFrame', 'onID3', 'onKeyDown', 'onKeyUp', 'onKillFocus', 'onLoad', 'onLoadComplete',
00107                'onLoadError', 'onLoadInit', 'onLoadProgress', 'onLoadStart', 'onMouseDown', 'onMouseMove', 'onMouseUp',
00108                'onMouseWheel', 'onPress', 'onRelease', 'onReleaseOutside', 'onResize', 'onRollOut', 'onRollOver',
00109                'onScroller', 'onSelect', 'onSetFocus', 'onSoundComplete', 'onStatus', 'onUnload', 'onUpdate', 'onXML',
00110                'or(logischesOR)', 'ord', 'os', 'parentNode', 'parseCSS', 'parseFloat', 'parseInt', 'parseXML', 'password',
00111                'pause', 'PGDN', 'PGUP', 'PI', 'pixelAspectRatio', 'play', 'playerType', 'pop', 'position',
00112                'POSITIVE_INFINITY', 'pow', 'prevFrame', 'previousSibling', 'prevScene', 'print', 'printAsBitmap',
00113                'printAsBitmapNum', 'PrintJob', 'printNum', 'private', 'prototype', 'public', 'push', 'quality',
00114                'random', 'rate', 'registerClass', 'removeListener', 'removeMovieClip', 'removeNode', 'removeTextField',
00115                'replaceSel', 'replaceText', 'resolutionX', 'resolutionY', 'restrict', 'reverse', 'RIGHT',
00116                'rightMargin', 'round', 'scaleMode', 'screenColor', 'screenDPI', 'screenResolutionX', 'screenResolutionY',
00117                'scroll', 'seek', 'selectable', 'Selection', 'send', 'sendAndLoad', 'separatorBefore', 'serverString',
00118                'set', 'setvariable', 'setBufferTime', 'setClipboard', 'setDate', 'setFocus', 'setFullYear', 'setGain',
00119                'setHours', 'setInterval', 'setMask', 'setMilliseconds', 'setMinutes', 'setMode', 'setMonth',
00120                'setMotionLevel', 'setNewTextFormat', 'setPan', 'setProperty', 'setQuality', 'setRate', 'setRGB',
00121                'setSeconds', 'setSelectColor', 'setSelected', 'setSelection', 'setSilenceLevel', 'setStyle',
00122                'setTextFormat', 'setTime', 'setTransform', 'setUseEchoSuppression', 'setUTCDate', 'setUTCFullYear',
00123                'setUTCHours', 'setUTCMilliseconds', 'setUTCMinutes', 'setUTCMonth', 'setUTCSeconds', 'setVolume',
00124                'setYear', 'SharedObject', 'SHIFT(Konstante)', 'shift(Methode)', 'show', 'showMenu', 'showSettings',
00125                'silenceLevel', 'silenceTimeout', 'sin', 'size', 'slice', 'smoothing', 'sort', 'sortOn', 'Sound', 'SPACE',
00126                'splice', 'split', 'sqrt', 'SQRT1_2', 'SQRT2', 'Stage', 'start', 'startDrag', 'static', 'status', 'stop',
00127                'stopAllSounds', 'stopDrag', 'String', 'StyleSheet(Klasse)', 'styleSheet(Eigenschaft)', 'substr',
00128                'substring', 'super', 'swapDepths', 'System', 'TAB', 'tabChildren', 'tabEnabled', 'tabIndex',
00129                'tabStops', 'tan', 'target', 'targetPath', 'tellTarget', 'text', 'textColor', 'TextField', 'TextFormat',
00130                'textHeight', 'TextSnapshot', 'textWidth', 'this', 'throw', 'time', 'toggleHighQuality', 'toLowerCase',
00131                'toString', 'toUpperCase', 'trace', 'trackAsMenu', 'try', 'type', 'typeof', 'undefined',
00132                'underline', 'unescape', 'uninstall', 'unloadClip', 'unloadMovie', 'unLoadMovieNum', 'unshift', 'unwatch',
00133                'UP', 'updateAfterEvent', 'updateProperties', 'url', 'useCodePage', 'useEchoSuppression', 'useHandCursor',
00134                'UTC', 'valueOf', 'variable', 'version', 'Video', 'visible', 'void', 'watch', 'width',
00135                'with', 'wordwrap', 'XML', 'xmlDecl', 'XMLNode', 'XMLSocket'
00136                )
00137           ),
00138      'SYMBOLS' => array(
00139           '(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
00140           ),
00141      'CASE_SENSITIVE' => array(
00142           GESHI_COMMENTS => false,
00143           1 => false,
00144           2 => false,
00145           3 => false,
00146           ),
00147      'STYLES' => array(
00148           'KEYWORDS' => array(
00149                1 => 'color: #b1b100;',
00150                2 => 'color: #000000; font-weight: bold;',
00151                3 => 'color: #0066CC;'
00152                ),
00153           'COMMENTS' => array(
00154                1 => 'color: #808080; font-style: italic;',
00155                2 => 'color: #808080; font-style: italic;',
00156                'MULTI' => 'color: #808080; font-style: italic;'
00157                ),
00158           'ESCAPE_CHAR' => array(
00159                0 => 'color: #000099; font-weight: bold;'
00160                ),
00161           'BRACKETS' => array(
00162                0 => 'color: #66cc66;'
00163                ),
00164           'STRINGS' => array(
00165                0 => 'color: #ff0000;'
00166                ),
00167           'NUMBERS' => array(
00168                0 => 'color: #cc66cc;'
00169                ),
00170           'METHODS' => array(
00171                1 => 'color: #006600;'
00172                ),
00173           'SYMBOLS' => array(
00174                0 => 'color: #66cc66;'
00175                ),
00176           'REGEXPS' => array(
00177                ),
00178           'SCRIPT' => array(
00179                )
00180           ),
00181      'URLS' => array(
00182           1 => '',
00183           2 => '',
00184           3 => ''
00185           ),
00186      'OOLANG' => true,
00187      'OBJECT_SPLITTERS' => array(
00188           1 => '.'
00189           ),
00190      'REGEXPS' => array(
00191           ),
00192      'STRICT_MODE_APPLIES' => GESHI_NEVER,
00193      'SCRIPT_DELIMITERS' => array(),
00194      'HIGHLIGHT_STRICT_BLOCK' => array()
00195 );
00196 
00197 ?>

Erzeugt am Thu May 14 00:55:48 2009 für OpenRat von  doxygen 1.5.8