chamilo /script/lib/Text/Highlighter/SH.php

Language PHP Lines 223
MD5 Hash f37b9ccc5b59c4f85b577ac28cc2b2b6 Estimated Cost $4,022 (why?)
Repository https://bitbucket.org/cbenelug/chamilo View Raw File View Project SPDX
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
<?php
/**
 * Auto-generated class. SH syntax highlighting
 * 
 * This highlighter is EXPERIMENTAL. It may work incorrectly.
 * It is a crude hack of the perl syntax, which itself wasn't so good.
 * But this seems to work OK.
 * 
 *
 * PHP version 4 and 5
 *
 * LICENSE: This source file is subject to version 3.0 of the PHP license
 * that is available through the world-wide-web at the following URI:
 * http://www.php.net/license/3_0.txt.  If you did not receive a copy of
 * the PHP License and are unable to obtain it through the web, please
 * send a note to license@php.net so we can mail you a copy immediately.
 *
 * @copyright  2004-2006 Andrey Demenev
 * @license    http://www.php.net/license/3_0.txt  PHP License
 * @link       http://pear.php.net/package/Text_Highlighter
 * @category   Text
 * @package    Text_Highlighter
 * @version    generated from: : sh.xml,v 1.2 2007/06/14 00:15:50 ssttoo Exp 
 * @author Noah Spurrier <noah@noah.org>
 *
 */

/**
 * @ignore
 */

require_once 'Text/Highlighter.php';

/**
 * Auto-generated class. SH syntax highlighting
 *
 * @author Noah Spurrier <noah@noah.org>
 * @category   Text
 * @package    Text_Highlighter
 * @copyright  2004-2006 Andrey Demenev
 * @license    http://www.php.net/license/3_0.txt  PHP License
 * @version    Release: 0.7.1
 * @link       http://pear.php.net/package/Text_Highlighter
 */
class Text_Highlighter_SH extends Text_Highlighter
{
    var $_language = 'sh';

    /**
     * PHP4 Compatible Constructor
     *
     * @param array  $options
     * @access public
     */
    function Text_Highlighter_SH($options = array())
    {
        $this->__construct($options);
    }

    /**
     * Constructor
     *
     * @param array  $options
     * @access public
     */
    function __construct($options = array())
    {
        
        $this->_options = $options;
        $this->_regs = array(
                - 1 => '/((?m)^(#!)(.*))|(\\{)|(\\()|(\\[)|((use)\\s+([\\w:]*))|((?Us)\\b(q[wq]\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|((?Us)\\b(q\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|(#.*)|((?x)(s|tr) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2)((\\\\.|[^\\\\])*?)(\\2[ecgimosx]*))|((?x)(m) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2[ecgimosx]*))|( \\/)|(\\$#?[1-9\'`@!])|((?i)(\\$#?|[@%*])([a-z1-9_]+::)*([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)(\\{)([a-z1-9]+)(\\}))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(`)|(\')|(")|((?i)[a-z_]\\w*)|(\\d*\\.?\\d+)/', 
                0 => '/((?m)^(#!)(.*))|(\\{)|(\\()|(\\[)|((use)\\s+([\\w:]*))|((?Us)\\b(q[wq]\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|((?Us)\\b(q\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|(#.*)|((?x)(s|tr) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2)((\\\\.|[^\\\\])*?)(\\2[ecgimosx]*))|((?x)(m) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2[ecgimosx]*))|( \\/)|(\\$#?[1-9\'`@!])|((?i)(\\$#?|[@%*])([a-z1-9_]+::)*([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)(\\{)([a-z1-9]+)(\\}))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(`)|(\')|(")|((?i)[a-z_]\\w*)|(\\d*\\.?\\d+)/', 
                1 => '/((?m)^(#!)(.*))|(\\{)|(\\()|(\\[)|((use)\\s+([\\w:]*))|((?Us)\\b(q[wq]\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|((?Us)\\b(q\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|(#.*)|((?x)(s|tr) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2)((\\\\.|[^\\\\])*?)(\\2[ecgimosx]*))|((?x)(m) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2[ecgimosx]*))|( \\/)|((?i)([a-z1-9_]+)(\\s*=>))|(\\$#?[1-9\'`@!])|((?i)(\\$#?|[@%*])([a-z1-9_]+::)*([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)(\\{)([a-z1-9]+)(\\}))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(`)|(\')|(")|((?i)[a-z_]\\w*)|(\\d*\\.?\\d+)/', 
                2 => '/((?m)^(#!)(.*))|(\\{)|(\\()|(\\[)|((use)\\s+([\\w:]*))|((?Us)\\b(q[wq]\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|((?Us)\\b(q\\s*((\\{)|(\\()|(\\[)|(\\<)|([\\W\\S])))(?=(.*)((?(3)\\})(?(4)\\))(?(5)\\])(?(6)\\>)(?(7)\\7))))|(#.*)|((?x)(s|tr) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2)((\\\\.|[^\\\\])*?)(\\2[ecgimosx]*))|((?x)(m) ([|#~`!@$%^&*-+=\\\\;:\'",.\\/?])  ((\\\\.|[^\\\\])*?) (\\2[ecgimosx]*))|( \\/)|(\\$#?[1-9\'`@!])|((?i)(\\$#?|[@%*])([a-z1-9_]+::)*([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)(\\{)([a-z1-9]+)(\\}))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(`)|(\')|(")|((?i)[a-z_]\\w*)|(\\d*\\.?\\d+)/', 
                3 => '/(\\$#?[1-9\'`@!])|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(\\\\[\\\\"\'`tnr\\$\\{@])/', 
                4 => '/(\\\\\\\\|\\\\"|\\\\\'|\\\\`)/', 5 => '/(\\\\\\/)/', 
                6 => '/(\\$#?[1-9\'`@!])|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(\\\\\\\\|\\\\"|\\\\\'|\\\\`)/', 
                7 => '/(\\\\\\\\|\\\\"|\\\\\'|\\\\`)/', 
                8 => '/(\\$#?[1-9\'`@!])|((?i)\\$([a-z1-9_]+|\\^(?-i)[A-Z]?(?i)))|((?i)[\\$@%]#?\\{[a-z1-9]+\\})|(\\\\[\\\\"\'`tnr\\$\\{@])/');
        $this->_counts = array(
                - 1 => array(0 => 2, 1 => 0, 2 => 0, 3 => 0, 4 => 2, 5 => 9, 6 => 9, 7 => 0, 8 => 8, 9 => 5, 10 => 0, 
                        11 => 0, 12 => 3, 13 => 1, 14 => 3, 15 => 0, 16 => 0, 17 => 0, 18 => 0, 19 => 0, 20 => 0), 
                0 => array(0 => 2, 1 => 0, 2 => 0, 3 => 0, 4 => 2, 5 => 9, 6 => 9, 7 => 0, 8 => 8, 9 => 5, 10 => 0, 
                        11 => 0, 12 => 3, 13 => 1, 14 => 3, 15 => 0, 16 => 0, 17 => 0, 18 => 0, 19 => 0, 20 => 0), 
                1 => array(0 => 2, 1 => 0, 2 => 0, 3 => 0, 4 => 2, 5 => 9, 6 => 9, 7 => 0, 8 => 8, 9 => 5, 10 => 0, 
                        11 => 2, 12 => 0, 13 => 3, 14 => 1, 15 => 3, 16 => 0, 17 => 0, 18 => 0, 19 => 0, 20 => 0, 
                        21 => 0), 
                2 => array(0 => 2, 1 => 0, 2 => 0, 3 => 0, 4 => 2, 5 => 9, 6 => 9, 7 => 0, 8 => 8, 9 => 5, 10 => 0, 
                        11 => 0, 12 => 3, 13 => 1, 14 => 3, 15 => 0, 16 => 0, 17 => 0, 18 => 0, 19 => 0, 20 => 0), 
                3 => array(0 => 0, 1 => 1, 2 => 0, 3 => 0), 4 => array(0 => 0), 5 => array(0 => 0), 
                6 => array(0 => 0, 1 => 1, 2 => 0, 3 => 0), 7 => array(0 => 0), 
                8 => array(0 => 0, 1 => 1, 2 => 0, 3 => 0));
        $this->_delim = array(
                - 1 => array(0 => '', 1 => 'brackets', 2 => 'brackets', 3 => 'brackets', 4 => '', 5 => 'quotes', 
                        6 => 'quotes', 7 => '', 8 => '', 9 => '', 10 => 'quotes', 11 => '', 12 => '', 13 => '', 14 => '', 
                        15 => '', 16 => 'quotes', 17 => 'quotes', 18 => 'quotes', 19 => '', 20 => ''), 
                0 => array(0 => '', 1 => 'brackets', 2 => 'brackets', 3 => 'brackets', 4 => '', 5 => 'quotes', 
                        6 => 'quotes', 7 => '', 8 => '', 9 => '', 10 => 'quotes', 11 => '', 12 => '', 13 => '', 14 => '', 
                        15 => '', 16 => 'quotes', 17 => 'quotes', 18 => 'quotes', 19 => '', 20 => ''), 
                1 => array(0 => '', 1 => 'brackets', 2 => 'brackets', 3 => 'brackets', 4 => '', 5 => 'quotes', 
                        6 => 'quotes', 7 => '', 8 => '', 9 => '', 10 => 'quotes', 11 => '', 12 => '', 13 => '', 14 => '', 
                        15 => '', 16 => '', 17 => 'quotes', 18 => 'quotes', 19 => 'quotes', 20 => '', 21 => ''), 
                2 => array(0 => '', 1 => 'brackets', 2 => 'brackets', 3 => 'brackets', 4 => '', 5 => 'quotes', 
                        6 => 'quotes', 7 => '', 8 => '', 9 => '', 10 => 'quotes', 11 => '', 12 => '', 13 => '', 14 => '', 
                        15 => '', 16 => 'quotes', 17 => 'quotes', 18 => 'quotes', 19 => '', 20 => ''), 
                3 => array(0 => '', 1 => '', 2 => '', 3 => ''), 4 => array(0 => ''), 5 => array(0 => ''), 
                6 => array(0 => '', 1 => '', 2 => '', 3 => ''), 7 => array(0 => ''), 
                8 => array(0 => '', 1 => '', 2 => '', 3 => ''));
        $this->_inner = array(
                - 1 => array(0 => 'special', 1 => 'code', 2 => 'code', 3 => 'code', 4 => 'special', 5 => 'string', 
                        6 => 'string', 7 => 'comment', 8 => 'string', 9 => 'string', 10 => 'string', 11 => 'var', 
                        12 => 'var', 13 => 'var', 14 => 'var', 15 => 'var', 16 => 'string', 17 => 'string', 
                        18 => 'string', 19 => 'identifier', 20 => 'number'), 
                0 => array(0 => 'special', 1 => 'code', 2 => 'code', 3 => 'code', 4 => 'special', 5 => 'string', 
                        6 => 'string', 7 => 'comment', 8 => 'string', 9 => 'string', 10 => 'string', 11 => 'var', 
                        12 => 'var', 13 => 'var', 14 => 'var', 15 => 'var', 16 => 'string', 17 => 'string', 
                        18 => 'string', 19 => 'identifier', 20 => 'number'), 
                1 => array(0 => 'special', 1 => 'code', 2 => 'code', 3 => 'code', 4 => 'special', 5 => 'string', 
                        6 => 'string', 7 => 'comment', 8 => 'string', 9 => 'string', 10 => 'string', 11 => 'string', 
                        12 => 'var', 13 => 'var', 14 => 'var', 15 => 'var', 16 => 'var', 17 => 'string', 18 => 'string', 
                        19 => 'string', 20 => 'identifier', 21 => 'number'), 
                2 => array(0 => 'special', 1 => 'code', 2 => 'code', 3 => 'code', 4 => 'special', 5 => 'string', 
                        6 => 'string', 7 => 'comment', 8 => 'string', 9 => 'string', 10 => 'string', 11 => 'var', 
                        12 => 'var', 13 => 'var', 14 => 'var', 15 => 'var', 16 => 'string', 17 => 'string', 
                        18 => 'string', 19 => 'identifier', 20 => 'number'), 
                3 => array(0 => 'var', 1 => 'var', 2 => 'var', 3 => 'special'), 4 => array(0 => 'special'), 
                5 => array(0 => 'string'), 6 => array(0 => 'var', 1 => 'var', 2 => 'var', 3 => 'special'), 
                7 => array(0 => 'special'), 8 => array(0 => 'var', 1 => 'var', 2 => 'var', 3 => 'special'));
        $this->_end = array(0 => '/\\}/', 1 => '/\\)/', 2 => '/\\]/', 3 => '/%b2%/', 4 => '/%b2%/', 
                5 => '/\\/[cgimosx]*/', 6 => '/`/', 7 => '/\'/', 8 => '/"/');
        $this->_states = array(
                - 1 => array(0 => - 1, 1 => 0, 2 => 1, 3 => 2, 4 => - 1, 5 => 3, 6 => 4, 7 => - 1, 8 => - 1, 9 => - 1, 
                        10 => 5, 11 => - 1, 12 => - 1, 13 => - 1, 14 => - 1, 15 => - 1, 16 => 6, 17 => 7, 18 => 8, 
                        19 => - 1, 20 => - 1), 
                0 => array(0 => - 1, 1 => 0, 2 => 1, 3 => 2, 4 => - 1, 5 => 3, 6 => 4, 7 => - 1, 8 => - 1, 9 => - 1, 
                        10 => 5, 11 => - 1, 12 => - 1, 13 => - 1, 14 => - 1, 15 => - 1, 16 => 6, 17 => 7, 18 => 8, 
                        19 => - 1, 20 => - 1), 
                1 => array(0 => - 1, 1 => 0, 2 => 1, 3 => 2, 4 => - 1, 5 => 3, 6 => 4, 7 => - 1, 8 => - 1, 9 => - 1, 
                        10 => 5, 11 => - 1, 12 => - 1, 13 => - 1, 14 => - 1, 15 => - 1, 16 => - 1, 17 => 6, 18 => 7, 
                        19 => 8, 20 => - 1, 21 => - 1), 
                2 => array(0 => - 1, 1 => 0, 2 => 1, 3 => 2, 4 => - 1, 5 => 3, 6 => 4, 7 => - 1, 8 => - 1, 9 => - 1, 
                        10 => 5, 11 => - 1, 12 => - 1, 13 => - 1, 14 => - 1, 15 => - 1, 16 => 6, 17 => 7, 18 => 8, 
                        19 => - 1, 20 => - 1), 3 => array(0 => - 1, 1 => - 1, 2 => - 1, 3 => - 1), 4 => array(0 => - 1), 
                5 => array(0 => - 1), 6 => array(0 => - 1, 1 => - 1, 2 => - 1, 3 => - 1), 7 => array(0 => - 1), 
                8 => array(0 => - 1, 1 => - 1, 2 => - 1, 3 => - 1));
        $this->_keywords = array(
                - 1 => array(0 => array(), 1 => - 1, 2 => - 1, 3 => - 1, 4 => array(), 5 => - 1, 6 => - 1, 7 => array(), 8 => array(), 
                        9 => array(), 10 => - 1, 11 => array(), 12 => array(), 13 => array(), 14 => array(), 15 => array(), 16 => - 1, 17 => - 1, 
                        18 => - 1, 
                        19 => array(
                                'reserved' => '/^(cd|cp|rm|echo|printf|exit|cut|join|comm|fmt|grep|egrep|fgrep|sed|awk|yes|false|true|test|expr|tee|basename|dirname|pathchk|pwd|stty|tty|env|printenv|id|logname|whoami|groups|users|who|date|uname|hostname|chroot|nice|nohup|sleep|factor|seq|getopt|getopts|options|shift)$/', 
                                'flowcontrol' => '/^(if|fi|then|else|elif|case|esac|while|done|for|in|function|until|do|select|time|read|set)$/'), 
                        20 => array()), 
                0 => array(0 => array(), 1 => - 1, 2 => - 1, 3 => - 1, 4 => array(), 5 => - 1, 6 => - 1, 7 => array(), 8 => array(), 
                        9 => array(), 10 => - 1, 11 => array(), 12 => array(), 13 => array(), 14 => array(), 15 => array(), 16 => - 1, 17 => - 1, 
                        18 => - 1, 
                        19 => array(
                                'reserved' => '/^(cd|cp|rm|echo|printf|exit|cut|join|comm|fmt|grep|egrep|fgrep|sed|awk|yes|false|true|test|expr|tee|basename|dirname|pathchk|pwd|stty|tty|env|printenv|id|logname|whoami|groups|users|who|date|uname|hostname|chroot|nice|nohup|sleep|factor|seq|getopt|getopts|options|shift)$/', 
                                'flowcontrol' => '/^(if|fi|then|else|elif|case|esac|while|done|for|in|function|until|do|select|time|read|set)$/'), 
                        20 => array()), 
                1 => array(0 => array(), 1 => - 1, 2 => - 1, 3 => - 1, 4 => array(), 5 => - 1, 6 => - 1, 7 => array(), 8 => array(), 
                        9 => array(), 10 => - 1, 11 => array(), 12 => array(), 13 => array(), 14 => array(), 15 => array(), 16 => array(), 17 => - 1, 
                        18 => - 1, 19 => - 1, 
                        20 => array(
                                'reserved' => '/^(cd|cp|rm|echo|printf|exit|cut|join|comm|fmt|grep|egrep|fgrep|sed|awk|yes|false|true|test|expr|tee|basename|dirname|pathchk|pwd|stty|tty|env|printenv|id|logname|whoami|groups|users|who|date|uname|hostname|chroot|nice|nohup|sleep|factor|seq|getopt|getopts|options|shift)$/', 
                                'flowcontrol' => '/^(if|fi|then|else|elif|case|esac|while|done|for|in|function|until|do|select|time|read|set)$/'), 
                        21 => array()), 
                2 => array(0 => array(), 1 => - 1, 2 => - 1, 3 => - 1, 4 => array(), 5 => - 1, 6 => - 1, 7 => array(), 8 => array(), 
                        9 => array(), 10 => - 1, 11 => array(), 12 => array(), 13 => array(), 14 => array(), 15 => array(), 16 => - 1, 17 => - 1, 
                        18 => - 1, 
                        19 => array(
                                'reserved' => '/^(cd|cp|rm|echo|printf|exit|cut|join|comm|fmt|grep|egrep|fgrep|sed|awk|yes|false|true|test|expr|tee|basename|dirname|pathchk|pwd|stty|tty|env|printenv|id|logname|whoami|groups|users|who|date|uname|hostname|chroot|nice|nohup|sleep|factor|seq|getopt|getopts|options|shift)$/', 
                                'flowcontrol' => '/^(if|fi|then|else|elif|case|esac|while|done|for|in|function|until|do|select|time|read|set)$/'), 
                        20 => array()), 3 => array(0 => array(), 1 => array(), 2 => array(), 3 => array()), 4 => array(0 => array()), 
                5 => array(0 => array()), 6 => array(0 => array(), 1 => array(), 2 => array(), 3 => array()), 7 => array(0 => array()), 
                8 => array(0 => array(), 1 => array(), 2 => array(), 3 => array()));
        $this->_parts = array(
                0 => array(0 => array(1 => 'special', 2 => 'string'), 1 => NULL, 2 => NULL, 3 => NULL, 
                        4 => array(1 => 'reserved', 2 => 'special'), 5 => NULL, 6 => NULL, 7 => NULL, 
                        8 => array(1 => 'quotes', 2 => 'quotes', 3 => 'string', 5 => 'quotes', 6 => 'string', 
                                8 => 'quotes'), 9 => array(1 => 'quotes', 2 => 'quotes', 3 => 'string', 5 => 'quotes'), 
                        10 => NULL, 11 => NULL, 12 => NULL, 13 => NULL, 
                        14 => array(1 => 'brackets', 2 => 'var', 3 => 'brackets'), 15 => NULL, 16 => NULL, 17 => NULL, 
                        18 => NULL, 19 => NULL, 20 => NULL), 
                1 => array(0 => array(1 => 'special', 2 => 'string'), 1 => NULL, 2 => NULL, 3 => NULL, 
                        4 => array(1 => 'reserved', 2 => 'special'), 5 => NULL, 6 => NULL, 7 => NULL, 
                        8 => array(1 => 'quotes', 2 => 'quotes', 3 => 'string', 5 => 'quotes', 6 => 'string', 
                                8 => 'quotes'), 9 => array(1 => 'quotes', 2 => 'quotes', 3 => 'string', 5 => 'quotes'), 
                        10 => NULL, 11 => array(1 => 'string', 2 => 'code'), 12 => NULL, 13 => NULL, 14 => NULL, 
                        15 => array(1 => 'brackets', 2 => 'var', 3 => 'brackets'), 16 => NULL, 17 => NULL, 18 => NULL, 
                        19 => NULL, 20 => NULL, 21 => NULL), 
                2 => array(0 => array(1 => 'special', 2 => 'string'), 1 => NULL, 2 => NULL, 3 => NULL, 
                        4 => array(1 => 'reserved', 2 => 'special'), 5 => NULL, 6 => NULL, 7 => NULL, 
                        8 => array(1 => 'quotes', 2 => 'quotes', 3 => 'string', 5 => 'quotes', 6 => 'string', 
                                8 => 'quotes'), 9 => array(1 => 'quotes', 2 => 'quotes', 3 => 'string', 5 => 'quotes'), 
                        10 => NULL, 11 => NULL, 12 => NULL, 13 => NULL, 
                        14 => array(1 => 'brackets', 2 => 'var', 3 => 'brackets'), 15 => NULL, 16 => NULL, 17 => NULL, 
                        18 => NULL, 19 => NULL, 20 => NULL), 3 => array(0 => NULL, 1 => NULL, 2 => NULL, 3 => NULL), 
                4 => array(0 => NULL), 5 => array(0 => NULL), 6 => array(0 => NULL, 1 => NULL, 2 => NULL, 3 => NULL), 
                7 => array(0 => NULL), 8 => array(0 => NULL, 1 => NULL, 2 => NULL, 3 => NULL));
        $this->_subst = array(
                - 1 => array(0 => false, 1 => false, 2 => false, 3 => false, 4 => false, 5 => true, 6 => true, 
                        7 => false, 8 => false, 9 => false, 10 => false, 11 => false, 12 => false, 13 => false, 
                        14 => false, 15 => false, 16 => false, 17 => false, 18 => false, 19 => false, 20 => false), 
                0 => array(0 => false, 1 => false, 2 => false, 3 => false, 4 => false, 5 => true, 6 => true, 7 => false, 
                        8 => false, 9 => false, 10 => false, 11 => false, 12 => false, 13 => false, 14 => false, 
                        15 => false, 16 => false, 17 => false, 18 => false, 19 => false, 20 => false), 
                1 => array(0 => false, 1 => false, 2 => false, 3 => false, 4 => false, 5 => true, 6 => true, 7 => false, 
                        8 => false, 9 => false, 10 => false, 11 => false, 12 => false, 13 => false, 14 => false, 
                        15 => false, 16 => false, 17 => false, 18 => false, 19 => false, 20 => false, 21 => false), 
                2 => array(0 => false, 1 => false, 2 => false, 3 => false, 4 => false, 5 => true, 6 => true, 7 => false, 
                        8 => false, 9 => false, 10 => false, 11 => false, 12 => false, 13 => false, 14 => false, 
                        15 => false, 16 => false, 17 => false, 18 => false, 19 => false, 20 => false), 
                3 => array(0 => false, 1 => false, 2 => false, 3 => false), 4 => array(0 => false), 
                5 => array(0 => false), 6 => array(0 => false, 1 => false, 2 => false, 3 => false), 
                7 => array(0 => false), 8 => array(0 => false, 1 => false, 2 => false, 3 => false));
        $this->_conditions = array();
        $this->_kwmap = array('reserved' => 'reserved', 'flowcontrol' => 'reserved');
        $this->_defClass = 'code';
        $this->_checkDefines();
    }

}
Back to Top