PageRenderTime 27ms CodeModel.GetById 13ms RepoModel.GetById 1ms app.codeStats 0ms

/htdocs/application/libraries/geshi/geshi/kixtart.php

https://gitlab.com/billyprice1/Stikked
PHP | 327 lines | 288 code | 1 blank | 38 comment | 0 complexity | 135d77b5414753eb7c56596e2698bcb5 MD5 | raw file
  1. <?php
  2. /*************************************************************************************
  3. * kixtart.php
  4. * --------
  5. * Author: Riley McArdle (riley@glyff.net)
  6. * Copyright: (c) 2007 Riley McArdle (http://www.glyff.net/)
  7. * Release Version: 1.0.8.12
  8. * Date Started: 2007/08/31
  9. *
  10. * PHP language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2007/08/31 (1.0.7.22)
  15. * - First Release
  16. *
  17. * TODO (updated 2007/08/31)
  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. $language_data = array (
  41. 'LANG_NAME' => 'KiXtart',
  42. 'COMMENT_SINGLE' => array(1 => ';'),
  43. 'COMMENT_MULTI' => array('/*' => '*/'),
  44. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  45. 'QUOTEMARKS' => array("'", '"'),
  46. 'ESCAPE_CHAR' => '',
  47. 'KEYWORDS' => array(
  48. 1 => array(
  49. 'While', 'Loop',
  50. 'Use',
  51. 'Small',
  52. 'Sleep',
  53. 'Shell',
  54. 'SetTime',
  55. 'SetM',
  56. 'SetL',
  57. 'Set',
  58. 'Select', 'Case',
  59. 'Run',
  60. 'Return',
  61. 'Redim',
  62. 'RD',
  63. 'Quit',
  64. 'Play',
  65. 'Move',
  66. 'MD',
  67. 'Include',
  68. 'If', 'Else', 'Endif',
  69. 'GoTo',
  70. 'GoSub',
  71. 'Go',
  72. 'Global',
  73. 'GetS',
  74. 'Get',
  75. 'Function', 'Endfunction',
  76. 'For', 'Next',
  77. 'Each',
  78. 'FlushKb',
  79. 'Exit',
  80. 'Do', 'Until',
  81. 'Display',
  82. 'Dim',
  83. 'Del',
  84. 'Debug',
  85. 'Copy',
  86. 'Cookie1',
  87. 'Color',
  88. 'CLS',
  89. 'CD',
  90. 'Call',
  91. 'Break',
  92. 'Big',
  93. 'Beep',
  94. ),
  95. 2 => array(
  96. '@Address',
  97. '@Build',
  98. '@Color',
  99. '@Comment',
  100. '@CPU',
  101. '@CRLF',
  102. '@CSD',
  103. '@CurDir',
  104. '@Date',
  105. '@Day',
  106. '@Domain',
  107. '@DOS',
  108. '@Error',
  109. '@FullName',
  110. '@HomeDir',
  111. '@HomeDrive',
  112. '@HomeShr',
  113. '@HostName',
  114. '@InWin',
  115. '@IPaddressX',
  116. '@KiX',
  117. '@LanRoot',
  118. '@LDomain',
  119. '@LDrive',
  120. '@LM',
  121. '@LogonMode',
  122. '@LongHomeDir',
  123. '@LServer',
  124. '@MaxPWAge',
  125. '@MDayNo',
  126. '@MHz',
  127. '@MonthNo',
  128. '@Month',
  129. '@MSecs',
  130. '@OnWoW64',
  131. '@PID',
  132. '@PrimaryGroup',
  133. '@Priv',
  134. '@ProductSuite',
  135. '@ProductType',
  136. '@PWAge',
  137. '@RAS',
  138. '@Result',
  139. '@RServer',
  140. '@ScriptDir',
  141. '@ScriptExe',
  142. '@ScriptName',
  143. '@SError',
  144. '@SID',
  145. '@Site',
  146. '@StartDir',
  147. '@SysLang',
  148. '@Ticks',
  149. '@Time',
  150. '@TsSession',
  151. '@UserID',
  152. '@UserLang',
  153. '@WDayNo',
  154. '@Wksta',
  155. '@WUserID',
  156. '@YDayNo',
  157. '@Year',
  158. ),
  159. 3 => array(
  160. 'WriteValue',
  161. 'WriteProfileString',
  162. 'WriteLine',
  163. 'VarTypeName',
  164. 'VarType',
  165. 'Val',
  166. 'UnloadHive',
  167. 'UCase',
  168. 'Ubound',
  169. 'Trim',
  170. 'Substr',
  171. 'SRnd',
  172. 'Split',
  173. 'SidToName',
  174. 'ShutDown',
  175. 'ShowProgramGroup',
  176. 'SetWallpaper',
  177. 'SetTitle',
  178. 'SetSystemState',
  179. 'SetOption',
  180. 'SetFocus',
  181. 'SetFileAttr',
  182. 'SetDefaultPrinter',
  183. 'SetConsole',
  184. 'SetAscii',
  185. 'SendMessage',
  186. 'SendKeys',
  187. 'SaveKey',
  188. 'RTrim',
  189. 'Round',
  190. 'Rnd',
  191. 'Right',
  192. 'RedirectOutput',
  193. 'ReadValue',
  194. 'ReadType',
  195. 'ReadProfileString',
  196. 'ReadLine',
  197. 'Open',
  198. 'MessageBox',
  199. 'MemorySize',
  200. 'LTrim',
  201. 'Logoff',
  202. 'LogEvent',
  203. 'LoadKey',
  204. 'LoadHive',
  205. 'Len',
  206. 'Left',
  207. 'LCase',
  208. 'KeyExist',
  209. 'KbHit',
  210. 'Join',
  211. 'IsDeclared',
  212. 'Int',
  213. 'InStrRev',
  214. 'InStr',
  215. 'InGroup',
  216. 'IIF',
  217. 'GetObject',
  218. 'GetFileVersion',
  219. 'GetFileTime',
  220. 'GetFileSize',
  221. 'GetFileAttr',
  222. 'GetDiskSpace',
  223. 'FreeFileHandle',
  224. 'FormatNumber',
  225. 'Fix',
  226. 'ExpandEnvironmentVars',
  227. 'Exist',
  228. 'Execute',
  229. 'EnumValue',
  230. 'EnumLocalGroup',
  231. 'EnumKey',
  232. 'EnumIpInfo',
  233. 'EnumGroup',
  234. 'Dir',
  235. 'DelValue',
  236. 'DelTree',
  237. 'DelProgramItem',
  238. 'DelProgramGroup',
  239. 'DelPrinterConnection',
  240. 'DelKey',
  241. 'DecToHex',
  242. 'CStr',
  243. 'CreateObject',
  244. 'CompareFileTimes',
  245. 'Close',
  246. 'ClearEventLog',
  247. 'CInt',
  248. 'Chr',
  249. 'CDbl',
  250. 'Box',
  251. 'BackupEventLog',
  252. 'At',
  253. 'AScan',
  254. 'Asc',
  255. 'AddProgramItem',
  256. 'AddProgramGroup',
  257. 'AddPrinterConnection',
  258. 'AddKey',
  259. 'Abs'
  260. )
  261. ),
  262. 'SYMBOLS' => array(
  263. '(', ')', '[', ']', '?', ':', '+', '-', '*', '/', '&', '|', '^', '~', '<', '>', '='
  264. ),
  265. 'CASE_SENSITIVE' => array(
  266. GESHI_COMMENTS => false,
  267. 1 => false,
  268. 2 => false,
  269. 3 => false,
  270. ),
  271. 'STYLES' => array(
  272. 'KEYWORDS' => array(
  273. 1 => 'color: #b1b100;',
  274. 2 => 'color: #000000; font-weight: bold;',
  275. 3 => 'color: #000066;'
  276. ),
  277. 'COMMENTS' => array(
  278. 1 => 'color: #808080; font-style: italic;',
  279. 'MULTI' => 'color: #808080; font-style: italic;'
  280. ),
  281. 'ESCAPE_CHAR' => array(
  282. 0 => 'color: #000099; font-weight: bold;'
  283. ),
  284. 'BRACKETS' => array(
  285. 0 => 'color: #66cc66;'
  286. ),
  287. 'STRINGS' => array(
  288. 0 => 'color: #ff0000;'
  289. ),
  290. 'NUMBERS' => array(
  291. 0 => 'color: #cc66cc;'
  292. ),
  293. 'METHODS' => array(
  294. 1 => 'color: #006600;',
  295. 2 => 'color: #006600;'
  296. ),
  297. 'SYMBOLS' => array(
  298. 0 => 'color: #66cc66;'
  299. ),
  300. 'REGEXPS' => array(
  301. ),
  302. 'SCRIPT' => array(
  303. )
  304. ),
  305. 'URLS' => array(
  306. 1 => 'http://www.kixtart.org/manual/Commands/{FNAMEL}.htm',
  307. 2 => '',
  308. 3 => 'http://www.kixtart.org/manual/Functions/{FNAMEL}.htm'
  309. ),
  310. 'OOLANG' => true,
  311. 'OBJECT_SPLITTERS' => array(
  312. 1 => '.'
  313. ),
  314. 'REGEXPS' => array(
  315. ),
  316. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  317. 'SCRIPT_DELIMITERS' => array(
  318. ),
  319. 'HIGHLIGHT_STRICT_BLOCK' => array(
  320. 0 => true,
  321. 1 => true,
  322. 2 => true,
  323. 3 => true
  324. ),
  325. 'TAB_WIDTH' => 4
  326. );