ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
oberon2.php
Go to the documentation of this file.
1 <?php
2 /*************************************************************************************
3  * oberon2.php
4  * ----------
5  * Author: mbishop (mbishop@esoteriq.org)
6  * Copyright: (c) 2009 mbishop (mbishop@esoteriq.org)
7  * Release Version: 1.0.9.0
8  * Date Started: 2009/02/10
9  *
10  * Oberon-2 language file for GeSHi.
11  *
12  * CHANGES
13  * -------
14  *
15  * TODO
16  * -------------------------
17  *
18  *************************************************************************************
19  *
20  * This file is part of GeSHi.
21  *
22  * GeSHi is free software; you can redistribute it and/or modify
23  * it under the terms of the GNU General Public License as published by
24  * the Free Software Foundation; either version 2 of the License, or
25  * (at your option) any later version.
26  *
27  * GeSHi is distributed in the hope that it will be useful,
28  * but WITHOUT ANY WARRANTY; without even the implied warranty of
29  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
30  * GNU General Public License for more details.
31  *
32  * You should have received a copy of the GNU General Public License
33  * along with GeSHi; if not, write to the Free Software
34  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
35  *
36  ************************************************************************************/
37 
38 $language_data = array (
39  'LANG_NAME' => 'Oberon-2',
40  'COMMENT_SINGLE' => array(),
41  'COMMENT_MULTI' => array('(*' => '*)'),
42  'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
43  'QUOTEMARKS' => array('"'),
44  'HARDQUOTE' => array("'", "'"),
45  'HARDESCAPE' => array("''"),
46  'ESCAPE_CHAR' => '\\',
47  'KEYWORDS' => array(
48  1 => array(
49  'ARRAY', 'BEGIN', 'BY', 'CASE',
50  'CONST', 'DIV', 'DO', 'ELSE', 'ELSIF', 'END',
51  'EXIT', 'FOR', 'IF', 'IMPORT', 'IN', 'IS',
52  'LOOP', 'MOD', 'MODULE', 'OF',
53  'OR', 'POINTER', 'PROCEDURE', 'RECORD',
54  'REPEAT', 'RETURN', 'THEN', 'TO',
55  'TYPE', 'UNTIL', 'VAR', 'WHILE', 'WITH'
56  ),
57  2 => array(
58  'NIL', 'FALSE', 'TRUE',
59  ),
60  3 => array(
61  'ABS', 'ASH', 'ASSERT', 'CAP', 'CHR', 'COPY', 'DEC',
62  'ENTIER', 'EXCL', 'HALT', 'INC', 'INCL', 'LEN',
63  'LONG', 'MAX', 'MIN', 'NEW', 'ODD', 'ORD', 'SHORT', 'SIZE'
64  ),
65  4 => array(
66  'BOOLEAN', 'CHAR', 'SHORTINT', 'LONGINT',
67  'INTEGER', 'LONGREAL', 'REAL', 'SET', 'PTR'
68  ),
69  ),
70  'SYMBOLS' => array(
71  ',', ':', '=', '+', '-', '*', '/', '#', '~'
72  ),
73  'CASE_SENSITIVE' => array(
74  GESHI_COMMENTS => false,
75  1 => true,
76  2 => true,
77  3 => true,
78  4 => true,
79  ),
80  'STYLES' => array(
81  'KEYWORDS' => array(
82  1 => 'color: #000000; font-weight: bold;',
83  2 => 'color: #000000; font-weight: bold;',
84  3 => 'color: #000066;',
85  4 => 'color: #000066; font-weight: bold;'
86  ),
87  'COMMENTS' => array(
88  'MULTI' => 'color: #666666; font-style: italic;'
89  ),
90  'ESCAPE_CHAR' => array(
91  0 => 'color: #000099; font-weight: bold;',
92  'HARD' => 'color: #000099; font-weight: bold;'
93  ),
94  'BRACKETS' => array(
95  0 => 'color: #009900;'
96  ),
97  'STRINGS' => array(
98  0 => 'color: #ff0000;',
99  'HARD' => 'color: #ff0000;'
100  ),
101  'NUMBERS' => array(
102  0 => 'color: #cc66cc;'
103  ),
104  'METHODS' => array(
105  1 => 'color: #0066ee;'
106  ),
107  'SYMBOLS' => array(
108  0 => 'color: #339933;'
109  ),
110  'REGEXPS' => array(
111  ),
112  'SCRIPT' => array(
113  )
114  ),
115  'URLS' => array(
116  1 => '',
117  2 => '',
118  3 => '',
119  4 => ''
120  ),
121  'OOLANG' => true,
122  'OBJECT_SPLITTERS' => array(
123  1 => '.'
124  ),
125  'REGEXPS' => array(
126  ),
127  'STRICT_MODE_APPLIES' => GESHI_NEVER,
128  'SCRIPT_DELIMITERS' => array(
129  ),
130  'HIGHLIGHT_STRICT_BLOCK' => array(
131  ),
132  'TAB_WIDTH' => 4
133 );
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:149
$language_data
Definition: oberon2.php:38
const GESHI_NEVER
#+ private
Definition: geshi.php:123
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
Definition: geshi.php:94