source: documentation/trunk/packages/dokuwiki-2011-05-25a/inc/geshi/pike.php@ 25027

Last change on this file since 25027 was 25027, checked in by jmt12, 12 years ago

Adding the packages directory, and within it a configured version of dokuwiki all ready to run

File size: 3.2 KB
Line 
1<?php
2/*************************************************************************************
3 * pike.php
4 * --------
5 * Author: Rick E. ([email protected])
6 * Copyright: (c) 2009 Rick E.
7 * Release Version: 1.0.8.8
8 * Date Started: 2009/12/10
9 *
10 * Pike language file for GeSHi.
11 *
12 * CHANGES
13 * -------
14 * 2009/12/25 (1.0.8.6)
15 * - First Release
16 *
17 * TODO (updated 2009/12/25)
18 * -------------------------
19 *
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' => 'Pike',
43 'COMMENT_SINGLE' => array(1 => '//'),
44 'COMMENT_MULTI' => array('/*' => '*/'),
45 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
46 'QUOTEMARKS' => array('"'),
47 'ESCAPE_CHAR' => '\\',
48 'KEYWORDS' => array(
49 1 => array(
50 'goto', 'break', 'continue', 'return', 'case', 'default', 'if',
51 'else', 'switch', 'while', 'foreach', 'do', 'for', 'gauge',
52 'destruct', 'lambda', 'inherit', 'import', 'typeof', 'catch',
53 'inline', 'nomask', 'private', 'protected', 'public', 'static'
54 )
55 ),
56 'SYMBOLS' => array(
57 1 => array(
58 '(', ')', '{', '}', '[', ']', '+', '-', '*', '/', '%', '=', '!', '&', '|', '?', ';'
59 )
60 ),
61 'CASE_SENSITIVE' => array(
62 GESHI_COMMENTS => false,
63 1 => true
64 ),
65 'STYLES' => array(
66 'KEYWORDS' => array(
67 1 => 'color: #b1b100;'
68 ),
69 'COMMENTS' => array(
70 1 => 'color: #666666; font-style: italic;',
71 'MULTI' => 'color: #666666; font-style: italic;'
72 ),
73 'ESCAPE_CHAR' => array(
74 0 => 'color: #000099; font-weight: bold;'
75 ),
76 'BRACKETS' => array(
77 0 => 'color: #009900;'
78 ),
79 'STRINGS' => array(
80 0 => 'color: #0000ff;'
81 ),
82 'NUMBERS' => array(
83 0 => 'color: #cc66cc;',
84 ),
85 'METHODS' => array(
86 0 => 'color: #004000;'
87 ),
88 'SYMBOLS' => array(
89 1 => 'color: #339933;'
90 ),
91 'REGEXPS' => array(),
92 'SCRIPT' => array()
93 ),
94 'URLS' => array(1 => ''),
95 'OOLANG' => true,
96 'OBJECT_SPLITTERS' => array(1 => '.'),
97 'REGEXPS' => array(),
98 'STRICT_MODE_APPLIES' => GESHI_NEVER,
99 'SCRIPT_DELIMITERS' => array(),
100 'HIGHLIGHT_STRICT_BLOCK' => array()
101);
102
103?>
Note: See TracBrowser for help on using the repository browser.