1<?php 2/************************************************************************************* 3 * netrexx.php 4 * --------------------------------- 5 * Author: Jon Wolfers (sahananda@windhorse.biz) 6 * Contributors: 7 * - Walter Pachl (pachl@chello.at) 8 * Copyright: (c) 2008 Jon Wolfers, (c) 2012 Walter Pachl 9 * Release Version: 1.0.9.1 10 * Date Started: 2008/01/07 11 * 12 * NetRexx language file for GeSHi. 13 * 14 * CHANGES 15 * ------- 16 * 2012/07/29 (1.0.0) 17 * - tried to get it syntactically right 18 * 19 * TODO (updated 2012/07/29) 20 * ------------------------- 21 * - Get it working on rosettacode.org 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' => 'NetRexx', 45 'COMMENT_SINGLE' => array(1 => '--'), 46 'COMMENT_MULTI' => array('/*' => '*/'), 47 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, 48 'QUOTEMARKS' => array("'", '"'), 49 'ESCAPE_CHAR' => '', 50 'KEYWORDS' => array( 51 1 => array( 52 'class', 'do', 'exit', 'if', 'import', 'iterate', 'leave', 53 'loop', 'nop', 'numeric', 'package', 'parse', 'properties', 54 'return', 'say', 'select', 'signal', 'trace' 55 ), 56 2 => array( 57 'abstract', 'adapter', 'all', 'ask', 'binary', 'case', 58 'constant', 'dependent', 'deprecated', 'extends', 'final', 59 'implements', 'inheritable', 'interface', 'label', 'methods', 60 'native', 'off', 'private', 'protect', 'public', 'results', 61 'returns', 'shared', 'signals', 'source', 'static', 62 'transient', 'unused', 'uses', 'version', 'volatile' 63 ), 64 3 => array( 65 'catch', 'else', 'end', 'finally', 'otherwise', 'then', 'when' 66 ), 67 4 => array( 68 'rc', 'result', 'self', 'sigl', 'super' 69 ), 70 5 => array( 71 'placeholderforoorexxdirectives' 72 ), 73 6 => array( 74 'abbrev', 'abs', 'b2x', 'c2d', 'c2x', 'center', 'centre', 75 'changestr', 'compare', 'copies', 'copyindexed', 'countstr', 76 'd2c', 'd2x', 'datatype', 'delstr', 'delword', 'exists', 77 'formword', 'hashcode', 'insert', 'lastpos', 'left', 'lower', 78 'max', 'min', 'noteq', 'noteqs', 'opadd', 'opand', 'opcc', 79 'opccblank', 'opdiv', 'opdivi', 'opeq', 'opeqs', 'opgt', 80 'opgteq', 'opgteqs', 'opgts', 'oplt', 'oplteq', 'oplteqs', 81 'oplts', 'opminus', 'opmult', 'opnot', 'opor', 'opplus', 82 'oppow', 'oprem', 'opsub', 'opxor', 'overlay', 'pos position', 83 'reverse', 'right', 'sequence', 'setdigits', 'setform', 84 'sign', 'space', 'strip', 'substr', 'subword', 'toboolean', 85 'tobyte', 'tochar', 'todouble', 'tofloat', 'toint', 'tolong', 86 'toshort', 'tostring', 'translate', 'trunc', 'upper', 87 'verify', 'word', 'wordindex', 'wordlength', 'wordpos', 88 'words', 'x2b', 'x2c', 'x2d' 89 ) 90 ), 91 'SYMBOLS' => array( 92 '(', ')', '<', '>', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':', 93 '<', '>' 94 ), 95 'CASE_SENSITIVE' => array( 96 GESHI_COMMENTS => true, 97 1 => false, 98 2 => false, 99 3 => false, 100 4 => false, 101 5 => false, 102 6 => false 103 ), 104 'STYLES' => array( 105 'KEYWORDS' => array( 106 1 => 'color: #b1b100;', 107 2 => 'color: #ff0000; font-weight: bold;', 108 3 => 'color: #00ff00; font-weight: bold;', 109 4 => 'color: #0000ff; font-weight: bold;', 110 5 => 'color: #880088; font-weight: bold;', 111 6 => 'color: #888800; font-weight: bold;' 112 ), 113 'COMMENTS' => array( 114 1 => 'color: #666666;', 115 'MULTI' => 'color: #808080;' 116 ), 117 'ESCAPE_CHAR' => array( 118 0 => 'color: #000099; font-weight: bold;' 119 ), 120 'BRACKETS' => array( 121 0 => 'color: #66cc66;' 122 ), 123 'STRINGS' => array( 124 0 => 'color: #ff0000;' 125 ), 126 'NUMBERS' => array( 127 0 => 'color: #cc66cc;' 128 ), 129 'METHODS' => array( 130 1 => 'color: #202020;', 131 2 => 'color: #202020;' 132 ), 133 'SYMBOLS' => array( 134 0 => 'color: #66cc66;' 135 ), 136 'REGEXPS' => array( 137 ), 138 'SCRIPT' => array( 139 ) 140 ), 141 'URLS' => array( 142 1 => '', 143 2 => '', 144 3 => '', 145 4 => '', 146 5 => '', 147 6 => '' 148 ), 149 'OOLANG' => true, 150 'OBJECT_SPLITTERS' => array( 151 1 => '.' 152 ), 153 'REGEXPS' => array( 154 ), 155 'STRICT_MODE_APPLIES' => GESHI_NEVER, 156 'SCRIPT_DELIMITERS' => array( 157 ), 158 'HIGHLIGHT_STRICT_BLOCK' => array( 159 ), 160 'TAB_WIDTH' => 4 161); 162