ILIAS  release_5-2 Revision v5.2.25-18-g3f80b82851
objeck.php
Go to the documentation of this file.
1 <?php
2 /*************************************************************************************
3  * objeck.php
4  * --------
5  * Author: Randy Hollines (objeck@gmail.com)
6  * Copyright: (c) 2010 Randy Hollines (http://code.google.com/p/objeck-lang/)
7  * Release Version: 1.0.8.12
8  * Date Started: 2010/07/01
9  *
10  * Objeck Programming Language language file for GeSHi.
11  *
12  * CHANGES
13  * -------
14  * 2010/07/26 (1.0.8.10)
15  * - Added new and missing keywords and symbols: 'String', 'each', '+=', '-=', '*=' and '/='.
16  * 2010/07/01 (1.0.8.9)
17  * - First Release
18  *
19  *************************************************************************************
20  *
21  * This file is part of GeSHi.
22  *
23  * GeSHi is free software; you can redistribute it and/or modify
24  * it under the terms of the GNU General Public License as published by
25  * the Free Software Foundation; either version 2 of the License, or
26  * (at your option) any later version.
27  *
28  * GeSHi is distributed in the hope that it will be useful,
29  * but WITHOUT ANY WARRANTY; without even the implied warranty of
30  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
31  * GNU General Public License for more details.
32  *
33  * You should have received a copy of the GNU General Public License
34  * along with GeSHi; if not, write to the Free Software
35  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
36  *
37  ************************************************************************************/
38 
40  'LANG_NAME' => 'Objeck Programming Language',
41  'COMMENT_SINGLE' => array(1 => '#'),
42  'COMMENT_MULTI' => array('#~' => '~#'),
43  'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
44  'QUOTEMARKS' => array('"'),
45  'ESCAPE_CHAR' => '\\',
46  'KEYWORDS' => array(
47  1 => array(
48  'virtual', 'if', 'else', 'do', 'while', 'use', 'bundle', 'native',
49  'static', 'public', 'private', 'class', 'function', 'method',
50  'select', 'other', 'enum', 'for', 'each', 'label', 'return', 'from'
51  ),
52  2 => array(
53  'Byte', 'Int', 'Nil', 'Float', 'Char', 'Bool', 'String'
54  ),
55  3 => array(
56  'true', 'false'
57  )
58  ),
59  'SYMBOLS' => array(
60  1 => array(
61  '(', ')', '{', '}', '[', ']', '+', '-', '*', '/', '%', '=', '<', '>', '&', '|', ':', ';', ',', '+=', '-=', '*=', '/=',
62  )
63  ),
64  'CASE_SENSITIVE' => array(
65  GESHI_COMMENTS => false,
66  1 => true,
67  2 => true,
68  3 => true
69  ),
70  'STYLES' => array(
71  'KEYWORDS' => array(
72  1 => 'color: #b1b100;',
73  2 => 'color: #b1b100;',
74  3 => 'color: #b1b100;'
75  ),
76  'COMMENTS' => array(
77  1 => 'color: #666666; font-style: italic;',
78  'MULTI' => 'color: #666666; font-style: italic;'
79  ),
80  'ESCAPE_CHAR' => array(
81  0 => 'color: #000099; font-weight: bold;'
82  ),
83  'BRACKETS' => array(
84  0 => 'color: #009900;'
85  ),
86  'STRINGS' => array(
87  0 => 'color: #0000ff;'
88  ),
89  'NUMBERS' => array(
90  0 => 'color: #cc66cc;',
91  ),
92  'METHODS' => array(
93  0 => 'color: #004000;'
94  ),
95  'SYMBOLS' => array(
96  1 => 'color: #339933;'
97  ),
98  'REGEXPS' => array(),
99  'SCRIPT' => array()
100  ),
101  'URLS' => array(
102  1 => '',
103  2 => '',
104  3 => ''
105  ),
106  'OOLANG' => true,
107  'OBJECT_SPLITTERS' => array(
108  1 => '-&gt;'
109  ),
110  'REGEXPS' => array(),
111  'STRICT_MODE_APPLIES' => GESHI_NEVER,
112  'SCRIPT_DELIMITERS' => array(),
113  'HIGHLIGHT_STRICT_BLOCK' => array()
114 );
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:150
$language_data
Definition: objeck.php:39
Create styles array
The data for the language used.
const GESHI_NEVER
#+ private
Definition: geshi.php:124
const GESHI_CAPS_NO_CHANGE
Lowercase keywords found.
Definition: geshi.php:95