2
/*************************************************************************************
5
* Author: Carlo Kok (ck@remobjects.com), J�rja Norbert (jnorbi@vipmail.hu), Benny Baumann (BenBE@omorphia.de)
6
* Copyright: (c) 2004 J�rja Norbert, Benny Baumann (BenBE@omorphia.de), Nigel McNie (http://qbnz.com/highlighter)
7
* Release Version: 1.0.8.11
8
* Date Started: 2010/01/11
10
* Delphi Prism (Oxygene) language file for GeSHi.
11
* Based on the original Delphi language file.
15
* 2012/06/28 (1.0.8.11)
16
* - Added "write" keyword for properties
20
*************************************************************************************
22
* This file is part of GeSHi.
24
* GeSHi is free software; you can redistribute it and/or modify
25
* it under the terms of the GNU General Public License as published by
26
* the Free Software Foundation; either version 2 of the License, or
27
* (at your option) any later version.
29
* GeSHi is distributed in the hope that it will be useful,
30
* but WITHOUT ANY WARRANTY; without even the implied warranty of
31
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
32
* GNU General Public License for more details.
34
* You should have received a copy of the GNU General Public License
35
* along with GeSHi; if not, write to the Free Software
36
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
38
************************************************************************************/
40
$language_data = array (
41
'LANG_NAME' => 'Oxygene (Delphi Prism)',
42
'COMMENT_SINGLE' => array(1 => '//'),
43
'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'),
45
'COMMENT_REGEXP' => array(2 => '/{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'),
47
'QUOTEMARKS' => array("'"),
51
'and', 'begin', 'case', 'const', 'div', 'do', 'downto', 'else',
52
'end', 'for', 'function', 'if', 'in', 'mod', 'not', 'of', 'or',
53
'procedure', 'repeat', 'record', 'set', 'shl', 'shr', 'then', 'to',
54
'type', 'until', 'uses', 'var','while', 'with', 'xor', 'exit', 'break',
55
'class', 'constructor', 'inherited', 'private', 'public', 'protected',
56
'property', 'As', 'Is', 'Unit', 'Continue', 'Try', 'Except', 'Forward',
57
'Interface','Implementation', 'nil', 'out', 'loop', 'namespace', 'true',
58
'false', 'new', 'ensure', 'require', 'on', 'event', 'delegate', 'method',
59
'raise', 'assembly', 'module', 'using','locking', 'old', 'invariants', 'operator',
60
'self', 'async', 'finalizer', 'where', 'yield', 'nullable', 'Future',
61
'From', 'Finally', 'dynamic'
64
'override', 'virtual', 'External', 'read', 'add', 'remove','final', 'abstract',
65
'empty', 'global', 'locked', 'sealed', 'reintroduce', 'implements', 'each',
66
'default', 'partial', 'finalize', 'enum', 'flags', 'result', 'readonly', 'unsafe',
67
'pinned', 'matching', 'static', 'has', 'step', 'iterator', 'inline', 'nested',
68
'Implies', 'Select', 'Order', 'By', 'Desc', 'Asc', 'Group', 'Join', 'Take',
69
'Skip', 'Concat', 'Union', 'Reverse', 'Distinct', 'Into', 'Equals', 'params',
70
'sequence', 'index', 'notify', 'Parallel', 'create', 'array', 'Queryable', 'Aspect',
74
'chr', 'ord', 'inc', 'dec', 'assert', 'iff', 'assigned','futureAssigned', 'length', 'low', 'high', 'typeOf', 'sizeOf', 'disposeAndNil', 'Coalesce', 'unquote'
77
'CASE_SENSITIVE' => array(
78
GESHI_COMMENTS => false,
85
0 => array('(', ')', '[', ']'),
86
1 => array('.', ',', ':', ';'),
88
3 => array('=', '+', '-', '*', '/')
92
1 => 'color: #000000; font-weight: bold;',
93
2 => 'color: #000000; font-weight: bold;',
94
3 => 'color: #000066;',
95
// 4 => 'color: #000066; font-weight: bold;'
98
1 => 'color: #808080; font-style: italic;',
99
2 => 'color: #008000; font-style: italic;',
100
'MULTI' => 'color: #808080; font-style: italic;'
102
'ESCAPE_CHAR' => array(
103
0 => 'color: #ff0000; font-weight: bold;'
106
0 => 'color: #000066;'
109
0 => 'color: #ff0000;'
112
0 => 'color: #0000ff;'
115
1 => 'color: #000000;'
119
1 => 'color: #ff0000;'
122
0 => 'color: #000066;',
123
1 => 'color: #000066;',
124
2 => 'color: #000066;',
125
3 => 'color: #000066;'
137
'OBJECT_SPLITTERS' => array(
142
0 => '\$[0-9a-fA-F]+',
144
1 => '\#\$?[0-9]{1,3}'
146
'STRICT_MODE_APPLIES' => GESHI_NEVER,
147
'SCRIPT_DELIMITERS' => array(
149
'HIGHLIGHT_STRICT_BLOCK' => array(
b'\\ No newline at end of file'