jablonka.czprosek.czf

websvn

Subversion Repositories:
[/] [lib/] [geshi/] [applescript.php] - Blame information for rev 1

 

Line No. Rev Author Line
11simandl<?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.8.1
8 * Date Started: 2005/07/20
9 *
10 * AppleScript language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2008/05/23 (1.0.7.22)
15 * - Added description of extra language features (SF#1970248)
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 'COMMENT_REGEXP' => array(
46 2 => '/(?<=[a-z])\'/i',
47 3 => '/(?<![a-z])\'.*?\'/i',
48 ),
49 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
50 'QUOTEMARKS' => array('"'),
51 'ESCAPE_CHAR' => '\\',
52 'KEYWORDS' => array(
53 1 => array(
54 'script','property','prop','end','to','set','global','local','on','of',
55 'in','given','with','without','return','continue','tell','if','then','else','repeat',
56 'times','while','until','from','exit','try','error','considering','ignoring','timeout',
57 'transaction','my','get','put','into','is'
58 ),
59 2 => array(
60 'each','some','every','whose','where','id','index','first','second','third','fourth',
61 'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
62 'rd','th','middle','named','through','thru','before','after','beginning','the'
63 ),
64 3 => array(
65 'close','copy','count','delete','duplicate','exists','launch','make','move','open',
66 'print','quit','reopen','run','save','saving',
67 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
68 'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
69 'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false',
70 'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
71 'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
72 'mar','april','apr','may','june','jun','july','jul','august','aug','september',
73 'sep','october','oct','november','nov','december','dec','minutes','hours',
74 'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt'
75 )
76 ),
77 'SYMBOLS' => array(
78 ')','+','-','^','*','/','&','<','>=','<','<=','=','ďż˝'
79 ),
80 'CASE_SENSITIVE' => array(
81 GESHI_COMMENTS => false,
82 1 => false,
83 2 => false,
84 3 => false,
85 ),
86 'STYLES' => array(
87 'KEYWORDS' => array(
88 1 => 'color: #b1b100;',
89 2 => 'color: #000000; font-weight: bold;',
90 3 => 'color: #000066;'
91 ),
92 'COMMENTS' => array(
93 1 => 'color: #808080; font-style: italic;',
94 2 => '',
95 3 => 'color: #ff0000;',
96 'MULTI' => 'color: #808080; font-style: italic;'
97 ),
98 'ESCAPE_CHAR' => array(
99 
100 ),
101 'BRACKETS' => array(
102 
103 ),
104 'STRINGS' => array(
105 
106 ),
107 'NUMBERS' => array(
108 
109 ),
110 'METHODS' => array(
111 1 => 'color: #006600;',
112 2 => 'color: #006600;'
113 ),
114 'SYMBOLS' => array(
115 
116 ),
117 'REGEXPS' => array(
118 
119 4 => 'color: #009999;',
120 ),
121 'SCRIPT' => array(
122 )
123 ),
124 'URLS' => array(
125 1 => '',
126 2 => '',
127 3 => ''
128 ),
129 'OOLANG' => true,
130 'OBJECT_SPLITTERS' => array(
131 1 => ',+-=&lt;&gt;/?^&amp;*'
132 ),
133 'REGEXPS' => array(
134 //Variables
135 
136 //File descriptors
137 4 => '&lt;[a-zA-Z_][a-zA-Z0-9_]*&gt;',
138 ),
139 'STRICT_MODE_APPLIES' => GESHI_NEVER,
140 'SCRIPT_DELIMITERS' => array(
141 ),
142 'HIGHLIGHT_STRICT_BLOCK' => array(
143 )
144);
145 
146?>

Powered by WebSVN 2.2.1