root/trunk/lib/geshi/applescript.php

Revision 2, 3.7 kB (checked in by fabien, 6 years ago)

initial import

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
Line 
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.5
8  * CVS Revision Version: $Revision: 1.4 $
9  * Date Started: 2005/07/20
10  * Last Modified: $Date: 2005/10/22 07:52:59 $
11  *
12  * AppleScript language file for GeSHi.
13  *
14  * CHANGES
15  * -------
16  *
17  * TODO
18  * -------------------------
19  * URL settings to references
20  *
21  ************************************************************************************/
22
23 $language_data = array (
24     'LANG_NAME' => 'AppleScript',
25     'COMMENT_SINGLE' => array(1 => '--'),
26     'COMMENT_MULTI' => array( '(*' => '*)'),
27     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
28     'QUOTEMARKS' => array('"',"'"),
29     'ESCAPE_CHAR' => '\\',
30     'KEYWORDS' => array(
31         1 => array(
32             'script','property','prop','end','copy','to','set','global','local','on','to','of',
33             'in','given','with','without','return','continue','tell','if','then','else','repeat',
34             'times','while','until','from','exit','try','error','considering','ignoring','timeout',
35             'transaction','my','get','put','into','is'
36             ),
37         2 => array(
38             'each','some','every','whose','where','id','index','first','second','third','fourth',
39             'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
40             'rd','th','middle','named','through','thru','before','after','beginning','the'
41             ),
42         3 => array(
43             'close','copy','count','delete','duplicate','exists','launch','make','move','open',
44             'print','quit','reopen','run','save','saving',
45             'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
46             'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
47             'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false',
48             'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
49             'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
50             'mar','april','apr','may','june','jun','july','jul','august','aug','september',
51             'sep','october','oct','november','nov','december','dec','minutes','hours',
52             'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt'
53             )
54         ),
55     'SYMBOLS' => array(
56         ')','+','-','^','*','/','&','<','>=','<','<=','=','�'
57         ),
58     'CASE_SENSITIVE' => array(
59         GESHI_COMMENTS => true,
60         1 => false,
61         2 => false,
62         3 => false,
63         ),
64     'STYLES' => array(
65         'KEYWORDS' => array(
66             1 => 'color: #b1b100;',
67             2 => 'color: #000000; font-weight: bold;',
68             3 => 'color: #000066;'
69             ),
70         'COMMENTS' => array(
71             1 => 'color: #808080; font-style: italic;',
72             'MULTI' => 'color: #808080; font-style: italic;'
73             ),
74         'ESCAPE_CHAR' => array(
75             0 => 'color: #000099; font-weight: bold;'
76             ),
77         'BRACKETS' => array(
78             0 => 'color: #66cc66;'
79             ),
80         'STRINGS' => array(
81             0 => 'color: #ff0000;'
82             ),
83         'NUMBERS' => array(
84             0 => 'color: #cc66cc;'
85             ),
86         'METHODS' => array(
87             1 => 'color: #006600;',
88             2 => 'color: #006600;'
89             ),
90         'SYMBOLS' => array(
91             0 => 'color: #66cc66;'
92             ),
93         'REGEXPS' => array(
94             0 => 'color: #0000ff;',
95             4 => 'color: #009999;',
96             ),
97         'SCRIPT' => array(
98             )
99         ),
100     'URLS' => array(
101         3 => ''
102         ),
103     'OOLANG' => true,
104     'OBJECT_SPLITTERS' => array(
105         1 => ',+-=&lt;&gt;/?^&amp;*'
106         ),
107     'REGEXPS' => array(
108         0 => '[\\$%@]+[a-zA-Z_][a-zA-Z0-9_]*',
109         4 => '&lt;[a-zA-Z_][a-zA-Z0-9_]*&gt;',
110         ),
111     'STRICT_MODE_APPLIES' => GESHI_NEVER,
112     'SCRIPT_DELIMITERS' => array(
113         ),
114     'HIGHLIGHT_STRICT_BLOCK' => array(
115         )
116 );
117
118 ?>
119
Note: See TracBrowser for help on using the browser.