[ Index ] |
|
Code source de DokuWiki 2006-11-06 |
1 <?php 2 /************************************************************************************* 3 * applescript.php 4 * -------- 5 * Author: Stephan Klimek (http://www.initware.org) 6 * Copyright: Stephan Klimek (http://www.initware.org) 7 * Release Version: 1.0.7.15 8 * CVS Revision Version: $Revision: 1.12.2.5 $ 9 * Date Started: 2005/07/20 10 * Last Modified: $Date: 2006/09/23 02:05:46 $ 11 * 12 * AppleScript language file for GeSHi. 13 * 14 * CHANGES 15 * ------- 16 * 17 * TODO 18 * ------------------------- 19 * URL settings to references 20 * 21 ************************************************************************************** 22 * 23 * This file is part of GeSHi. 24 * 25 * GeSHi is free software; you can redistribute it and/or modify 26 * it under the terms of the GNU General Public License as published by 27 * the Free Software Foundation; either version 2 of the License, or 28 * (at your option) any later version. 29 * 30 * GeSHi is distributed in the hope that it will be useful, 31 * but WITHOUT ANY WARRANTY; without even the implied warranty of 32 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 33 * GNU General Public License for more details. 34 * 35 * You should have received a copy of the GNU General Public License 36 * along with GeSHi; if not, write to the Free Software 37 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 38 * 39 ************************************************************************************/ 40 41 $language_data = array ( 42 'LANG_NAME' => 'AppleScript', 43 'COMMENT_SINGLE' => array(1 => '--'), 44 'COMMENT_MULTI' => array( '(*' => '*)'), 45 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 46 'QUOTEMARKS' => array('"',"'"), 47 'ESCAPE_CHAR' => '\\', 48 'KEYWORDS' => array( 49 1 => array( 50 'script','property','prop','end','copy','to','set','global','local','on','to','of', 51 'in','given','with','without','return','continue','tell','if','then','else','repeat', 52 'times','while','until','from','exit','try','error','considering','ignoring','timeout', 53 'transaction','my','get','put','into','is' 54 ), 55 2 => array( 56 'each','some','every','whose','where','id','index','first','second','third','fourth', 57 'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd', 58 'rd','th','middle','named','through','thru','before','after','beginning','the' 59 ), 60 3 => array( 61 'close','copy','count','delete','duplicate','exists','launch','make','move','open', 62 'print','quit','reopen','run','save','saving', 63 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion', 64 'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain', 65 'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false', 66 'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday', 67 'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march', 68 'mar','april','apr','may','june','jun','july','jul','august','aug','september', 69 'sep','october','oct','november','nov','december','dec','minutes','hours', 70 'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt' 71 ) 72 ), 73 'SYMBOLS' => array( 74 ')','+','-','^','*','/','&','<','>=','<','<=','=','�' 75 ), 76 'CASE_SENSITIVE' => array( 77 GESHI_COMMENTS => true, 78 1 => false, 79 2 => false, 80 3 => false, 81 ), 82 'STYLES' => array( 83 'KEYWORDS' => array( 84 1 => 'color: #b1b100;', 85 2 => 'color: #000000; font-weight: bold;', 86 3 => 'color: #000066;' 87 ), 88 'COMMENTS' => array( 89 1 => 'color: #808080; font-style: italic;', 90 'MULTI' => 'color: #808080; font-style: italic;' 91 ), 92 'ESCAPE_CHAR' => array( 93 0 => 'color: #000099; font-weight: bold;' 94 ), 95 'BRACKETS' => array( 96 0 => 'color: #66cc66;' 97 ), 98 'STRINGS' => array( 99 0 => 'color: #ff0000;' 100 ), 101 'NUMBERS' => array( 102 0 => 'color: #cc66cc;' 103 ), 104 'METHODS' => array( 105 1 => 'color: #006600;', 106 2 => 'color: #006600;' 107 ), 108 'SYMBOLS' => array( 109 0 => 'color: #66cc66;' 110 ), 111 'REGEXPS' => array( 112 0 => 'color: #0000ff;', 113 4 => 'color: #009999;', 114 ), 115 'SCRIPT' => array( 116 ) 117 ), 118 'URLS' => array( 119 3 => '' 120 ), 121 'OOLANG' => true, 122 'OBJECT_SPLITTERS' => array( 123 1 => ',+-=<>/?^&*' 124 ), 125 'REGEXPS' => array( 126 0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*', 127 4 => '<[a-zA-Z_][a-zA-Z0-9_]*>', 128 ), 129 'STRICT_MODE_APPLIES' => GESHI_NEVER, 130 'SCRIPT_DELIMITERS' => array( 131 ), 132 'HIGHLIGHT_STRICT_BLOCK' => array( 133 ) 134 ); 135 136 ?>
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Tue Apr 3 20:47:31 2007 | par Balluche grâce à PHPXref 0.7 |