plugins/geshi/geshi/io.php
changeset 2 9e3258dfae15
parent 0 441963e5b07a
child 3 f3e2bbbd2155
equal deleted inserted replaced
1:c715631f809a 2:9e3258dfae15
     2 /*************************************************************************************
     2 /*************************************************************************************
     3  * io.php
     3  * io.php
     4  * -------
     4  * -------
     5  * Author: Nigel McNie (nigel@geshi.org)
     5  * Author: Nigel McNie (nigel@geshi.org)
     6  * Copyright: (c) 2006 Nigel McNie (http://qbnz.com/highlighter/)
     6  * Copyright: (c) 2006 Nigel McNie (http://qbnz.com/highlighter/)
     7  * Release Version: 1.0.7.20
     7  * Release Version: 1.0.8.2
     8  * Date Started: 2006/09/23
     8  * Date Started: 2006/09/23
     9  *
     9  *
    10  * Io language file for GeSHi. Thanks to Johnathan Wright for the suggestion and help
    10  * Io language file for GeSHi. Thanks to Johnathan Wright for the suggestion and help
    11  * with this language :)
    11  * with this language :)
    12  *
    12  *
    37  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    37  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    38  *
    38  *
    39  ************************************************************************************/
    39  ************************************************************************************/
    40 
    40 
    41 $language_data = array (
    41 $language_data = array (
    42 	'LANG_NAME' => 'Io',
    42     'LANG_NAME' => 'Io',
    43 	'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
    43     'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
    44 	'COMMENT_MULTI' => array('/*' => '*/'),
    44     'COMMENT_MULTI' => array('/*' => '*/'),
    45 	'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    45     'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    46 	'QUOTEMARKS' => array('"'),
    46     'QUOTEMARKS' => array('"'),
    47 	'ESCAPE_CHAR' => '\\',
    47     'ESCAPE_CHAR' => '\\',
    48 	'KEYWORDS' => array(
    48     'KEYWORDS' => array(
    49         1 => array(
    49         1 => array(
    50             'and', 'break', 'else', 'elseif', 'exit', 'for', 'foreach', 'if', 'ifFalse', 'ifNil',
    50             'and', 'break', 'else', 'elseif', 'exit', 'for', 'foreach', 'if', 'ifFalse', 'ifNil',
    51             'ifTrue', 'or', 'pass', 'raise', 'return', 'then', 'try', 'wait', 'while', 'yield'
    51             'ifTrue', 'or', 'pass', 'raise', 'return', 'then', 'try', 'wait', 'while', 'yield'
    52 			),
    52             ),
    53         2 => array(
    53         2 => array(
    54             'activate', 'activeCoroCount', 'asString', 'block', 'catch', 'clone', 'collectGarbage',
    54             'activate', 'activeCoroCount', 'asString', 'block', 'catch', 'clone', 'collectGarbage',
    55             'compileString', 'continue', 'do', 'doFile', 'doMessage', 'doString', 'forward',
    55             'compileString', 'continue', 'do', 'doFile', 'doMessage', 'doString', 'forward',
    56             'getSlot', 'getenv', 'hasSlot', 'isActive', 'isNil', 'isResumable', 'list', 'message',
    56             'getSlot', 'getenv', 'hasSlot', 'isActive', 'isNil', 'isResumable', 'list', 'message',
    57             'method', 'parent', 'pause', 'perform', 'performWithArgList', 'print', 'proto',
    57             'method', 'parent', 'pause', 'perform', 'performWithArgList', 'print', 'proto',
    58             'raiseResumable', 'removeSlot', 'resend', 'resume', 'schedulerSleepSeconds', 'self',
    58             'raiseResumable', 'removeSlot', 'resend', 'resume', 'schedulerSleepSeconds', 'self',
    59             'sender', 'setSchedulerSleepSeconds', 'setSlot', 'shallowCopy', 'slotNames', 'super',
    59             'sender', 'setSchedulerSleepSeconds', 'setSlot', 'shallowCopy', 'slotNames', 'super',
    60             'system', 'thisBlock', 'thisContext', 'thisMessage', 'type', 'uniqueId', 'updateSlot',
    60             'system', 'thisBlock', 'thisContext', 'thisMessage', 'type', 'uniqueId', 'updateSlot',
    61             'write'
    61             'write'
    62 			),
    62             ),
    63         3 => array(
    63         3 => array(
    64             'Array', 'AudioDevice', 'AudioMixer', 'Block', 'Box', 'Buffer', 'CFunction', 'CGI',
    64             'Array', 'AudioDevice', 'AudioMixer', 'Block', 'Box', 'Buffer', 'CFunction', 'CGI',
    65             'Color', 'Curses', 'DBM', 'DNSResolver', 'DOConnection', 'DOProxy', 'DOServer',
    65             'Color', 'Curses', 'DBM', 'DNSResolver', 'DOConnection', 'DOProxy', 'DOServer',
    66             'Date', 'Directory', 'Duration', 'DynLib', 'Error', 'Exception', 'FFT', 'File',
    66             'Date', 'Directory', 'Duration', 'DynLib', 'Error', 'Exception', 'FFT', 'File',
    67             'Fnmatch', 'Font', 'Future', 'GL', 'GLE', 'GLScissor', 'GLU', 'GLUCylinder',
    67             'Fnmatch', 'Font', 'Future', 'GL', 'GLE', 'GLScissor', 'GLU', 'GLUCylinder',
    70             'NULL', 'Nil', 'Nop', 'Notifiction', 'Number', 'Object', 'OpenGL', 'Point', 'Protos',
    70             'NULL', 'Nil', 'Nop', 'Notifiction', 'Number', 'Object', 'OpenGL', 'Point', 'Protos',
    71             'Regex', 'SGMLTag', 'SQLite', 'Server', 'ShowMessage', 'SleepyCat', 'SleepyCatCursor',
    71             'Regex', 'SGMLTag', 'SQLite', 'Server', 'ShowMessage', 'SleepyCat', 'SleepyCatCursor',
    72             'Socket', 'SocketManager', 'Sound', 'Soup', 'Store', 'String', 'Tree', 'UDPSender',
    72             'Socket', 'SocketManager', 'Sound', 'Soup', 'Store', 'String', 'Tree', 'UDPSender',
    73             'UDPReceiver', 'URL', 'User', 'Warning', 'WeakLink'
    73             'UDPReceiver', 'URL', 'User', 'Warning', 'WeakLink'
    74             )
    74             )
    75 		),
    75         ),
    76 	'SYMBOLS' => array(
    76     'SYMBOLS' => array(
    77 		'(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
    77         '(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>'
    78 		),
    78         ),
    79 	'CASE_SENSITIVE' => array(
    79     'CASE_SENSITIVE' => array(
    80 		GESHI_COMMENTS => false,
    80         GESHI_COMMENTS => false,
    81 		1 => false,
    81         1 => false,
    82 		2 => false,
    82         2 => false,
    83 		3 => false,
    83         3 => false,
    84 		),
    84         ),
    85 	'STYLES' => array(
    85     'STYLES' => array(
    86 		'KEYWORDS' => array(
    86         'KEYWORDS' => array(
    87 			1 => 'color: #b1b100;',
    87             1 => 'color: #b1b100;',
    88 			2 => 'color: #000000; font-weight: bold;',
    88             2 => 'color: #000000; font-weight: bold;',
    89 			3 => 'color: #000066;'
    89             3 => 'color: #000066;'
    90 			),
    90             ),
    91 		'COMMENTS' => array(
    91         'COMMENTS' => array(
    92 			1 => 'color: #808080; font-style: italic;',
    92             1 => 'color: #808080; font-style: italic;',
    93 			2 => 'color: #808080; font-style: italic;',
    93             2 => 'color: #808080; font-style: italic;',
    94 			'MULTI' => 'color: #808080; font-style: italic;'
    94             'MULTI' => 'color: #808080; font-style: italic;'
    95 			),
    95             ),
    96 		'ESCAPE_CHAR' => array(
    96         'ESCAPE_CHAR' => array(
    97 			0 => 'color: #000099; font-weight: bold;'
    97             0 => 'color: #000099; font-weight: bold;'
    98 			),
    98             ),
    99 		'BRACKETS' => array(
    99         'BRACKETS' => array(
   100 			0 => 'color: #66cc66;'
   100             0 => 'color: #66cc66;'
   101 			),
   101             ),
   102 		'STRINGS' => array(
   102         'STRINGS' => array(
   103 			0 => 'color: #ff0000;'
   103             0 => 'color: #ff0000;'
   104 			),
   104             ),
   105 		'NUMBERS' => array(
   105         'NUMBERS' => array(
   106 			0 => 'color: #cc66cc;'
   106             0 => 'color: #cc66cc;'
   107 			),
   107             ),
   108 		'METHODS' => array(
   108         'METHODS' => array(
   109 			1 => 'color: #006600;',
   109             1 => 'color: #006600;',
   110 			2 => 'color: #006600;'
   110             2 => 'color: #006600;'
   111 			),
   111             ),
   112 		'SYMBOLS' => array(
   112         'SYMBOLS' => array(
   113 			0 => 'color: #66cc66;'
   113             0 => 'color: #66cc66;'
   114 			),
   114             ),
   115 		'REGEXPS' => array(
   115         'REGEXPS' => array(
   116 			0 => 'color: #0000ff;'
   116             ),
   117 			),
   117         'SCRIPT' => array(
   118 		'SCRIPT' => array(
   118             0 => ''
   119 			0 => ''
   119             )
   120 			)
   120         ),
   121 		),
   121     'URLS' => array(
   122 	'URLS' => array(
   122         1 => '',
   123 		1 => '',
   123         2 => '',
   124 		2 => '',
   124         3 => ''
   125 		3 => ''
   125         ),
   126 		),
   126     'OOLANG' => false,
   127 	'OOLANG' => false,
   127     'OBJECT_SPLITTERS' => array(
   128 	'OBJECT_SPLITTERS' => array(
   128         ),
   129 		),
   129     'REGEXPS' => array(
   130 	'REGEXPS' => array(
   130         ),
   131 		),
   131     'STRICT_MODE_APPLIES' => GESHI_NEVER,
   132 	'STRICT_MODE_APPLIES' => GESHI_NEVER,
   132     'SCRIPT_DELIMITERS' => array(
   133 	'SCRIPT_DELIMITERS' => array(
   133         ),
   134 		),
   134     'HIGHLIGHT_STRICT_BLOCK' => array(
   135 	'HIGHLIGHT_STRICT_BLOCK' => array(
   135         )
   136 		)
       
   137 );
   136 );
   138 
   137 
   139 ?>
   138 ?>