| 1 |
<?php |
|---|
| 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 |
$language_data = array ( |
|---|
| 48 |
'LANG_NAME' => 'LUA', |
|---|
| 49 |
'COMMENT_SINGLE' => array(1 => "--"), |
|---|
| 50 |
'COMMENT_MULTI' => array('--[[' => ']]'), |
|---|
| 51 |
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
|---|
| 52 |
'QUOTEMARKS' => array('"'), |
|---|
| 53 |
'ESCAPE_CHAR' => '\\', |
|---|
| 54 |
'KEYWORDS' => array( |
|---|
| 55 |
1 => array( |
|---|
| 56 |
'and','break','do','else','elseif','end','false','for','function','if', |
|---|
| 57 |
'in','local','nil','not','or','repeat','return','then','true','until','while', |
|---|
| 58 |
'_VERSION','assert','collectgarbage','dofile','error','gcinfo','loadfile','loadstring', |
|---|
| 59 |
'print','tonumber','tostring','type','unpack', |
|---|
| 60 |
'_ALERT','_ERRORMESSAGE','_INPUT','_PROMPT','_OUTPUT', |
|---|
| 61 |
'_STDERR','_STDIN','_STDOUT','call','dostring','foreach','foreachi','getn','globals','newtype', |
|---|
| 62 |
'rawget','rawset','require','sort','tinsert','tremove', |
|---|
| 63 |
'abs','acos','asin','atan','atan2','ceil','cos','deg','exp', |
|---|
| 64 |
'floor','format','frexp','gsub','ldexp','log','log10','max','min','mod','rad','random','randomseed', |
|---|
| 65 |
'sin','sqrt','strbyte','strchar','strfind','strlen','strlower','strrep','strsub','strupper','tan', |
|---|
| 66 |
'openfile','closefile','readfrom','writeto','appendto', |
|---|
| 67 |
'remove','rename','flush','seek','tmpfile','tmpname','read','write', |
|---|
| 68 |
'clock','date','difftime','execute','exit','getenv','setlocale','time', |
|---|
| 69 |
'_G','getfenv','getmetatable','ipairs','loadlib','next','pairs','pcall', |
|---|
| 70 |
'rawegal','rawget','rawset','require','setfenv','setmetatable','xpcall', |
|---|
| 71 |
'string.byte','string.char','string.dump','string.find','string.len', |
|---|
| 72 |
'string.lower','string.rep','string.sub','string.upper','string.format','string.gfind','string.gsub', |
|---|
| 73 |
'table.concat','table.foreach','table.foreachi','table.getn','table.sort','table.insert','table.remove','table.setn', |
|---|
| 74 |
'math.abs','math.acos','math.asin','math.atan','math.atan2','math.ceil','math.cos','math.deg','math.exp', |
|---|
| 75 |
'math.floor','math.frexp','math.ldexp','math.log','math.log10','math.max','math.min','math.mod', |
|---|
| 76 |
'math.pi','math.rad','math.random','math.randomseed','math.sin','math.sqrt','math.tan', |
|---|
| 77 |
'coroutine.create','coroutine.resume','coroutine.status', |
|---|
| 78 |
'coroutine.wrap','coroutine.yield', |
|---|
| 79 |
'io.close','io.flush','io.input','io.lines','io.open','io.output','io.read','io.tmpfile','io.type','io.write', |
|---|
| 80 |
'io.stdin','io.stdout','io.stderr', |
|---|
| 81 |
'os.clock','os.date','os.difftime','os.execute','os.exit','os.getenv','os.remove','os.rename', |
|---|
| 82 |
'os.setlocale','os.time','os.tmpname', |
|---|
| 83 |
'string','table','math','coroutine','io','os','debug' |
|---|
| 84 |
) |
|---|
| 85 |
), |
|---|
| 86 |
'SYMBOLS' => array( |
|---|
| 87 |
'(', ')', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>', '=', ';' |
|---|
| 88 |
), |
|---|
| 89 |
'CASE_SENSITIVE' => array( |
|---|
| 90 |
GESHI_COMMENTS => true, |
|---|
| 91 |
1 => true |
|---|
| 92 |
), |
|---|
| 93 |
'STYLES' => array( |
|---|
| 94 |
'KEYWORDS' => array( |
|---|
| 95 |
1 => 'color: #b1b100;' |
|---|
| 96 |
), |
|---|
| 97 |
'COMMENTS' => array( |
|---|
| 98 |
1 => 'color: #808080; font-style: italic;', |
|---|
| 99 |
'MULTI' => 'color: #808080; font-style: italic;' |
|---|
| 100 |
), |
|---|
| 101 |
'ESCAPE_CHAR' => array( |
|---|
| 102 |
0 => 'color: #000099; font-weight: bold;' |
|---|
| 103 |
), |
|---|
| 104 |
'BRACKETS' => array( |
|---|
| 105 |
0 => 'color: #66cc66;' |
|---|
| 106 |
), |
|---|
| 107 |
'STRINGS' => array( |
|---|
| 108 |
0 => 'color: #ff0000;' |
|---|
| 109 |
), |
|---|
| 110 |
'NUMBERS' => array( |
|---|
| 111 |
0 => 'color: #cc66cc;' |
|---|
| 112 |
), |
|---|
| 113 |
'METHODS' => array( |
|---|
| 114 |
0 => 'color: #b1b100;' |
|---|
| 115 |
), |
|---|
| 116 |
'SYMBOLS' => array( |
|---|
| 117 |
0 => 'color: #66cc66;' |
|---|
| 118 |
), |
|---|
| 119 |
'REGEXPS' => array( |
|---|
| 120 |
), |
|---|
| 121 |
'SCRIPT' => array( |
|---|
| 122 |
) |
|---|
| 123 |
), |
|---|
| 124 |
'OOLANG' => false, |
|---|
| 125 |
'OBJECT_SPLITTERS' => array( |
|---|
| 126 |
), |
|---|
| 127 |
'REGEXPS' => array( |
|---|
| 128 |
), |
|---|
| 129 |
'STRICT_MODE_APPLIES' => GESHI_NEVER, |
|---|
| 130 |
'SCRIPT_DELIMITERS' => array( |
|---|
| 131 |
), |
|---|
| 132 |
'HIGHLIGHT_STRICT_BLOCK' => array( |
|---|
| 133 |
) |
|---|
| 134 |
); |
|---|
| 135 |
|
|---|
| 136 |
?> |
|---|
| 137 |
|
|---|
| 138 |
|
|---|