~yoboy-leguesh/ubuntu-fr-doc/maj20150810a

« back to all changes in this revision

Viewing changes to inc/geshi/oxygene.php

  • Committer: YoBoY
  • Date: 2015-11-11 10:05:14 UTC
  • Revision ID: yoboy.leguesh@gmail.com-20151111100514-bw7p06lrhban4g2t
Mise à jour vers Dokuwiki 2015-08-10a avec nos patchs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
/*************************************************************************************
3
 
 * oxygene.php
4
 
 * ----------
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
9
 
 *
10
 
 * Delphi Prism (Oxygene) language file for GeSHi.
11
 
 * Based on the original Delphi language file.
12
 
 *
13
 
 * CHANGES
14
 
 * -------
15
 
 * 2012/06/28 (1.0.8.11)
16
 
 *   -  Added "write" keyword for properties
17
 
 * 2010/01/11 (1.0.0)
18
 
 *   -  First Release
19
 
 *
20
 
 *************************************************************************************
21
 
 *
22
 
 *   This file is part of GeSHi.
23
 
 *
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.
28
 
 *
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.
33
 
 *
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
37
 
 *
38
 
 ************************************************************************************/
39
 
 
40
 
$language_data = array (
41
 
    'LANG_NAME' => 'Oxygene (Delphi Prism)',
42
 
    'COMMENT_SINGLE' => array(1 => '//'),
43
 
    'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'),
44
 
    //Compiler directives
45
 
    'COMMENT_REGEXP' => array(2 => '/{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'),
46
 
    'CASE_KEYWORDS' => 0,
47
 
    'QUOTEMARKS' => array("'"),
48
 
    'ESCAPE_CHAR' => '',
49
 
    'KEYWORDS' => array(
50
 
        1 => 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'
62
 
            ),
63
 
        2 => array(
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',
71
 
            'volatile', 'write'
72
 
            ),
73
 
        3 => array(
74
 
            'chr', 'ord', 'inc', 'dec', 'assert', 'iff', 'assigned','futureAssigned', 'length', 'low', 'high', 'typeOf', 'sizeOf', 'disposeAndNil', 'Coalesce', 'unquote'
75
 
            ),
76
 
        ),
77
 
    'CASE_SENSITIVE' => array(
78
 
        GESHI_COMMENTS => false,
79
 
        1 => false,
80
 
        2 => false,
81
 
        3 => false,
82
 
//        4 => false,
83
 
        ),
84
 
    'SYMBOLS' => array(
85
 
        0 => array('(', ')', '[', ']'),
86
 
        1 => array('.', ',', ':', ';'),
87
 
        2 => array('@', '^'),
88
 
        3 => array('=', '+', '-', '*', '/')
89
 
        ),
90
 
    'STYLES' => array(
91
 
        'KEYWORDS' => 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;'
96
 
            ),
97
 
        'COMMENTS' => array(
98
 
            1 => 'color: #808080; font-style: italic;',
99
 
            2 => 'color: #008000; font-style: italic;',
100
 
            'MULTI' => 'color: #808080; font-style: italic;'
101
 
            ),
102
 
        'ESCAPE_CHAR' => array(
103
 
            0 => 'color: #ff0000; font-weight: bold;'
104
 
            ),
105
 
        'BRACKETS' => array(
106
 
            0 => 'color: #000066;'
107
 
            ),
108
 
        'STRINGS' => array(
109
 
            0 => 'color: #ff0000;'
110
 
            ),
111
 
        'NUMBERS' => array(
112
 
            0 => 'color: #0000ff;'
113
 
            ),
114
 
        'METHODS' => array(
115
 
            1 => 'color: #000000;'
116
 
            ),
117
 
        'REGEXPS' => array(
118
 
            0 => 'color: #9ac;',
119
 
            1 => 'color: #ff0000;'
120
 
            ),
121
 
        'SYMBOLS' => array(
122
 
            0 => 'color: #000066;',
123
 
            1 => 'color: #000066;',
124
 
            2 => 'color: #000066;',
125
 
            3 => 'color: #000066;'
126
 
            ),
127
 
        'SCRIPT' => array(
128
 
            )
129
 
        ),
130
 
    'URLS' => array(
131
 
        1 => '',
132
 
        2 => '',
133
 
        3 => '',
134
 
//        4 => ''
135
 
        ),
136
 
    'OOLANG' => true,
137
 
    'OBJECT_SPLITTERS' => array(
138
 
        1 => '.'
139
 
        ),
140
 
    'REGEXPS' => array(
141
 
        //Hex numbers
142
 
        0 => '\$[0-9a-fA-F]+',
143
 
        //Characters
144
 
        1 => '\#\$?[0-9]{1,3}'
145
 
        ),
146
 
    'STRICT_MODE_APPLIES' => GESHI_NEVER,
147
 
    'SCRIPT_DELIMITERS' => array(
148
 
        ),
149
 
    'HIGHLIGHT_STRICT_BLOCK' => array(
150
 
        ),
151
 
    'TAB_WIDTH' => 2
152
 
);
153
 
 
154
 
?>
 
 
b'\\ No newline at end of file'