KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

genero.php 11KB

11 years ago
11 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463
  1. <?php
  2. /*************************************************************************************
  3. * genero.php
  4. * ----------
  5. * Author: Lars Gersmann (lars.gersmann@gmail.com)
  6. * Copyright: (c) 2007 Lars Gersmann, Nigel McNie (http://qbnz.com/highlighter/)
  7. * Release Version: 1.0.8.11
  8. * Date Started: 2007/07/01
  9. *
  10. * Genero (FOURJ's Genero 4GL) language file for GeSHi.
  11. *
  12. * CHANGES
  13. * -------
  14. * 2007/07/01 (1.0.0)
  15. * - Initial release
  16. *
  17. *************************************************************************************
  18. *
  19. * This file is part of GeSHi.
  20. *
  21. * GeSHi is free software; you can redistribute it and/or modify
  22. * it under the terms of the GNU General Public License as published by
  23. * the Free Software Foundation; either version 2 of the License, or
  24. * (at your option) any later version.
  25. *
  26. * GeSHi is distributed in the hope that it will be useful,
  27. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  28. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  29. * GNU General Public License for more details.
  30. *
  31. * You should have received a copy of the GNU General Public License
  32. * along with GeSHi; if not, write to the Free Software
  33. * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  34. *
  35. ************************************************************************************/
  36. $language_data = array (
  37. 'LANG_NAME' => 'genero',
  38. 'COMMENT_SINGLE' => array(1 => '--', 2 => '#'),
  39. 'COMMENT_MULTI' => array('{' => '}'),
  40. 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
  41. 'QUOTEMARKS' => array("'", '"'),
  42. 'ESCAPE_CHAR' => '\\',
  43. 'KEYWORDS' => array(
  44. 1 => array(
  45. "ABSOLUTE",
  46. "ACCEPT",
  47. "ACTION",
  48. "ADD",
  49. "AFTER",
  50. "ALL",
  51. "ALTER",
  52. "AND",
  53. "ANY",
  54. "APPEND",
  55. "APPLICATION",
  56. "AS",
  57. "AT",
  58. "ATTRIBUTE",
  59. "ATTRIBUTES",
  60. "AUDIT",
  61. "AVG",
  62. "BEFORE",
  63. "BEGIN",
  64. "BETWEEN",
  65. "BORDER",
  66. "BOTTOM",
  67. "BREAKPOINT",
  68. "BUFFER",
  69. "BUFFERED",
  70. "BY",
  71. "CALL",
  72. "CANCEL",
  73. "CASE",
  74. "CENTURY",
  75. "CHANGE",
  76. "CHECK",
  77. "CLEAR",
  78. "CLIPPED",
  79. "CLOSE",
  80. "CLUSTER",
  81. "COLUMN",
  82. "COLUMNS",
  83. "COMMAND",
  84. "COMMENT",
  85. "COMMIT",
  86. "COMMITTED",
  87. "CONCURRENT ",
  88. "CONNECT",
  89. "CONNECTION",
  90. "CONSTANT",
  91. "CONSTRAINED",
  92. "CONSTRAINT",
  93. "CONSTRUCT",
  94. "CONTINUE",
  95. "CONTROL",
  96. "COUNT",
  97. "CREATE",
  98. "CROSS",
  99. "CURRENT",
  100. "DATABASE",
  101. "DBA",
  102. "DEC",
  103. "DECLARE",
  104. "DEFAULT",
  105. "DEFAULTS",
  106. "DEFER",
  107. "DEFINE",
  108. "DELETE",
  109. "DELIMITER",
  110. "DESCRIBE",
  111. "DESTINATION",
  112. "DIM",
  113. "DIALOG",
  114. "DIMENSION",
  115. "DIRTY",
  116. "DISCONNECT",
  117. "DISPLAY",
  118. "DISTINCT",
  119. "DORMANT",
  120. "DOWN",
  121. "DROP",
  122. "DYNAMIC",
  123. "ELSE",
  124. "END",
  125. "ERROR",
  126. "ESCAPE",
  127. "EVERY",
  128. "EXCLUSIVE",
  129. "EXECUTE",
  130. "EXISTS",
  131. "EXIT",
  132. "EXPLAIN",
  133. "EXTEND",
  134. "EXTENT",
  135. "EXTERNAL",
  136. "FETCH",
  137. "FGL_DRAWBOX",
  138. "FIELD",
  139. "FIELD_TOUCHED",
  140. "FILE",
  141. "FILL",
  142. "FINISH",
  143. "FIRST",
  144. "FLOAT",
  145. "FLUSH",
  146. "FOR",
  147. "FOREACH",
  148. "FORM",
  149. "FORMAT",
  150. "FOUND",
  151. "FRACTION",
  152. "FREE",
  153. "FROM",
  154. "FULL",
  155. "FUNCTION",
  156. "GET_FLDBUF",
  157. "GLOBALS",
  158. "GO",
  159. "GOTO",
  160. "GRANT",
  161. "GROUP",
  162. "HAVING",
  163. "HEADER",
  164. "HELP",
  165. "HIDE",
  166. "HOLD",
  167. "HOUR",
  168. "IDLE",
  169. "IF",
  170. "IMAGE",
  171. "IMMEDIATE",
  172. "IN",
  173. "INDEX",
  174. "INFIELD",
  175. "INITIALIZE",
  176. "INNER",
  177. "INPUT",
  178. "INSERT",
  179. "INTERRUPT",
  180. "INTERVAL",
  181. "INTO",
  182. "INVISIBLE",
  183. "IS",
  184. "ISOLATION",
  185. "JOIN",
  186. "KEEP",
  187. "KEY",
  188. "LABEL",
  189. "LAST",
  190. "LEFT",
  191. "LENGTH",
  192. "LET",
  193. "LIKE",
  194. "LINE",
  195. "LINENO",
  196. "LINES",
  197. "LOAD",
  198. "LOCATE",
  199. "LOCK",
  200. "LOG",
  201. "LSTR",
  202. "MAIN",
  203. "MARGIN",
  204. "MATCHES",
  205. "MAX",
  206. "MAXCOUNT",
  207. "MDY",
  208. "MEMORY",
  209. "MENU",
  210. "MESSAGE",
  211. "MIN",
  212. "MINUTE",
  213. "MOD",
  214. "MODE",
  215. "MODIFY",
  216. "MONEY",
  217. "NAME",
  218. "NEED",
  219. "NEXT",
  220. "NO",
  221. "NORMAL",
  222. "NOT",
  223. "NOTFOUND",
  224. "NULL",
  225. "NUMERIC",
  226. "OF",
  227. "ON",
  228. "OPEN",
  229. "OPTION",
  230. "OPTIONS",
  231. "OR",
  232. "ORDER",
  233. "OTHERWISE",
  234. "OUTER",
  235. "OUTPUT",
  236. "PAGE",
  237. "PAGENO",
  238. "PAUSE",
  239. "PERCENT",
  240. "PICTURE",
  241. "PIPE",
  242. "PRECISION",
  243. "PREPARE",
  244. "PREVIOUS",
  245. "PRINT",
  246. "PRINTER",
  247. "PRINTX",
  248. "PRIOR",
  249. "PRIVILEGES",
  250. "PROCEDURE",
  251. "PROGRAM",
  252. "PROMPT",
  253. "PUBLIC",
  254. "PUT",
  255. "QUIT",
  256. "READ",
  257. "REAL",
  258. "RECORD",
  259. "RECOVER",
  260. "RED ",
  261. "RELATIVE",
  262. "RENAME",
  263. "REOPTIMIZATION",
  264. "REPEATABLE",
  265. "REPORT",
  266. "RESOURCE",
  267. "RETURN",
  268. "RETURNING",
  269. "REVERSE",
  270. "REVOKE",
  271. "RIGHT",
  272. "ROLLBACK",
  273. "ROLLFORWARD",
  274. "ROW",
  275. "ROWS",
  276. "RUN",
  277. "SCHEMA",
  278. "SCREEN",
  279. "SCROLL",
  280. "SECOND",
  281. "SELECT",
  282. "SERIAL",
  283. "SET",
  284. "SFMT",
  285. "SHARE",
  286. "SHIFT",
  287. "SHOW",
  288. "SIGNAL ",
  289. "SIZE",
  290. "SKIP",
  291. "SLEEP",
  292. "SOME",
  293. "SPACE",
  294. "SPACES",
  295. "SQL",
  296. "SQLERRMESSAGE",
  297. "SQLERROR",
  298. "SQLSTATE",
  299. "STABILITY",
  300. "START",
  301. "STATISTICS",
  302. "STEP",
  303. "STOP",
  304. "STYLE",
  305. "SUM",
  306. "SYNONYM",
  307. "TABLE",
  308. "TEMP",
  309. "TERMINATE",
  310. "TEXT",
  311. "THEN",
  312. "THROUGH",
  313. "THRU",
  314. "TO",
  315. "TODAY",
  316. "TOP",
  317. "TRAILER",
  318. "TRANSACTION ",
  319. "UNBUFFERED",
  320. "UNCONSTRAINED",
  321. "UNDERLINE",
  322. "UNION",
  323. "UNIQUE",
  324. "UNITS",
  325. "UNLOAD",
  326. "UNLOCK",
  327. "UP",
  328. "UPDATE",
  329. "USE",
  330. "USER",
  331. "USING",
  332. "VALIDATE",
  333. "VALUE",
  334. "VALUES",
  335. "VARCHAR",
  336. "VIEW",
  337. "WAIT",
  338. "WAITING",
  339. "WARNING",
  340. "WHEN",
  341. "WHENEVER",
  342. "WHERE",
  343. "WHILE",
  344. "WINDOW",
  345. "WITH",
  346. "WITHOUT",
  347. "WORDWRAP",
  348. "WORK",
  349. "WRAP"
  350. ),
  351. 2 => array(
  352. '&amp;IFDEF', '&amp;ENDIF'
  353. ),
  354. 3 => array(
  355. "ARRAY",
  356. "BYTE",
  357. "CHAR",
  358. "CHARACTER",
  359. "CURSOR",
  360. "DATE",
  361. "DATETIME",
  362. "DECIMAL",
  363. "DOUBLE",
  364. "FALSE",
  365. "INT",
  366. "INTEGER",
  367. "SMALLFLOAT",
  368. "SMALLINT",
  369. "STRING",
  370. "TIME",
  371. "TRUE"
  372. ),
  373. 4 => array(
  374. "BLACK",
  375. "BLINK",
  376. "BLUE",
  377. "BOLD",
  378. "ANSI",
  379. "ASC",
  380. "ASCENDING",
  381. "ASCII",
  382. "CYAN",
  383. "DESC",
  384. "DESCENDING",
  385. "GREEN",
  386. "MAGENTA",
  387. "OFF",
  388. "WHITE",
  389. "YELLOW",
  390. "YEAR",
  391. "DAY",
  392. "MONTH",
  393. "WEEKDAY"
  394. ),
  395. ),
  396. 'SYMBOLS' => array(
  397. '+', '-', '*', '?', '=', '/', '%', '>', '<', '^', '!', '|', ':',
  398. '(', ')', '[', ']'
  399. ),
  400. 'CASE_SENSITIVE' => array(
  401. GESHI_COMMENTS => false,
  402. 1 => false,
  403. 2 => false,
  404. 3 => false,
  405. 4 => false,
  406. ),
  407. 'STYLES' => array(
  408. 'KEYWORDS' => array(
  409. 1 => 'color: #0600FF;',
  410. 2 => 'color: #0000FF; font-weight: bold;',
  411. 3 => 'color: #008000;',
  412. 4 => 'color: #FF0000;',
  413. ),
  414. 'COMMENTS' => array(
  415. 1 => 'color: #008080; font-style: italic;',
  416. 2 => 'color: #008080;',
  417. 'MULTI' => 'color: #008080; font-style: italic;'
  418. ),
  419. 'ESCAPE_CHAR' => array(
  420. 0 => 'color: #008080; font-weight: bold;'
  421. ),
  422. 'BRACKETS' => array(
  423. 0 => 'color: #000000;'
  424. ),
  425. 'STRINGS' => array(
  426. 0 => 'color: #808080;'
  427. ),
  428. 'NUMBERS' => array(
  429. 0 => 'color: #FF0000;'
  430. ),
  431. 'METHODS' => array(
  432. 1 => 'color: #0000FF;',
  433. 2 => 'color: #0000FF;'
  434. ),
  435. 'SYMBOLS' => array(
  436. 0 => 'color: #008000;'
  437. ),
  438. 'REGEXPS' => array(
  439. ),
  440. 'SCRIPT' => array(
  441. )
  442. ),
  443. 'URLS' => array(
  444. 1 => '',
  445. 2 => '',
  446. 3 => '',
  447. 4 => ''
  448. ),
  449. 'OOLANG' => true,
  450. 'OBJECT_SPLITTERS' => array(
  451. 1 => '.'
  452. ),
  453. 'REGEXPS' => array(
  454. ),
  455. 'STRICT_MODE_APPLIES' => GESHI_NEVER,
  456. 'SCRIPT_DELIMITERS' => array(
  457. ),
  458. 'HIGHLIGHT_STRICT_BLOCK' => array(
  459. )
  460. );
  461. ?>