ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
scl.php
Go to the documentation of this file.
1<?php
2/*************************************************************************************
3 * <scl.php>
4 * ---------------------------------
5 * Author: Leonhard Hösch (leonhard.hoesch@siemens.com)
6 * Copyright: (c) 2008 by Leonhard Hösch (siemens.de)
7 * Release Version: 1.0.9.0
8 * Date Started: 2012/09/25
9 *
10 * SCL language file for GeSHi.
11 *
12 * A SCL langauge file.
13 *
14 * CHANGES
15 * -------
16 * <date-of-release> (<GeSHi release>)
17 * - First Release
18 *
19 * TODO (updated <date-of-release>)
20 * -------------------------
21 * <things-to-do>
22 *
23 *************************************************************************************
24 *
25 * This file is part of GeSHi.
26 *
27 * GeSHi is free software; you can redistribute it and/or modify
28 * it under the terms of the GNU General Public License as published by
29 * the Free Software Foundation; either version 2 of the License, or
30 * (at your option) any later version.
31 *
32 * GeSHi is distributed in the hope that it will be useful,
33 * but WITHOUT ANY WARRANTY; without even the implied warranty of
34 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
35 * GNU General Public License for more details.
36 *
37 * You should have received a copy of the GNU General Public License
38 * along with GeSHi; if not, write to the Free Software
39 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
40 *
41 ************************************************************************************/
42
43$language_data = array (
44 'LANG_NAME' => 'SCL',
45 'COMMENT_SINGLE' => array(1 => '//'),
46 'COMMENT_MULTI' => array('(*' => '*)'),
47 'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
48 'QUOTEMARKS' => array("'"),
49 'ESCAPE_CHAR' => '$',
50 'KEYWORDS' => array(
51 1 => array(
52 'AND','ANY','ARRAY','AT','BEGIN','BLOCK_DB','BLOCK_FB','BLOCK_FC','BLOCK_SDB',
53 'BLOCK_SFB','BLOCK_SFC','BOOL','BY','BYTE','CASE','CHAR','CONST','CONTINUE','COUNTER',
54 'DATA_BLOCK','DATE','DATE_AND_TIME','DINT','DIV','DO','DT','DWORD','ELSE','ELSIF',
55 'EN','END_CASE','END_CONST','END_DATA_BLOCK','END_FOR','END_FUNCTION',
56 'END_FUNCTION_BLOCK','END_IF','END_LABEL','END_TYPE','END_ORGANIZATION_BLOCK',
57 'END_REPEAT','END_STRUCT','END_VAR','END_WHILE','ENO','EXIT','FALSE','FOR','FUNCTION',
58 'FUNCTION_BLOCK','GOTO','IF','INT','LABEL','MOD','NIL','NOT','OF','OK','OR',
59 'ORGANIZATION_BLOCK','POINTER','PROGRAM','REAL','REPEAT','RETURN','S5TIME','STRING',
60 'STRUCT','THEN','TIME','TIMER','TIME_OF_DAY','TO','TOD','TRUE','TYPE','VAR',
61 'VAR_TEMP','UNTIL','VAR_INPUT','VAR_IN_OUT','VAR_OUTPUT','VOID','WHILE','WORD','XOR'
62 ),
63 2 =>array(
64 'UBLKMOV','FILL','CREAT_DB','DEL_DB','TEST_DB','COMPRESS','REPL_VAL','CREA_DBL','READ_DBL',
65 'WRIT_DBL','CREA_DB','RE_TRIGR','STP','WAIT','MP_ALM','CiR','PROTECT','SET_CLK','READ_CLK',
66 'SNC_RTCB','SET_CLKS','RTM','SET_RTM','CTRL_RTM','READ_RTM','TIME_TCK','RD_DPARM',
67 'RD_DPARA','WR_PARM','WR_DPARM','PARM_MOD','WR_REC','RD_REC','RD_DPAR','RDREC','WRREC','RALRM',
68 'SALRM','RCVREC','PRVREC','SET_TINT','CAN_TINT','ACT_TINT','QRY_TINT','SRT_DINT','QRY_DINT',
69 'CAN_DINT','MSK_FLT','DMSK_FLT','READ_ERR','DIS_IRT','EN_IRT','DIS_AIRT','EN_AIRT','RD_SINFO',
70 'RDSYSST','WR_USMSG','OB_RT','C_DIAG','DP_TOPOL','UPDAT_PI','UPDAT_PO','SYNC_PI','SYNC_PO',
71 'SET','RSET','DRUM','GADR_LGC','LGC_GADR','RD_LGADR','GEO_LOG','LOG_GEO','DP_PRAL','DPSYC_FR',
72 'D_ACT_DP','DPNRM_DG','DPRD_DAT','DPWR_DAT','PN_IN','PN_OUT','PN_DP','WWW','IP_CONF','GETIO',
73 'SETIO','GETIO_PART','SETIO_PART','GD_SND','GD_RCV','USEND','URCV','BSEND','BRCV','PUT','GET',
74 'PRINT','START','STOP','RESUME','STATUS','USTATUS','CONTROL','C_CNTRL','X_SEND','X_RCV',
75 'X_GET','X_PUT','X_ABORT','I_GET','I_PUT','I_ABORT','TCON','TDISCON','TSEND','TRCV','TUSEND',
76 'TURCV','NOTIFY','NOTIFY_8P','ALARM','ALARM_8P','ALARM_8','AR_SEND','DIS_MSG','EN_MSG',
77 'ALARM_SQ','ALARM_S','ALARM_SC','ALARM_DQ','LARM_D','READ_SI','DEL_SI','TP','TON','TOF','CTU',
78 'CTD','CTUD','CONT_C','CONT_S','PULSEGEN','Analog','DIGITAL','COUNT','FREQUENC','PULSE',
79 'SEND_PTP','RECV_PTP','RES_RECV','SEND_RK','FETCH_RK','SERVE_RK','H_CTRL','state'
80 ),
81 ),
82 'SYMBOLS' => array(
83 '.', '"', '|', ';', ',', '=>', '>=', '<=', ':=', '=', '<', '>'
84 ),
85 'CASE_SENSITIVE' => array(
86 GESHI_COMMENTS => false,
87 1 => false,
88 2 => false,
89 ),
90 'STYLES' => array(
91 'KEYWORDS' => array(
92 1 => 'color: #0000ff;',
93 2 => 'color: #ff6f00;',
94 ),
95 'COMMENTS' => array(
96 1 => 'color: #009600; font-style: italic;',
97 'MULTI' => 'color: #009600; font-style: italic;'
98 ),
99 'ESCAPE_CHAR' => array(
100 0 => 'color: #000099; font-weight: bold;'
101 ),
102 'BRACKETS' => array(
103 0 => 'color: #66cc66;'
104 ),
105 'STRINGS' => array(
106 0 => 'color: #ff0000;'
107 ),
108 'NUMBERS' => array(
109 0 => 'color: #cc66cc;'
110 ),
111 'METHODS' => array(
112 0 => 'color: #006600;'
113 ),
114 'SYMBOLS' => array(
115 0 => 'color: #66cc66;'
116 ),
117 'REGEXPS' => array(
118 ),
119 'SCRIPT' => array(
120 0 => '',
121 1 => '',
122 2 => '',
123 3 => ''
124 )
125 ),
126 'URLS' => array(
127 1 => '',
128 2 => ''
129 ),
130 'NUMBERS' => GESHI_NUMBER_INT_BASIC,
131 'OOLANG' => false,
132 'OBJECT_SPLITTERS' => array(
133 1 => '',
134 2 => ''
135 ),
136 'REGEXPS' => array(
137 ),
138 'STRICT_MODE_APPLIES' => GESHI_NEVER,
139 'SCRIPT_DELIMITERS' => array(
140 0 => array(
141 '<?php11!!' => '!!11?>'
142 ),
143 ),
144 'HIGHLIGHT_STRICT_BLOCK' => array(
145 0 => false,
146 ),
147 'TAB_WIDTH' => 4
148);
$language_data
Definition: 4cs.php:40
An exception for terminatinating execution or to throw for unit testing.
const GESHI_NUMBER_INT_BASIC
Basic number format for integers.
Definition: geshi.php:165
const GESHI_COMMENTS
Used in language files to mark comments.
Definition: geshi.php:149
const GESHI_NEVER
#+ @access private
Definition: geshi.php:123
const GESHI_CAPS_UPPER
Uppercase keywords found.
Definition: geshi.php:96