Upgrade GeSHi to 1.0.9.0.
Minimal PHP version is now 7.0. Signed-off-by: Thomas Hochstein <thh@inter.net>
This commit is contained in:
parent
132616da5b
commit
4dd2974d27
|
@ -1,3 +1,8 @@
|
|||
1.1:
|
||||
-----
|
||||
* Upgrade GeSHi to 1.0.9.0; minimal PHP version is now 7.0.
|
||||
|
||||
|
||||
1.0: Another fix for PHP7.2 compatibility.
|
||||
|
||||
0.9.9: Fix constructor for compatibility with PHP7.2
|
||||
|
|
File diff suppressed because it is too large
Load diff
137
serendipity_event_geshi/geshi/4cs.php
Normal file
137
serendipity_event_geshi/geshi/4cs.php
Normal file
|
@ -0,0 +1,137 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* 4cs.php
|
||||
* ------
|
||||
* Author: Jason Curl (jason.curl@continental-corporation.com)
|
||||
* Copyright: (c) 2009 Jason Curl
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/09/05
|
||||
*
|
||||
* 4CS language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/09/05
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2009/09/01)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'GADV 4CS',
|
||||
'COMMENT_SINGLE' => array(1 => "//"),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'All', 'AllMatches', 'And', 'And_Filters', 'As', 'Asc', 'BasedOn',
|
||||
'BestMatch', 'Block', 'Buffer', 'ByRef', 'ByVal', 'Call', 'Channel',
|
||||
'Chr', 'Clear', 'Close', 'Confirm', 'Const', 'Continue', 'Cos',
|
||||
'Critical', 'Declare', 'Default', 'DefaultChannel', 'DefaultDelayTime',
|
||||
'DefaultReceiveMode', 'DefaultResponseTime', '#Define', 'DelayTime',
|
||||
'Delete', 'Div', 'Else', '#Else', 'ElseIf', '#ElseIf', 'End', 'EndCritical',
|
||||
'EndInlineC', 'EndFunction', 'EndIf', '#EndIf', 'EndInputList',
|
||||
'EndLocalChannel', 'EndScenario', 'EndSub', 'EndWhile', 'Error',
|
||||
'ErrorLevelOff', 'ErrorLevelOn', 'ErrorLevelSet', 'ErrorLevelSetRaw',
|
||||
'Event', 'EventMode', 'EventOff', 'EventOn', 'EventSet', 'EventSetRaw',
|
||||
'Execute', 'Exit', 'Exp', 'FileClose', 'FilterClear', 'FileEOF', 'FileOpen',
|
||||
'FileRead', 'FileSize', 'FileWrite', 'FilterAdd', 'FilterMode',
|
||||
'FilterOff', 'FilterOn', 'For', 'Format', 'Function', 'GoOnline', 'GoTo',
|
||||
'Handle', 'Hide', 'If', '#If', '#IfDef', '#IfNDef', 'Ignore', '#Include',
|
||||
'InlineC', 'Input', 'InputItem', 'InputList', 'Kill', 'LBound', 'LocalChannel',
|
||||
'Local', 'Log', 'Log10', 'LogOff', 'LogOn', 'Loop', 'Message', 'Mod',
|
||||
'MonitorChannel', 'MostFormat', 'MostMessage', 'Named', 'Never', 'Next',
|
||||
'NoOrder', 'Not', 'Nothing', 'NoWait', 'Numeric', 'OnError', 'OnEvent',
|
||||
'Or', 'Or_Filters', 'Order', 'Pass', 'Pow', 'Prototype', 'Quit', 'Raise',
|
||||
'Random', 'Receive', 'ReceiveMode', 'ReceiveRaw', 'Redim', 'Remote', 'Repeat',
|
||||
'Repeated', 'ResponseTime', 'Resume', 'ResumeCritical', 'RT_Common',
|
||||
'RT_Dll_Call', 'RT_FILEIO', 'RT_General', 'RT_HardwareAccess',
|
||||
'RT_MessageVariableAccess', 'RT_Scenario', 'RT_VariableAccess', 'Runtime',
|
||||
'Scenario', 'ScenarioEnd', 'ScenarioStart', 'ScenarioStatus', 'ScenarioTerminate',
|
||||
'Send', 'SendRaw', 'Set', 'SetError', 'Sin', 'Single', 'Show', 'Start',
|
||||
'StartCritical', 'Starts', 'Static', 'Step', 'Stop', 'String', 'Sub',
|
||||
'System_Error', 'TerminateAllChilds', 'Terminates', 'Then', 'Throw', 'TimeOut',
|
||||
'To', 'TooLate', 'Trunc', 'UBound', 'Unexpected', 'Until', 'User_Error',
|
||||
'View', 'Wait', 'Warning', 'While', 'XOr'
|
||||
),
|
||||
2 => array(
|
||||
'alias', 'winapi', 'long', 'char', 'double', 'float', 'int', 'short', 'lib'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'=', ':=', '<', '>', '<>'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000C0; font-weight: bold;',
|
||||
2 => 'color: #808080;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #008000;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000080;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #800080;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #66cc66;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000080;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
228
serendipity_event_geshi/geshi/6502acme.php
Normal file
228
serendipity_event_geshi/geshi/6502acme.php
Normal file
|
@ -0,0 +1,228 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* 6502acme.php
|
||||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/05/26
|
||||
*
|
||||
* MOS 6502 (more specifically 6510) ACME Cross Assembler 0.93 by Marco Baye language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/07/22
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2010/07/22)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'MOS 6502 (6510) ACME Cross Assembler format',
|
||||
'COMMENT_SINGLE' => array(1 => ';'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
/* 6502/6510 Opcodes. */
|
||||
1 => array(
|
||||
'adc', 'and', 'asl', 'bcc', 'bcs', 'beq', 'bit', 'bmi',
|
||||
'bne', 'bpl', 'brk', 'bvc', 'bvs', 'clc', 'cld', 'cli',
|
||||
'clv', 'cmp', 'cpx', 'cpy', 'dec', 'dex', 'dey', 'eor',
|
||||
'inc', 'inx', 'iny', 'jmp', 'jsr', 'lda', 'ldx', 'ldy',
|
||||
'lsr', 'nop', 'ora', 'pha', 'php', 'pla', 'plp', 'rol',
|
||||
'ror', 'rti', 'rts', 'sbc', 'sec', 'sed', 'sei', 'sta',
|
||||
'stx', 'sty', 'tax', 'tay', 'tsx', 'txa', 'txs', 'tya',
|
||||
),
|
||||
/* Index Registers, yes the 6502 has other registers by they are only
|
||||
* accessable by specific opcodes. The 65816 also has access to the stack pointer S. */
|
||||
2 => array(
|
||||
'x', 'y', 's'
|
||||
),
|
||||
/* Directives or "pseudo opcodes" as defined by ACME 0.93 file AllPOs.txt. */
|
||||
3 => array(
|
||||
'!8', '!08', '!by', '!byte',
|
||||
'!16', '!wo', '!word',
|
||||
'!24', '!32',
|
||||
'!fi', '!fill',
|
||||
'!align',
|
||||
'!ct', '!convtab',
|
||||
'!tx', '!text',
|
||||
'!pet',
|
||||
'!raw',
|
||||
'!scrxor',
|
||||
'!to',
|
||||
'!source',
|
||||
'!bin', '!binary',
|
||||
'!zn', '!zone',
|
||||
'!sl',
|
||||
'!svl',
|
||||
'!sal',
|
||||
'!if', '!ifdef',
|
||||
'!for',
|
||||
'!set',
|
||||
'!do', 'while', 'until',
|
||||
'!eof', '!endoffile',
|
||||
'!warn', '!error', '!serious',
|
||||
'!macro',
|
||||
// , '*=' // Not a valid keyword (uses both * and = signs) moved to symbols instead.
|
||||
'!initmem',
|
||||
'!pseudopc',
|
||||
'!cpu',
|
||||
'!al', '!as', '!rl', '!rs',
|
||||
),
|
||||
|
||||
/* 6502/6510 undocumented opcodes (often referred to as illegal instructions).
|
||||
* These are present in the 6502/6510 but NOT in the newer CMOS revisions of the 65C02 or 65816.
|
||||
* As they are undocumented instructions there are no "official" names for them, there are also
|
||||
* several more that mainly perform various forms of crash and are not supported by ACME 0.93.
|
||||
*/
|
||||
4 => array(
|
||||
'anc', 'arr', 'asr', 'dcp', 'dop', 'isc', 'jam', 'lax',
|
||||
'rla', 'rra', 'sax', 'sbx', 'slo', 'sre', 'top',
|
||||
),
|
||||
/* 65c02 instructions, MOS added a few (much needed) instructions in the CMOS version of the 6502, but stupidly removed the undocumented/illegal opcodes.
|
||||
* ACME 0.93 does not support the rmb0-7 and smb0-7 instructions (they are currently rem'ed out). */
|
||||
5 => array(
|
||||
'bra', 'phx', 'phy', 'plx', 'ply', 'stz', 'trb', 'tsb'
|
||||
),
|
||||
/* 65816 instructions. */
|
||||
6 => array(
|
||||
'brl', 'cop', 'jml', 'jsl', 'mvn', 'mvp', 'pea', 'pei',
|
||||
'per', 'phb', 'phd', 'phk', 'plb', 'pld', 'rep', 'rtl',
|
||||
'sep', 'tcd', 'tcs', 'tdc', 'tsc', 'txy', 'tyx', 'wdm',
|
||||
'xba', 'xce',
|
||||
),
|
||||
/* Deprecated directives or "pseudo opcodes" as defined by ACME 0.93 file AllPOs.txt. */
|
||||
7 => array(
|
||||
'!cbm',
|
||||
'!sz', '!subzone',
|
||||
'!realpc',
|
||||
),
|
||||
/* Math functions, some are aliases for the symbols. */
|
||||
8 => array(
|
||||
'not', 'div', 'mod', 'xor', 'or', 'sin', 'cos', 'tan',
|
||||
'arcsin', 'arccos', 'arctan', 'int', 'float',
|
||||
|
||||
),
|
||||
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
// '[', ']', '(', ')', '{', '}', // These are already defined by GeSHi as BRACKETS.
|
||||
'*=', '#', '!', '^', '-', '*', '/',
|
||||
'%', '+', '-', '<<', '>>', '>>>',
|
||||
'<', '>', '^', '<=', '<', '>=', '>', '!=',
|
||||
'=', '&', '|', '<>',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false,
|
||||
6 => false,
|
||||
7 => false,
|
||||
8 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #00f; font-weight:bold;',
|
||||
2 => 'color: #00f; font-weight:bold;',
|
||||
3 => 'color: #080; font-weight:bold;',
|
||||
4 => 'color: #f00; font-weight:bold;',
|
||||
5 => 'color: #80f; font-weight:bold;',
|
||||
6 => 'color: #f08; font-weight:bold;',
|
||||
7 => 'color: #a04; font-weight:bold; font-style: italic;',
|
||||
8 => 'color: #000;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #999; font-style: italic;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #009; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
GESHI_NUMBER_INT_BASIC => 'color: #f00;',
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR => 'color: #f00;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #f00;',
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT => 'color: #f00;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color: #f00;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #f00;'
|
||||
, 1 => 'color: #933;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => '',
|
||||
7 => '',
|
||||
8 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC |
|
||||
GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR |
|
||||
GESHI_NUMBER_HEX_PREFIX |
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT,
|
||||
// AMCE Octal format not support and gets picked up as Decimal unfortunately.
|
||||
'REGEXPS' => array(
|
||||
//ACME .# Binary number format. e.g. %..##..##..##
|
||||
0 => '\%[\.\#]{1,64}',
|
||||
//ACME Local Labels
|
||||
1 => '\.[_a-zA-Z][_a-zA-Z0-9]*',
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 8,
|
||||
'PARSER_CONTROL' => array(
|
||||
'NUMBERS' => array(
|
||||
'PRECHECK_RX' => '/[\da-fA-F\.\$\%]/'
|
||||
)
|
||||
)
|
||||
);
|
239
serendipity_event_geshi/geshi/6502kickass.php
Normal file
239
serendipity_event_geshi/geshi/6502kickass.php
Normal file
|
@ -0,0 +1,239 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* 6502kickass.php
|
||||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/07
|
||||
*
|
||||
* MOS 6502 (6510) Kick Assembler 3.13 language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/07/22
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2010/07/22)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'MOS 6502 (6510) Kick Assembler format',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
/* 6502/6510 Opcodes including undocumented opcodes as Kick Assembler 3.13 does not make a distinction - they are ALL valid. */
|
||||
1 => array(
|
||||
'adc', 'ahx', 'alr', 'anc', 'anc2', 'and', 'arr', 'asl',
|
||||
'axs', 'bcc', 'bcs', 'beq', 'bit', 'bmi', 'bne', 'bpl',
|
||||
'brk', 'bvc', 'bvs', 'clc', 'cld', 'cli', 'clv', 'cmp',
|
||||
'cpx', 'cpy', 'dcp', 'dec', 'dex', 'dey', 'eor', 'inc',
|
||||
'inx', 'iny', 'isc', 'jmp', 'jsr', 'las', 'lax', 'lda',
|
||||
'ldx', 'ldy', 'lsr', 'nop', 'ora', 'pha', 'php', 'pla',
|
||||
'plp', 'rla', 'rol', 'ror', 'rra', 'rti', 'rts', 'sax',
|
||||
'sbc', 'sbc2', 'sec', 'sed', 'sei', 'shx', 'shy', 'slo',
|
||||
'sre', 'sta', 'stx', 'sty', 'tas', 'tax', 'tay', 'tsx',
|
||||
'txa', 'txs', 'tya', 'xaa',
|
||||
),
|
||||
/* DTV additional Opcodes. */
|
||||
2 => array(
|
||||
'bra', 'sac', 'sir'
|
||||
),
|
||||
/* Index Registers, yes the 6502 has other registers by they are only
|
||||
* accessable by specific opcodes. */
|
||||
3 => array(
|
||||
'x', 'y'
|
||||
),
|
||||
/* Directives. */
|
||||
4 => array(
|
||||
'.pc', '.pseudopc', 'virtual', '.align', '.byte', '.word', '.text', '.fill',
|
||||
'.import source', '.import binary', '.import c64', '.import text', '.import', '.print', '.printnow',
|
||||
'.error', '.var', '.eval', '.const', '.eval const', '.enum', '.label', '.define', '.struct',
|
||||
'if', '.for', '.macro', '.function', '.return', '.pseudocommand', '.namespace', '.filenamespace',
|
||||
'.assert', '.asserterror',
|
||||
),
|
||||
/* Kick Assembler 3.13 Functions/Operators. */
|
||||
5 => array(
|
||||
'size', 'charAt', 'substring', 'asNumber', 'asBoolean', 'toIntString', 'toBinaryString', 'toOctalString',
|
||||
'toHexString', 'lock', // String functions/operators.
|
||||
'get', 'set', 'add', 'remove', 'shuffle', // List functions.
|
||||
'put', 'keys', // Hashtable functions.
|
||||
'getType', 'getValue', 'CmdArgument', // Pseudo Commands functions.
|
||||
'asmCommandSize', // Opcode Constants functions.
|
||||
'LoadBinary', 'getSize',
|
||||
'LoadSid', 'getData',
|
||||
'LoadPicture', 'width', 'height', 'getPixel', 'getSinglecolorByte', 'getMulticolorByte',
|
||||
'createFile', 'writeln',
|
||||
'cmdLineVars',
|
||||
'getX', 'getY', 'getZ', // Vector functions.
|
||||
'RotationMatrix', 'ScaleMatrix', 'MoveMatrix', 'PerspectiveMatrix', // Matrix functions.
|
||||
|
||||
),
|
||||
|
||||
/* Kick Assembler 3.13 Math Functions. */
|
||||
6 => array(
|
||||
'abs', 'acos', 'asin', 'atan', 'atan2', 'cbrt', 'ceil', 'cos', 'cosh',
|
||||
'exp', 'expm1', 'floor', 'hypot', 'IEEEremainder', 'log', 'log10',
|
||||
'log1p', 'max', 'min', 'pow', 'mod', 'random', 'round', 'signum',
|
||||
'sin', 'sinh', 'sqrt', 'tan', 'tanh', 'toDegrees', 'toRadians',
|
||||
),
|
||||
|
||||
/* Kick Assembler 3.13 Objects/Data Types. */
|
||||
7 => array(
|
||||
'List', // List() Object.
|
||||
'Hashtable', // Hashtable() Object.
|
||||
'Vector', // Vector() Object.
|
||||
'Matrix', // Matrix() Object.
|
||||
),
|
||||
|
||||
/* Kick Assembler 3.13 Constants. */
|
||||
8 => array(
|
||||
'PI', 'E', // Math Constants.
|
||||
'AT_ABSOLUTE' , 'AT_ABSOLUTEX' , 'AT_ABSOLUTEY' , 'AT_IMMEDIATE', // Pseudo Commands Constants.
|
||||
'AT_INDIRECT' , 'AT_IZEROPAGEX' , 'AT_IZEROPAGEY' , 'AT_NONE',
|
||||
'BLACK', 'WHITE', 'RED', 'CYAN', 'PURPLE', 'GREEN', 'BLUE', // Colour Constants.
|
||||
'YELLOW', 'ORANGE', 'BROWN', 'LIGHT_RED', 'DARK_GRAY', 'GRAY',
|
||||
'LIGHT_GREEN', 'LIGHT_BLUE', 'LIGHT_GRAY',
|
||||
'C64FILE', // Template Tag names.
|
||||
'BF_C64FILE', 'BF_BITMAP_SINGLECOLOR', 'BF_KOALA' , 'BF_FLI', // Binary format constant
|
||||
),
|
||||
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
// '[', ']', '(', ')', '{', '}', // These are already defined by GeSHi as BRACKETS.
|
||||
'-', '+', '-', '*', '/', '>', '<', '<<', '>>', '&', '|', '^', '=', '==',
|
||||
'!=', '>=', '<=', '!', '&&', '||', '#',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true,
|
||||
7 => true,
|
||||
8 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #00f; font-weight:bold;',
|
||||
2 => 'color: #00f; font-weight:bold;',
|
||||
3 => 'color: #00f; font-weight:bold;',
|
||||
4 => 'color: #080; font-weight:bold;',
|
||||
5 => 'color: #80f; font-weight:bold;',
|
||||
6 => 'color: #f08; font-weight:bold;',
|
||||
7 => 'color: #a04; font-weight:bold; font-style: italic;',
|
||||
8 => 'color: #f08; font-weight:bold;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #999; font-style: italic;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #009; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
GESHI_NUMBER_INT_BASIC => 'color: #f00;',
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR => 'color: #f00;',
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT => 'color: #f00;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color: #f00;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #933;',
|
||||
1 => 'color: #933;',
|
||||
2 => 'color: #933;',
|
||||
3 => 'color: #00f; font-weight:bold;',
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => '',
|
||||
7 => '',
|
||||
8 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC |
|
||||
GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR |
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT,
|
||||
// AMCE Octal format not support and gets picked up as Decimal unfortunately.
|
||||
'REGEXPS' => array(
|
||||
//Labels end with a collon.
|
||||
0 => '[!]{0,1}[_a-zA-Z][_a-zA-Z0-9]*\:',
|
||||
//Multi Labels (local labels) references start with ! and end with + or - for forward/backward reference.
|
||||
1 => '![_a-zA-Z][_a-zA-Z0-9]*[+-]',
|
||||
//Macros start with a colon :Macro.
|
||||
2 => ':[_a-zA-Z][_a-zA-Z0-9]*',
|
||||
// Opcode Constants, such as LDA_IMM, STA_IZPY are basically all 6502 opcodes
|
||||
// in UPPER case followed by _underscore_ and the ADDRESS MODE.
|
||||
// As you might imagine that is rather a lot ( 78 supported Opcodes * 12 Addressing modes = 936 variations)
|
||||
// So I thought it better and easier to maintain as a regular expression.
|
||||
// NOTE: The order of the Address Modes must be maintained or it wont work properly (eg. place ZP first and find out!)
|
||||
3 => '[A-Z]{3}[2]?_(?:IMM|IND|IZPX|IZPY|ZPX|ZPY|ABSX|ABSY|REL|ABS|ZP)',
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 8,
|
||||
'PARSER_CONTROL' => array(
|
||||
'NUMBERS' => array(
|
||||
'PRECHECK_RX' => '/[\da-fA-F\.\$\%]/'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
5 => array (
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\;>|^&'\"])"
|
||||
),
|
||||
6 => array (
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\;>|^&'\"])"
|
||||
),
|
||||
8 => array (
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\;>|^&'\"])"
|
||||
)
|
||||
)
|
||||
),
|
||||
);
|
187
serendipity_event_geshi/geshi/6502tasm.php
Normal file
187
serendipity_event_geshi/geshi/6502tasm.php
Normal file
|
@ -0,0 +1,187 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* 6502tasm.php
|
||||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/02
|
||||
*
|
||||
* MOS 6502 (6510) TASM/64TASS (64TASS being the super set of TASM) language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/07/22
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2010/07/22)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'MOS 6502 (6510) TASM/64TASS 1.46 Assembler format',
|
||||
'COMMENT_SINGLE' => array(1 => ';'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
/* 6502/6510 Opcodes. */
|
||||
1 => array(
|
||||
'adc', 'and', 'asl', 'bcc', 'bcs', 'beq', 'bit', 'bmi',
|
||||
'bne', 'bpl', 'brk', 'bvc', 'bvs', 'clc', 'cld', 'cli',
|
||||
'clv', 'cmp', 'cpx', 'cpy', 'dec', 'dex', 'dey', 'eor',
|
||||
'inc', 'inx', 'iny', 'jmp', 'jsr', 'lda', 'ldx', 'ldy',
|
||||
'lsr', 'nop', 'ora', 'pha', 'php', 'pla', 'plp', 'rol',
|
||||
'ror', 'rti', 'rts', 'sbc', 'sec', 'sed', 'sei', 'sta',
|
||||
'stx', 'sty', 'tax', 'tay', 'tsx', 'txa', 'txs', 'tya',
|
||||
),
|
||||
/* Index Registers, yes the 6502 has other registers by they are only
|
||||
* accessable by specific opcodes. The 65816 also has access to the stack pointer S. */
|
||||
2 => array(
|
||||
'x', 'y', 's'
|
||||
),
|
||||
/* Directives. */
|
||||
3 => array(
|
||||
'.al', '.align', '.as', '.assert', '.binary', '.byte', '.cerror', '.char',
|
||||
'.comment', '.cpu', '.cwarn', '.databank', '.dpage', '.else', '.elsif',
|
||||
'.enc', '.endc', '.endif', '.endm', '.endp', '.error', '.fi', '.fill',
|
||||
'.for', '.here', '.if', '.ifeq', '.ifmi', '.ifne', '.ifpl',
|
||||
'.include', '.int', '.logical', '.long', '.macro', '.next', '.null', '.offs',
|
||||
'.page', '.pend', '.proc', '.rept', '.rta', '.shift', '.text', '.warn', '.word',
|
||||
'.xl', '.xs',
|
||||
// , '*=' // Not a valid keyword (uses both * and = signs) moved to symbols instead.
|
||||
),
|
||||
|
||||
/* 6502/6510 undocumented opcodes (often referred to as illegal instructions).
|
||||
* These are present in the 6502/6510 but NOT in the newer CMOS revisions of the 65C02 or 65816.
|
||||
* As they are undocumented instructions there are no "official" names for them, these are the names
|
||||
* used by 64TASS V1.46.
|
||||
*/
|
||||
4 => array(
|
||||
'ahx', 'alr', 'anc', 'ane', 'arr', 'asr', 'axs', 'dcm',
|
||||
'dcp', 'ins', 'isb', 'isc', 'jam', 'lae', 'las', 'lax',
|
||||
'lds', 'lxa', 'rla', 'rra', 'sax', 'sbx', 'sha', 'shs',
|
||||
'shx', 'shy', 'slo', 'sre', 'tas', 'xaa',
|
||||
),
|
||||
/* 65c02 instructions, MOS added a few (much needed) instructions in the
|
||||
* CMOS version of the 6502, but stupidly removed the undocumented/illegal opcodes. */
|
||||
5 => array(
|
||||
'bra', 'dea', 'gra', 'ina', 'phx', 'phy', 'plx', 'ply',
|
||||
'stz', 'trb', 'tsb',
|
||||
),
|
||||
/* 65816 instructions. */
|
||||
6 => array(
|
||||
'brl', 'cop', 'jml', 'jsl', 'mvn', 'mvp', 'pea', 'pei',
|
||||
'per', 'phb', 'phd', 'phk', 'plb', 'pld', 'rep', 'rtl',
|
||||
'sep', 'stp', 'swa', 'tad', 'tcd', 'tcs', 'tda',
|
||||
'tdc', 'tsa', 'tsc', 'txy', 'tyx', 'wai', 'xba', 'xce',
|
||||
),
|
||||
/* Deprecated directives (or yet to be implemented). */
|
||||
7 => array(
|
||||
'.global', '.check'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
// '[', ']', '(', ')', '{', '}', // These are already defined by GeSHi as BRACKETS.
|
||||
'*=', '#', '<', '>', '`', '=', '<', '>',
|
||||
'!=', '>=', '<=', '+', '-', '*', '/', '//', '|',
|
||||
'^', '&', '<<', '>>', '-', '~', '!',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false,
|
||||
6 => false,
|
||||
7 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #00f; font-weight:bold;',
|
||||
2 => 'color: #00f; font-weight:bold;',
|
||||
3 => 'color: #080; font-weight:bold;',
|
||||
4 => 'color: #f00; font-weight:bold;',
|
||||
5 => 'color: #80f; font-weight:bold;',
|
||||
6 => 'color: #f08; font-weight:bold;',
|
||||
7 => 'color: #a04; font-weight:bold; font-style: italic;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #999; font-style: italic;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #009; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
GESHI_NUMBER_INT_BASIC => 'color: #f00;',
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR => 'color: #f00;',
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT => 'color: #f00;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => '',
|
||||
7 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC |
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR |
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT,
|
||||
// AMCE Octal format not support and gets picked up as Decimal unfortunately.
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 8,
|
||||
'PARSER_CONTROL' => array(
|
||||
'NUMBERS' => array(
|
||||
'PRECHECK_RX' => '/[\da-fA-F\.\$\%]/'
|
||||
)
|
||||
)
|
||||
);
|
166
serendipity_event_geshi/geshi/68000devpac.php
Normal file
166
serendipity_event_geshi/geshi/68000devpac.php
Normal file
|
@ -0,0 +1,166 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* 68000devpac.php
|
||||
* -------
|
||||
* Author: Warren Willmey
|
||||
* Copyright: (c) 2010 Warren Willmey.
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/09
|
||||
*
|
||||
* Motorola 68000 - HiSoft Devpac ST 2 Assembler language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/07/22
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2010/07/22)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Motorola 68000 - HiSoft Devpac ST 2 Assembler format',
|
||||
'COMMENT_SINGLE' => array(1 => ';'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
/* Directives. */
|
||||
1 => array(
|
||||
'end', 'include', 'incbin', 'opt', 'even', 'cnop', 'dc.b', 'dc.w',
|
||||
'dc.l', 'ds.b', 'ds.w', 'ds.l', 'dcb.b', 'dcb.w', 'dcb.l',
|
||||
'fail', 'output', '__g2', 'rept', 'endr', 'list', 'nolist', 'plen',
|
||||
'llen', 'ttl', 'subttl', 'spc', 'page', 'listchar', 'format',
|
||||
'equ', 'equr', 'set', 'reg', 'rs.b', 'rs.w', 'rs.l', 'rsreset',
|
||||
'rsset', '__rs', 'ifeq', 'ifne', 'ifgt', 'ifge', 'iflt', 'ifle', 'endc',
|
||||
'ifd', 'ifnd', 'ifc', 'ifnc', 'elseif', 'iif', 'macro', 'endm', 'mexit',
|
||||
'narg', '\@', 'section', 'text', 'data', 'bss', 'xdef', 'xref', 'org',
|
||||
'offset', '__lk', 'comment',
|
||||
),
|
||||
/* 68000 Opcodes. */
|
||||
2 => array(
|
||||
'abcd', 'add', 'adda', 'addi', 'addq', 'addx', 'and', 'andi',
|
||||
'asl', 'asr', 'bcc', 'bchg', 'bclr', 'bcs', 'beq', 'bge',
|
||||
'bgt', 'bhi', 'ble', 'bls', 'blt', 'bmi', 'bne', 'bpl',
|
||||
'bra', 'bset', 'bsr', 'btst', 'bvc', 'bvs', 'chk', 'clr',
|
||||
'cmp', 'cmpa', 'cmpi', 'cmpm', 'dbcc', 'dbcs', 'dbeq', 'dbf',
|
||||
'dbge', 'dbgt', 'dbhi', 'dble', 'dbls', 'dblt', 'dbmi', 'dbne',
|
||||
'dbpl', 'dbra', 'dbt', 'dbvc', 'dbvs', 'divs', 'divu', 'eor',
|
||||
'eori', 'exg', 'ext','illegal','jmp', 'jsr', 'lea', 'link',
|
||||
'lsl', 'lsr', 'move','movea','movem','movep','moveq', 'muls',
|
||||
'mulu', 'nbcd', 'neg', 'negx', 'nop', 'not', 'or', 'ori',
|
||||
'pea', 'reset', 'rol', 'ror', 'roxl', 'roxr', 'rte', 'rtr',
|
||||
'rts', 'sbcd', 'scc', 'scs', 'seq', 'sf', 'sge', 'sgt',
|
||||
'shi', 'sle', 'sls', 'slt', 'smi', 'sne', 'spl', 'st',
|
||||
'stop', 'sub', 'suba', 'subi', 'subq', 'subx', 'svc', 'svs',
|
||||
'swap', 'tas', 'trap','trapv', 'tst', 'unlk',
|
||||
),
|
||||
/* oprand sizes. */
|
||||
3 => array(
|
||||
'b', 'w', 'l' , 's'
|
||||
),
|
||||
/* 68000 Registers. */
|
||||
4 => array(
|
||||
'd0', 'd1', 'd2', 'd3', 'd4', 'd5', 'd6', 'd7',
|
||||
'a0', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'sp', 'usp', 'ssp',
|
||||
'pc', 'ccr', 'sr',
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
// '[', ']', '(', ')', '{', '}', // These are already defined by GeSHi as BRACKETS.
|
||||
'+', '-', '~', '<<', '>>', '&',
|
||||
'!', '^', '*', '/', '=', '<', '>',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #f08; font-weight:bold;',
|
||||
2 => 'color: #00f; font-weight:bold;',
|
||||
3 => 'color: #00f; font-weight:bold;',
|
||||
4 => 'color: #080; font-weight:bold;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #999; font-style: italic;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #009; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
GESHI_NUMBER_INT_BASIC => 'color: #f00;',
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR => 'color: #f00;',
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT => 'color: #f00;',
|
||||
GESHI_NUMBER_OCT_PREFIX_AT => 'color: #f00;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #933;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC |
|
||||
GESHI_NUMBER_HEX_PREFIX_DOLLAR |
|
||||
GESHI_NUMBER_OCT_PREFIX_AT |
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT,
|
||||
'REGEXPS' => array(
|
||||
//Labels may end in a colon.
|
||||
0 => '(?<=\A\x20|\r|\n|^)[\._a-zA-Z][\._a-zA-Z0-9]*[\:]?[\s]'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 8,
|
||||
'PARSER_CONTROL' => array(
|
||||
'NUMBERS' => array(
|
||||
'PRECHECK_RX' => '/[\da-fA-F\.\$\%\@]/'
|
||||
)
|
||||
)
|
||||
);
|
File diff suppressed because it is too large
Load diff
|
@ -1,957 +0,0 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* actionscript.php
|
||||
* ----------------
|
||||
* Author: Steffen Krause (Steffen.krause@muse.de)
|
||||
* Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.7.4
|
||||
* CVS Revision Version:
|
||||
* Date Started: 2004/06/20
|
||||
* Last Modified:
|
||||
*
|
||||
* Actionscript language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2005/08/25 (1.0.2)
|
||||
* Author [ NikO ] - http://niko.informatif.org
|
||||
* - add full link for myInstance.methods to http://wiki.media-box.net/documentation/flash
|
||||
* 2004/11/27 (1.0.1)
|
||||
* - Added support for multiple object splitters
|
||||
* 2004/10/27 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2004/11/27)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Actionscript',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'#include',
|
||||
'for',
|
||||
'foreach',
|
||||
'if',
|
||||
'elseif',
|
||||
'else',
|
||||
'while',
|
||||
'do',
|
||||
'dowhile',
|
||||
'endwhile',
|
||||
'endif',
|
||||
'switch',
|
||||
'case',
|
||||
'endswitch',
|
||||
'break',
|
||||
'continue',
|
||||
'in',
|
||||
'null',
|
||||
'false',
|
||||
'true',
|
||||
'var',
|
||||
'default',
|
||||
'new',
|
||||
'_global',
|
||||
'undefined',
|
||||
'super'
|
||||
),
|
||||
2 => array(
|
||||
'static',
|
||||
'private',
|
||||
'public',
|
||||
'class',
|
||||
'extends',
|
||||
'implements',
|
||||
'import',
|
||||
'return',
|
||||
'trace',
|
||||
'_quality',
|
||||
'_root',
|
||||
'set',
|
||||
'setInterval',
|
||||
'setProperty',
|
||||
'stopAllSounds',
|
||||
'targetPath',
|
||||
'this',
|
||||
'typeof',
|
||||
'unescape',
|
||||
'updateAfterEvent'
|
||||
),
|
||||
3 => array (
|
||||
'Accessibility',
|
||||
'Array',
|
||||
'Boolean',
|
||||
'Button',
|
||||
'Camera',
|
||||
'Color',
|
||||
'ContextMenuItem',
|
||||
'ContextMenu',
|
||||
'Cookie',
|
||||
'Date',
|
||||
'Error',
|
||||
'function',
|
||||
'FWEndCommand',
|
||||
'FWJavascript',
|
||||
'Key',
|
||||
'LoadMovieNum',
|
||||
'LoadMovie',
|
||||
'LoadVariablesNum',
|
||||
'LoadVariables',
|
||||
'LoadVars',
|
||||
'LocalConnection',
|
||||
'Math',
|
||||
'Microphone',
|
||||
'MMExecute',
|
||||
'MMEndCommand',
|
||||
'MMSave',
|
||||
'Mouse',
|
||||
'MovieClipLoader',
|
||||
'MovieClip',
|
||||
'NetConnexion',
|
||||
'NetStream',
|
||||
'Number',
|
||||
'Object',
|
||||
'printAsBitmapNum',
|
||||
'printNum',
|
||||
'printAsBitmap',
|
||||
'printJob',
|
||||
'print',
|
||||
'Selection',
|
||||
'SharedObject',
|
||||
'Sound',
|
||||
'Stage',
|
||||
'String',
|
||||
'System',
|
||||
'TextField',
|
||||
'TextFormat',
|
||||
'Tween',
|
||||
'Video',
|
||||
'XMLUI',
|
||||
'XMLNode',
|
||||
'XMLSocket',
|
||||
'XML'
|
||||
),
|
||||
4 => array (
|
||||
'isactive',
|
||||
'updateProperties'
|
||||
),
|
||||
5 => array (
|
||||
'callee',
|
||||
'caller',
|
||||
),
|
||||
6 => array (
|
||||
'concat',
|
||||
'join',
|
||||
'pop',
|
||||
'push',
|
||||
'reverse',
|
||||
'shift',
|
||||
'slice',
|
||||
'sort',
|
||||
'sortOn',
|
||||
'splice',
|
||||
'toString',
|
||||
'unshift'
|
||||
),
|
||||
7 => array (
|
||||
'valueOf'
|
||||
),
|
||||
8 => array (
|
||||
'onDragOut',
|
||||
'onDragOver',
|
||||
'onKeyUp',
|
||||
'onKillFocus',
|
||||
'onPress',
|
||||
'onRelease',
|
||||
'onReleaseOutside',
|
||||
'onRollOut',
|
||||
'onRollOver',
|
||||
'onSetFocus'
|
||||
),
|
||||
9 => array (
|
||||
'setMode',
|
||||
'setMotionLevel',
|
||||
'setQuality',
|
||||
'activityLevel',
|
||||
'bandwidth',
|
||||
'currentFps',
|
||||
'fps',
|
||||
'index',
|
||||
'motionLevel',
|
||||
'motionTimeOut',
|
||||
'muted',
|
||||
'names',
|
||||
'quality',
|
||||
'onActivity',
|
||||
'onStatus'
|
||||
),
|
||||
10 => array (
|
||||
'getRGB',
|
||||
'setRGB',
|
||||
'getTransform',
|
||||
'setTransform'
|
||||
),
|
||||
11 => array (
|
||||
'caption',
|
||||
'enabled',
|
||||
'separatorBefore',
|
||||
'visible',
|
||||
'onSelect'
|
||||
),
|
||||
12 => array (
|
||||
'setCookie',
|
||||
'getcookie'
|
||||
),
|
||||
13 => array (
|
||||
'hideBuiltInItems',
|
||||
'builtInItems',
|
||||
'customItems',
|
||||
'onSelect'
|
||||
),
|
||||
14 => array (
|
||||
'CustomActions.get',
|
||||
'CustomActions.install',
|
||||
'CustomActions.list',
|
||||
'CustomActions.uninstall',
|
||||
),
|
||||
15 => array (
|
||||
'getDate',
|
||||
'getDay',
|
||||
'getFullYear',
|
||||
'getHours',
|
||||
'getMilliseconds',
|
||||
'getMinutes',
|
||||
'getMonth',
|
||||
'getSeconds',
|
||||
'getTime',
|
||||
'getTimezoneOffset',
|
||||
'getUTCDate',
|
||||
'getUTCDay',
|
||||
'getUTCFullYear',
|
||||
'getUTCHours',
|
||||
'getUTCMinutes',
|
||||
'getUTCMilliseconds',
|
||||
'getUTCMonth',
|
||||
'getUTCSeconds',
|
||||
'getYear',
|
||||
'setDate',
|
||||
'setFullYear',
|
||||
'setHours',
|
||||
'setMilliseconds',
|
||||
'setMinutes',
|
||||
'setMonth',
|
||||
'setSeconds',
|
||||
'setTime',
|
||||
'setUTCDate',
|
||||
'setUTCDay',
|
||||
'setUTCFullYear',
|
||||
'setUTCHours',
|
||||
'setUTCMinutes',
|
||||
'setUTCMilliseconds',
|
||||
'setUTCMonth',
|
||||
'setUTCSeconds',
|
||||
'setYear',
|
||||
'UTC'
|
||||
),
|
||||
16 => array (
|
||||
'message',
|
||||
'name',
|
||||
'throw',
|
||||
'try',
|
||||
'catch',
|
||||
'finally'
|
||||
),
|
||||
17 => array (
|
||||
'apply',
|
||||
'call'
|
||||
),
|
||||
18 => array (
|
||||
'BACKSPACE',
|
||||
'CAPSLOCK',
|
||||
'CONTROL',
|
||||
'DELETEKEY',
|
||||
'DOWN',
|
||||
'END',
|
||||
'ENTER',
|
||||
'ESCAPE',
|
||||
'getAscii',
|
||||
'getCode',
|
||||
'HOME',
|
||||
'INSERT',
|
||||
'isDown',
|
||||
'isToggled',
|
||||
'LEFT',
|
||||
'onKeyDown',
|
||||
'onKeyUp',
|
||||
'PGDN',
|
||||
'PGUP',
|
||||
'RIGHT',
|
||||
'SPACE',
|
||||
'TAB',
|
||||
'UP'
|
||||
),
|
||||
19 => array (
|
||||
'addRequestHeader',
|
||||
'contentType',
|
||||
'decode'
|
||||
),
|
||||
20 => array (
|
||||
'allowDomain',
|
||||
'allowInsecureDomain',
|
||||
'close',
|
||||
'domain'
|
||||
),
|
||||
21 => array (
|
||||
'abs',
|
||||
'acos',
|
||||
'asin',
|
||||
'atan',
|
||||
'atan2',
|
||||
'ceil',
|
||||
'cos',
|
||||
'exp',
|
||||
'floor',
|
||||
'log',
|
||||
'LN2',
|
||||
'LN10',
|
||||
'LOG2E',
|
||||
'LOG10E',
|
||||
'max',
|
||||
'min',
|
||||
'PI',
|
||||
'pow',
|
||||
'random',
|
||||
'sin',
|
||||
'SQRT1_2',
|
||||
'sqrt',
|
||||
'tan',
|
||||
'round',
|
||||
'SQRT2'
|
||||
),
|
||||
22 => array (
|
||||
'activityLevel',
|
||||
'muted',
|
||||
'names',
|
||||
'onActivity',
|
||||
'onStatus',
|
||||
'setRate',
|
||||
'setGain',
|
||||
'gain',
|
||||
'rate',
|
||||
'setSilenceLevel',
|
||||
'setUseEchoSuppression',
|
||||
'silenceLevel',
|
||||
'silenceTimeOut',
|
||||
'useEchoSuppression'
|
||||
),
|
||||
23 => array (
|
||||
'hide',
|
||||
'onMouseDown',
|
||||
'onMouseMove',
|
||||
'onMouseUp',
|
||||
'onMouseWeel',
|
||||
'show'
|
||||
),
|
||||
24 => array (
|
||||
'_alpha',
|
||||
'attachAudio',
|
||||
'attachMovie',
|
||||
'beginFill',
|
||||
'beginGradientFill',
|
||||
'clear',
|
||||
'createEmptyMovieClip',
|
||||
'createTextField',
|
||||
'_current',
|
||||
'curveTo',
|
||||
'_dropTarget',
|
||||
'duplicateMovieClip',
|
||||
'endFill',
|
||||
'focusEnabled',
|
||||
'enabled',
|
||||
'_focusrec',
|
||||
'_framesLoaded',
|
||||
'getBounds',
|
||||
'getBytesLoaded',
|
||||
'getBytesTotal',
|
||||
'getDepth',
|
||||
'getInstanceAtDepth',
|
||||
'getNextHighestDepth',
|
||||
'getSWFVersion',
|
||||
'getTextSnapshot',
|
||||
'getURL',
|
||||
'globalToLocal',
|
||||
'gotoAndPlay',
|
||||
'gotoAndStop',
|
||||
'_height',
|
||||
'hitArea',
|
||||
'hitTest',
|
||||
'lineStyle',
|
||||
'lineTo',
|
||||
'localToGlobal',
|
||||
'_lockroot',
|
||||
'menu',
|
||||
'onUnload',
|
||||
'_parent',
|
||||
'play',
|
||||
'prevFrame',
|
||||
'_quality',
|
||||
'removeMovieClip',
|
||||
'_rotation',
|
||||
'setMask',
|
||||
'_soundbuftime',
|
||||
'startDrag',
|
||||
'stopDrag',
|
||||
'stop',
|
||||
'swapDepths',
|
||||
'tabChildren',
|
||||
'_target',
|
||||
'_totalFrames',
|
||||
'trackAsMenu',
|
||||
'unloadMovie',
|
||||
'useHandCursor',
|
||||
'_visible',
|
||||
'_width',
|
||||
'_xmouse',
|
||||
'_xscale',
|
||||
'_x',
|
||||
'_ymouse',
|
||||
'_yscale',
|
||||
'_y'
|
||||
),
|
||||
25 => array (
|
||||
'getProgress',
|
||||
'loadClip',
|
||||
'onLoadComplete',
|
||||
'onLoadError',
|
||||
'onLoadInit',
|
||||
'onLoadProgress',
|
||||
'onLoadStart'
|
||||
),
|
||||
26 => array (
|
||||
'bufferLength',
|
||||
'currentFps',
|
||||
'seek',
|
||||
'setBufferTime',
|
||||
'bufferTime',
|
||||
'time',
|
||||
'pause'
|
||||
),
|
||||
27 => array (
|
||||
'MAX_VALUE',
|
||||
'MIN_VALUE',
|
||||
'NEGATIVE_INFINITY',
|
||||
'POSITIVE_INFINITY'
|
||||
),
|
||||
28 => array (
|
||||
'addProperty',
|
||||
'constructor',
|
||||
'__proto__',
|
||||
'registerClass',
|
||||
'__resolve',
|
||||
'unwatch',
|
||||
'watch',
|
||||
'onUpDate'
|
||||
),
|
||||
29 => array (
|
||||
'addPage'
|
||||
),
|
||||
30 => array (
|
||||
'getBeginIndex',
|
||||
'getCaretIndex',
|
||||
'getEndIndex',
|
||||
'setSelection'
|
||||
),
|
||||
31 => array (
|
||||
'flush',
|
||||
'getLocal',
|
||||
'getSize'
|
||||
),
|
||||
32 => array (
|
||||
'attachSound',
|
||||
'duration',
|
||||
'getPan',
|
||||
'getVolume',
|
||||
'onID3',
|
||||
'loadSound',
|
||||
'id3',
|
||||
'onSoundComplete',
|
||||
'position',
|
||||
'setPan',
|
||||
'setVolume'
|
||||
),
|
||||
33 => array (
|
||||
'getBeginIndex',
|
||||
'getCaretIndex',
|
||||
'getEndIndex',
|
||||
'setSelection'
|
||||
),
|
||||
34 => array (
|
||||
'getEndIndex',
|
||||
),
|
||||
35 => array (
|
||||
'align',
|
||||
'height',
|
||||
'width',
|
||||
'onResize',
|
||||
'scaleMode',
|
||||
'showMenu'
|
||||
),
|
||||
36 => array (
|
||||
'charAt',
|
||||
'charCodeAt',
|
||||
'concat',
|
||||
'fromCharCode',
|
||||
'indexOf',
|
||||
'lastIndexOf',
|
||||
'substr',
|
||||
'substring',
|
||||
'toLowerCase',
|
||||
'toUpperCase'
|
||||
),
|
||||
37 => array (
|
||||
'avHardwareDisable',
|
||||
'hasAccessibility',
|
||||
'hasAudioEncoder',
|
||||
'hasAudio',
|
||||
'hasEmbeddedVideo',
|
||||
'hasMP3',
|
||||
'hasPrinting',
|
||||
'hasScreenBroadcast',
|
||||
'hasScreenPlayback',
|
||||
'hasStreamingAudio',
|
||||
'hasStreamingVideo',
|
||||
'hasVideoEncoder',
|
||||
'isDebugger',
|
||||
'language',
|
||||
'localFileReadDisable',
|
||||
'manufacturer',
|
||||
'os',
|
||||
'pixelAspectRatio',
|
||||
'playerType',
|
||||
'screenColor',
|
||||
'screenDPI',
|
||||
'screenResolutionX',
|
||||
'screenResolutionY',
|
||||
'serverString',
|
||||
'version'
|
||||
),
|
||||
38 => array (
|
||||
'allowDomain',
|
||||
'allowInsecureDomain',
|
||||
'loadPolicyFile'
|
||||
),
|
||||
39 => array (
|
||||
'exactSettings',
|
||||
'setClipboard',
|
||||
'showSettings',
|
||||
'useCodepage'
|
||||
),
|
||||
40 => array (
|
||||
'getStyle',
|
||||
'getStyleNames',
|
||||
'parseCSS',
|
||||
'setStyle',
|
||||
'transform'
|
||||
),
|
||||
41 => array (
|
||||
'autoSize',
|
||||
'background',
|
||||
'backgroundColor',
|
||||
'border',
|
||||
'borderColor',
|
||||
'bottomScroll',
|
||||
'condenseWhite',
|
||||
'embedFonts',
|
||||
'getFontList',
|
||||
'getNewTextFormat',
|
||||
'getTextFormat',
|
||||
'hscroll',
|
||||
'htmlText',
|
||||
'html',
|
||||
'maxChars',
|
||||
'maxhscroll',
|
||||
'maxscroll',
|
||||
'mouseWheelEnabled',
|
||||
'multiline',
|
||||
'onScroller',
|
||||
'password',
|
||||
'removeTextField',
|
||||
'replaceSel',
|
||||
'replaceText',
|
||||
'restrict',
|
||||
'scroll',
|
||||
'selectable',
|
||||
'setNewTextFormat',
|
||||
'setTextFormat',
|
||||
'styleSheet',
|
||||
'tabEnabled',
|
||||
'tabIndex',
|
||||
'textColor',
|
||||
'textHeight',
|
||||
'textWidth',
|
||||
'text',
|
||||
'type',
|
||||
'_url',
|
||||
'variable',
|
||||
'wordWrap'
|
||||
),
|
||||
42 => array (
|
||||
'blockIndent',
|
||||
'bold',
|
||||
'bullet',
|
||||
'font',
|
||||
'getTextExtent',
|
||||
'indent',
|
||||
'italic',
|
||||
'leading',
|
||||
'leftMargin',
|
||||
'rightMargin',
|
||||
'size',
|
||||
'tabStops',
|
||||
'underline'
|
||||
),
|
||||
43 => array (
|
||||
'findText',
|
||||
'getCount',
|
||||
'getSelected',
|
||||
'getSelectedText',
|
||||
'getText',
|
||||
'hitTestTextNearPos',
|
||||
'setSelectColor',
|
||||
'setSelected'
|
||||
),
|
||||
44 => array (
|
||||
'begin',
|
||||
'change',
|
||||
'continueTo',
|
||||
'fforward',
|
||||
'finish',
|
||||
'func',
|
||||
'FPS',
|
||||
'getPosition',
|
||||
'isPlaying',
|
||||
'looping',
|
||||
'obj',
|
||||
'onMotionChanged',
|
||||
'onMotionFinished',
|
||||
'onMotionLooped',
|
||||
'onMotionStarted',
|
||||
'onMotionResumed',
|
||||
'onMotionStopped',
|
||||
'prop',
|
||||
'rewind',
|
||||
'resume',
|
||||
'setPosition',
|
||||
'time',
|
||||
'userSeconds',
|
||||
'yoyo'
|
||||
),
|
||||
45 => array (
|
||||
'attachVideo',
|
||||
'deblocking',
|
||||
'smoothing'
|
||||
),
|
||||
46 => array (
|
||||
'addRequestHeader',
|
||||
'appendChild',
|
||||
'attributes',
|
||||
'childNodes',
|
||||
'cloneNode',
|
||||
'contentType',
|
||||
'createElement',
|
||||
'createTextNode',
|
||||
'docTypeDecl',
|
||||
'firstChild',
|
||||
'hasChildNodes',
|
||||
'ignoreWhite',
|
||||
'insertBefore',
|
||||
'lastChild',
|
||||
'nextSibling',
|
||||
'nodeName',
|
||||
'nodeType',
|
||||
'nodeValue',
|
||||
'parentNode',
|
||||
'parseXML',
|
||||
'previousSibling',
|
||||
'removeNode',
|
||||
'xmlDecl'
|
||||
),
|
||||
47 => array (
|
||||
'onClose',
|
||||
'onXML'
|
||||
),
|
||||
48 => array (
|
||||
'add',
|
||||
'and',
|
||||
'_highquality',
|
||||
'chr',
|
||||
'eq',
|
||||
'ge',
|
||||
'ifFrameLoaded',
|
||||
'int',
|
||||
'le',
|
||||
'it',
|
||||
'mbchr',
|
||||
'mblength',
|
||||
'mbord',
|
||||
'ne',
|
||||
'not',
|
||||
'or',
|
||||
'ord',
|
||||
'tellTarget',
|
||||
'toggleHighQuality'
|
||||
),
|
||||
49 => array (
|
||||
'ASSetPropFlags',
|
||||
'ASnative',
|
||||
'ASconstructor',
|
||||
'AsSetupError',
|
||||
'FWEndCommand',
|
||||
'FWJavascript',
|
||||
'MMEndCommand',
|
||||
'MMSave',
|
||||
'XMLUI'
|
||||
),
|
||||
50 => array (
|
||||
'System.capabilities'
|
||||
),
|
||||
51 => array (
|
||||
'System.security'
|
||||
),
|
||||
52 => array (
|
||||
'TextField.StyleSheet'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']', '{', '}', '!', '@', '%', '&', '*', '|', '/', '<', '>','='
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true,
|
||||
7 => true,
|
||||
8 => true,
|
||||
9 => true,
|
||||
10 => true,
|
||||
11 => true,
|
||||
12 => true,
|
||||
13 => true,
|
||||
14 => true,
|
||||
15 => true,
|
||||
16 => true,
|
||||
17 => true,
|
||||
18 => true,
|
||||
19 => true,
|
||||
20 => true,
|
||||
21 => true,
|
||||
22 => true,
|
||||
23 => true,
|
||||
24 => true,
|
||||
25 => true,
|
||||
26 => true,
|
||||
27 => true,
|
||||
28 => true,
|
||||
29 => true,
|
||||
30 => true,
|
||||
31 => true,
|
||||
32 => true,
|
||||
33 => true,
|
||||
34 => true,
|
||||
35 => true,
|
||||
36 => true,
|
||||
37 => true,
|
||||
38 => true,
|
||||
39 => true,
|
||||
40 => true,
|
||||
41 => true,
|
||||
42 => true,
|
||||
43 => true,
|
||||
44 => true,
|
||||
45 => true,
|
||||
46 => true,
|
||||
47 => true,
|
||||
48 => true,
|
||||
49 => true,
|
||||
50 => true,
|
||||
51 => true,
|
||||
52 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000ff;',
|
||||
2 => 'color: #006600;',
|
||||
3 => 'color: #000080;',
|
||||
4 => 'color: #006600;',
|
||||
5 => 'color: #006600;',
|
||||
6 => 'color: #006600;',
|
||||
7 => 'color: #006600;',
|
||||
8 => 'color: #006600;',
|
||||
9 => 'color: #006600;',
|
||||
10 => 'color: #006600;',
|
||||
11 => 'color: #006600;',
|
||||
12 => 'color: #006600;',
|
||||
13 => 'color: #006600;',
|
||||
14 => 'color: #006600;',
|
||||
15 => 'color: #006600;',
|
||||
16 => 'color: #006600;',
|
||||
17 => 'color: #006600;',
|
||||
18 => 'color: #006600;',
|
||||
19 => 'color: #006600;',
|
||||
20 => 'color: #006600;',
|
||||
21 => 'color: #006600;',
|
||||
22 => 'color: #006600;',
|
||||
23 => 'color: #006600;',
|
||||
24 => 'color: #006600;',
|
||||
25 => 'color: #006600;',
|
||||
26 => 'color: #006600;',
|
||||
27 => 'color: #006600;',
|
||||
28 => 'color: #006600;',
|
||||
29 => 'color: #006600;',
|
||||
30 => 'color: #006600;',
|
||||
31 => 'color: #006600;',
|
||||
32 => 'color: #006600;',
|
||||
33 => 'color: #006600;',
|
||||
34 => 'color: #006600;',
|
||||
35 => 'color: #006600;',
|
||||
36 => 'color: #006600;',
|
||||
37 => 'color: #006600;',
|
||||
38 => 'color: #006600;',
|
||||
39 => 'color: #006600;',
|
||||
40 => 'color: #006600;',
|
||||
41 => 'color: #006600;',
|
||||
42 => 'color: #006600;',
|
||||
43 => 'color: #006600;',
|
||||
44 => 'color: #006600;',
|
||||
45 => 'color: #006600;',
|
||||
46 => 'color: #006600;',
|
||||
47 => 'color: #006600;',
|
||||
48 => 'color: #CC0000;',
|
||||
49 => 'color: #5700d1;',
|
||||
50 => 'color: #006600;',
|
||||
51 => 'color: #006600;',
|
||||
52 => 'color: #CC0000;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #ff8000; font-style: italic;',
|
||||
2 => 'color: #ff8000; font-style: italic;',
|
||||
'MULTI' => 'color: #ff8000; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #333333;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #333333; background-color: #eeeeee;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #c50000;'
|
||||
),
|
||||
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #006600;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://wiki.media-box.net/documentation/flash/{FNAME}',
|
||||
2 => 'http://wiki.media-box.net/documentation/flash/{FNAME}',
|
||||
3 => 'http://wiki.media-box.net/documentation/flash/{FNAME}',
|
||||
4 => 'http://wiki.media-box.net/documentation/flash/accessibility/{FNAME}',
|
||||
5 => 'http://wiki.media-box.net/documentation/flash/arguments/{FNAME}',
|
||||
6 => 'http://wiki.media-box.net/documentation/flash/array/{FNAME}',
|
||||
7 => 'http://wiki.media-box.net/documentation/flash/boolean/{FNAME}',
|
||||
8 => 'http://wiki.media-box.net/documentation/flash/button/{FNAME}',
|
||||
9 => 'http://wiki.media-box.net/documentation/flash/camera/{FNAME}',
|
||||
10 => 'http://wiki.media-box.net/documentation/flash/color/{FNAME}',
|
||||
11 => 'http://wiki.media-box.net/documentation/flash/contextmenuitem/{FNAME}',
|
||||
12 => 'http://wiki.media-box.net/documentation/flash/contextmenu/{FNAME}',
|
||||
13 => 'http://wiki.media-box.net/documentation/flash/cookie/{FNAME}',
|
||||
14 => 'http://wiki.media-box.net/documentation/flash/customactions/{FNAME}',
|
||||
15 => 'http://wiki.media-box.net/documentation/flash/date/{FNAME}',
|
||||
16 => 'http://wiki.media-box.net/documentation/flash/error/{FNAME}',
|
||||
17 => 'http://wiki.media-box.net/documentation/flash/function/{FNAME}',
|
||||
18 => 'http://wiki.media-box.net/documentation/flash/key/{FNAME}',
|
||||
19 => 'http://wiki.media-box.net/documentation/flash/loadvars/{FNAME}',
|
||||
20 => 'http://wiki.media-box.net/documentation/flash/localconnection/{FNAME}',
|
||||
21 => 'http://wiki.media-box.net/documentation/flash/math/{FNAME}',
|
||||
22 => 'http://wiki.media-box.net/documentation/flash/microphone/{FNAME}',
|
||||
23 => 'http://wiki.media-box.net/documentation/flash/mouse/{FNAME}',
|
||||
24 => 'http://wiki.media-box.net/documentation/flash/movieclip/{FNAME}',
|
||||
25 => 'http://wiki.media-box.net/documentation/flash/moviecliploader/{FNAME}',
|
||||
26 => 'http://wiki.media-box.net/documentation/flash/netstream/{FNAME}',
|
||||
27 => 'http://wiki.media-box.net/documentation/flash/number/{FNAME}',
|
||||
28 => 'http://wiki.media-box.net/documentation/flash/object/{FNAME}',
|
||||
29 => 'http://wiki.media-box.net/documentation/flash/printJob/{FNAME}',
|
||||
30 => 'http://wiki.media-box.net/documentation/flash/selection/{FNAME}',
|
||||
31 => 'http://wiki.media-box.net/documentation/flash/sharedobject/{FNAME}',
|
||||
32 => 'http://wiki.media-box.net/documentation/flash/sound/{FNAME}',
|
||||
33 => 'http://wiki.media-box.net/documentation/flash/selection/{FNAME}',
|
||||
34 => 'http://wiki.media-box.net/documentation/flash/sharedobject/{FNAME}',
|
||||
35 => 'http://wiki.media-box.net/documentation/flash/stage/{FNAME}',
|
||||
36 => 'http://wiki.media-box.net/documentation/flash/string/{FNAME}',
|
||||
37 => 'http://wiki.media-box.net/documentation/flash/system/capabilities/{FNAME}',
|
||||
38 => 'http://wiki.media-box.net/documentation/flash/system/security/{FNAME}',
|
||||
39 => 'http://wiki.media-box.net/documentation/flash/system/{FNAME}',
|
||||
40 => 'http://wiki.media-box.net/documentation/flash/textfield/stylesheet/{FNAME}',
|
||||
41 => 'http://wiki.media-box.net/documentation/flash/textfield/{FNAME}',
|
||||
42 => 'http://wiki.media-box.net/documentation/flash/textformat/{FNAME}',
|
||||
43 => 'http://wiki.media-box.net/documentation/flash/textsnapshot/{FNAME}',
|
||||
44 => 'http://wiki.media-box.net/documentation/flash/tween/{FNAME}',
|
||||
45 => 'http://wiki.media-box.net/documentation/flash/video/{FNAME}',
|
||||
46 => 'http://wiki.media-box.net/documentation/flash/xml/{FNAME}',
|
||||
47 => 'http://wiki.media-box.net/documentation/flash/xmlsocket/{FNAME}',
|
||||
48 => 'http://wiki.media-box.net/documentation/flash/{FNAME}',
|
||||
49 => 'http://wiki.media-box.net/documentation/flash/{FNAME}',
|
||||
50 => 'http://wiki.media-box.net/documentation/flash/system/capabilities',
|
||||
51 => 'http://wiki.media-box.net/documentation/flash/system/security',
|
||||
52 => 'http://wiki.media-box.net/documentation/flash/textfield/stylesheet'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
||||
|
||||
?>
|
|
@ -4,7 +4,7 @@
|
|||
* ----------------
|
||||
* Author: Steffen Krause (Steffen.krause@muse.de)
|
||||
* Copyright: (c) 2004 Steffen Krause, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/20
|
||||
*
|
||||
* Actionscript language file for GeSHi.
|
||||
|
@ -48,7 +48,7 @@ $language_data = array (
|
|||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'#include', 'for', 'foreach', 'if', 'elseif', 'else', 'while', 'do', 'dowhile',
|
||||
'#include', 'for', 'foreach', 'each', 'if', 'elseif', 'else', 'while', 'do', 'dowhile',
|
||||
'endwhile', 'endif', 'switch', 'case', 'endswitch', 'return', 'break', 'continue', 'in'
|
||||
),
|
||||
2 => array(
|
||||
|
@ -193,5 +193,3 @@ $language_data = array (
|
|||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ----------------
|
||||
* Author: Jordi Boggiano (j.boggiano@seld.be)
|
||||
* Copyright: (c) 2007 Jordi Boggiano (http://www.seld.be/), Benny Baumann (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/11/26
|
||||
*
|
||||
* ActionScript3 language file for GeSHi.
|
||||
|
@ -58,6 +58,10 @@ $language_data = array (
|
|||
'LANG_NAME' => 'ActionScript 3',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Regular expressions
|
||||
2 => "/(?<=[\\s^])(s|tr|y)\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])*(?<!\s)\\/[msixpogcde]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])(m|q[qrwx]?)?\\/(?!\s)(?:\\\\.|(?!\n)[^\\/\\\\])+(?<!\s)\\/[msixpogc]*(?=[\\s$\\.\\,\\;\\)])/iU",
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
|
@ -67,7 +71,8 @@ $language_data = array (
|
|||
'throw', 'this', 'switch', 'super', 'set', 'return', 'public', 'protected',
|
||||
'private', 'null', 'new', 'is', 'internal', 'instanceof', 'in',
|
||||
'import', 'if', 'get', 'for', 'false', 'else', 'each', 'do',
|
||||
'delete', 'default', 'continue', 'catch', 'case', 'break', 'as'
|
||||
'delete', 'default', 'continue', 'catch', 'case', 'break', 'as',
|
||||
'extends', 'override'
|
||||
),
|
||||
2 => array(
|
||||
'var'
|
||||
|
@ -390,7 +395,7 @@ $language_data = array (
|
|||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']', '{', '}', '!', '%', '&', '*', '|', '/', '<', '>', '^', '-', '+', '~', '?', ':'
|
||||
'(', ')', '[', ']', '{', '}', '!', '%', '&', '*', '|', '/', '<', '>', '^', '-', '+', '~', '?', ':', ';', '.', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
|
@ -415,7 +420,8 @@ $language_data = array (
|
|||
8 => 'color: #004993;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #009900;',
|
||||
1 => 'color: #009900; font-style: italic;',
|
||||
2 => 'color: #009966; font-style: italic;',
|
||||
'MULTI' => 'color: #3f5fbf;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
|
@ -434,7 +440,7 @@ $language_data = array (
|
|||
0 => 'color: #000000;',
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000000; font-weight: bold;'
|
||||
0 => 'color: #000066; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
|
@ -446,7 +452,7 @@ $language_data = array (
|
|||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://www.google.com/search?q={FNAMEL}%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:{FNAMEL}.html&filter=0&num=100&btnI=lucky',
|
||||
5 => 'http://www.google.com/search?q={FNAMEL}%20inurl:http://livedocs.adobe.com/flex/201/langref/%20inurl:{FNAMEL}.html',
|
||||
6 => '',
|
||||
7 => '',
|
||||
8 => ''
|
||||
|
@ -463,5 +469,3 @@ $language_data = array (
|
|||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
||||
|
||||
?>
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Tux (tux@inmail.cz)
|
||||
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/07/29
|
||||
*
|
||||
* Ada language file for GeSHi.
|
||||
|
@ -57,14 +57,16 @@ $language_data = array (
|
|||
'goto', 'return'
|
||||
),
|
||||
2 => array(
|
||||
'abs', 'and', 'mod', 'not', 'or', 'rem', 'xor'
|
||||
'abs', 'and', 'at', 'mod', 'not', 'or', 'rem', 'xor'
|
||||
),
|
||||
3 => array(
|
||||
'abort', 'abstract', 'accept', 'access', 'aliased', 'all', 'array', 'at', 'body',
|
||||
'constant', 'delay', 'delta', 'digits', 'entry', 'exit',
|
||||
'function', 'generic', 'in', 'limited', 'new', 'null', 'of', 'others', 'out', 'package', 'pragma',
|
||||
'private', 'procedure', 'protected', 'raise', 'range', 'record', 'renames', 'requeue', 'reverse',
|
||||
'separate', 'subtype', 'tagged', 'task', 'terminate', 'type', 'use', 'when', 'with'
|
||||
'abort', 'abstract', 'accept', 'access', 'aliased', 'all', 'array',
|
||||
'body', 'constant', 'delay', 'delta', 'digits', 'entry', 'exit',
|
||||
'function', 'generic', 'in', 'interface', 'limited', 'new', 'null',
|
||||
'of', 'others', 'out', 'overriding', 'package', 'pragma', 'private',
|
||||
'procedure', 'protected', 'raise', 'range', 'record', 'renames',
|
||||
'requeue', 'reverse', 'separate', 'subtype', 'synchronized',
|
||||
'tagged', 'task', 'terminate', 'type', 'use', 'when', 'with'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -92,9 +94,6 @@ $language_data = array (
|
|||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #7f007f;'
|
||||
),
|
||||
|
@ -129,5 +128,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
316
serendipity_event_geshi/geshi/aimms.php
Normal file
316
serendipity_event_geshi/geshi/aimms.php
Normal file
|
@ -0,0 +1,316 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* aimms.php
|
||||
* --------
|
||||
* Author: Guido Diepen (guido.diepen@aimms.com)
|
||||
* Copyright: (c) 2011 Guido Diepen (http://www.aimms.com)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2011/05/05
|
||||
*
|
||||
* AIMMS language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2004/07/14 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2004/07/14)
|
||||
* -------------------------
|
||||
* * Make sure the last few function I may have missed
|
||||
* (like eval()) are included for highlighting
|
||||
* * Split to several files - php4, php5 etc
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'AIMMS3',
|
||||
'COMMENT_SINGLE' => array(1 => '!'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'HARDQUOTE' => array("'", "'"),
|
||||
'HARDESCAPE' => array("'", "\\"),
|
||||
'HARDCHAR' => "\\",
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'if', 'then', 'else', 'endif', 'elseif', 'for', 'do', 'while' , 'endfor' , 'endwhile', 'break', 'switch', 'endswitch',
|
||||
'display', 'return', 'in', 'apply'
|
||||
|
||||
),
|
||||
2 => array(
|
||||
'main model' , 'declaration section', 'procedure', 'endprocedure', 'endmodel', 'endsection' , 'set', 'parameter',
|
||||
'string parameter', 'element parameter', 'quantity'
|
||||
),
|
||||
3 => array(
|
||||
'identifier', 'index', 'index domain', 'body'
|
||||
),
|
||||
4 => array(
|
||||
'ActiveCard','Card','ConvertUnit','DistributionCumulative','DistributionDensity','DistributionDeviation',
|
||||
'DistributionInverseCumulative','DistributionInverseDensity','DistributionKurtosis','DistributionMean',
|
||||
'DistributionSkewness','DistributionVariance','Element','EvaluateUnit','First','FormatString','Last',
|
||||
'Ord','Unit','Val','Aggregate','AttributeToString','CaseCompareIdentifier','CaseCreateDifferenceFile',
|
||||
'CloseDataSource','CreateTimeTable','ConstraintVariables','ConvertReferenceDate','CloneElement',
|
||||
'FindNthString','FindReplaceNthString','FindReplaceStrings','FindString','StringOccurrences',
|
||||
'CurrentToMoment','CurrentToString','CurrentToTimeSlot','DaylightsavingEndDate','DaylightsavingStartDate',
|
||||
'DeclaredSubset','DomainIndex','IndexRange','IsRunningAsViewer','ListingFileCopy','ListingFileDelete',
|
||||
'DirectoryGetFiles','DirectoryGetSubdirectories','DirectSQL','Disaggregate','ElementCast','ElementRange',
|
||||
'EnvironmentGetString','EnvironmentSetString','errh::Adapt','errh::Attribute','errh::Category',
|
||||
'errh::Code','errh::Column','errh::CreationTime','errh::Filename','errh::InsideCategory',
|
||||
'errh::IsMarkedAsHandled','errh::Line','errh::MarkAsHandled','errh::Message','errh::Multiplicity',
|
||||
'errh::Node','errh::NumberOfLocations','errh::Severity','ExcelAddNewSheet','ExcelAssignParameter',
|
||||
'ExcelAssignSet','ExcelAssignTable','ExcelAssignValue','ExcelClearRange','ExcelCloseWorkbook',
|
||||
'ExcelColumnName','ExcelColumnNumber','ExcelCopyRange','ExcelCreateWorkbook','ExcelDeleteSheet',
|
||||
'ExcelPrint','ExcelRetrieveParameter','ExcelRetrieveSet','ExcelRetrieveTable','ExcelRetrieveValue',
|
||||
'ExcelRunMacro','ExcelSaveWorkbook','ExcelSetActiveSheet','ExcelSetUpdateLinksBehavior',
|
||||
'ExcelSetVisibility','FindUsedElements','GenerateCUT','GMP::Coefficient::Get',
|
||||
'GMP::Coefficient::GetQuadratic','GMP::Coefficient::Set','GMP::Coefficient::SetQuadratic',
|
||||
'GMP::Column::Add','GMP::Column::Delete','GMP::Column::Freeze','GMP::Column::GetLowerbound',
|
||||
'GMP::Column::GetScale','GMP::Column::GetStatus','GMP::Column::GetType','GMP::Column::GetUpperbound',
|
||||
'GMP::Column::SetAsObjective','GMP::Column::SetLowerbound','GMP::Column::SetType',
|
||||
'GMP::Column::SetUpperbound','GMP::Column::Unfreeze','GMP::Instance::AddIntegerEliminationRows',
|
||||
'GMP::Instance::CalculateSubGradient','GMP::Instance::Copy','GMP::Instance::CreateDual',
|
||||
'GMP::Instance::CreateMasterMip','GMP::Instance::CreatePresolved',
|
||||
'GMP::SolverSession::CreateProgressCategory','GMP::Instance::CreateProgressCategory',
|
||||
'GMP::Instance::CreateSolverSession','GMP::Stochastic::CreateBendersRootproblem',
|
||||
'GMP::Instance::Delete','GMP::Instance::DeleteIntegerEliminationRows',
|
||||
'GMP::Instance::DeleteSolverSession','GMP::Instance::FindApproximatelyFeasibleSolution',
|
||||
'GMP::Instance::FixColumns','GMP::Instance::Generate','GMP::Instance::GenerateRobustCounterpart',
|
||||
'GMP::Instance::GenerateStochasticProgram','GMP::SolverSession::GetCallbackInterruptStatus',
|
||||
'GMP::SolverSession::WaitForCompletion','GMP::SolverSession::WaitForSingleCompletion',
|
||||
'GMP::SolverSession::ExecutionStatus','GMP::Instance::GetDirection','GMP::Instance::GetLinearObjective',
|
||||
'GMP::Instance::GetMathematicalProgrammingType','GMP::Instance::GetMemoryUsed',
|
||||
'GMP::Instance::GetNumberOfColumns','GMP::Instance::GetNumberOfIndicatorRows',
|
||||
'GMP::Instance::GetNumberOfIntegerColumns','GMP::Instance::GetNumberOfNonlinearColumns',
|
||||
'GMP::Instance::GetNumberOfNonlinearNonzeros','GMP::Instance::GetNumberOfNonlinearRows',
|
||||
'GMP::Instance::GetNumberOfNonzeros','GMP::Instance::GetNumberOfRows',
|
||||
'GMP::Instance::GetNumberOfSOS1Rows','GMP::Instance::GetNumberOfSOS2Rows',
|
||||
'GMP::Instance::GetObjective','GMP::Instance::GetOptionValue','GMP::Instance::GetSolver',
|
||||
'GMP::Instance::GetSymbolicMathematicalProgram','GMP::Instance::MemoryStatistics',
|
||||
'GMP::Instance::Rename','GMP::Instance::SetCallbackAddCut','GMP::Instance::SetCallbackBranch',
|
||||
'GMP::Instance::SetCallbackHeuristic','GMP::Instance::SetCallbackIncumbent',
|
||||
'GMP::Instance::SetCallbackIterations','GMP::Instance::SetCallbackNewIncumbent',
|
||||
'GMP::Instance::SetCallbackStatusChange','GMP::Instance::SetCutoff','GMP::Instance::SetDirection',
|
||||
'GMP::Instance::SetMathematicalProgrammingType','GMP::Instance::SetSolver','GMP::Instance::Solve',
|
||||
'GMP::Stochastic::GetObjectiveBound','GMP::Stochastic::GetRelativeWeight',
|
||||
'GMP::Stochastic::GetRepresentativeScenario','GMP::Stochastic::UpdateBendersSubproblem',
|
||||
'GMP::Linearization::Add','GMP::Linearization::AddSingle','GMP::Linearization::Delete',
|
||||
'GMP::Linearization::GetDeviation','GMP::Linearization::GetDeviationBound',
|
||||
'GMP::Linearization::GetLagrangeMultiplier','GMP::Linearization::GetType',
|
||||
'GMP::Linearization::GetWeight','GMP::Linearization::RemoveDeviation',
|
||||
'GMP::Linearization::SetDeviationBound','GMP::Linearization::SetType',
|
||||
'GMP::Linearization::SetWeight','GMP::ProgressWindow::DeleteCategory',
|
||||
'GMP::ProgressWindow::DisplayLine','GMP::ProgressWindow::DisplayProgramStatus',
|
||||
'GMP::ProgressWindow::DisplaySolver','GMP::ProgressWindow::DisplaySolverStatus',
|
||||
'GMP::ProgressWindow::FreezeLine','GMP::ProgressWindow::UnfreezeLine',
|
||||
'GMP::QuadraticCoefficient::Get','GMP::QuadraticCoefficient::Set','GMP::Row::Activate',
|
||||
'GMP::Stochastic::AddBendersFeasibilityCut','GMP::Stochastic::AddBendersOptimalityCut',
|
||||
'GMP::Stochastic::BendersFindFeasibilityReference','GMP::Stochastic::MergeSolution',
|
||||
'GMP::Row::Add','GMP::Row::Deactivate','GMP::Row::Delete','GMP::Row::DeleteIndicatorCondition',
|
||||
'GMP::Row::Generate','GMP::Row::GetConvex','GMP::Row::GetIndicatorColumn',
|
||||
'GMP::Row::GetIndicatorCondition','GMP::Row::GetLeftHandSide','GMP::Row::GetRelaxationOnly',
|
||||
'GMP::Row::GetRightHandSide','GMP::Row::GetScale','GMP::Row::GetStatus','GMP::Row::GetType',
|
||||
'GMP::Row::SetConvex','GMP::Row::SetIndicatorCondition','GMP::Row::SetLeftHandSide',
|
||||
'GMP::Row::SetRelaxationOnly','GMP::Row::SetRightHandSide','GMP::Row::SetType',
|
||||
'GMP::Solution::Check','GMP::Solution::Copy','GMP::Solution::Count','GMP::Solution::Delete',
|
||||
'GMP::Solution::DeleteAll','GMP::Solution::GetColumnValue','GMP::Solution::GetCPUSecondsUsed',
|
||||
'GMP::Solution::GetDistance','GMP::Solution::GetFirstOrderDerivative',
|
||||
'GMP::Solution::GetIterationsUsed','GMP::Solution::GetNodesUsed','GMP::Solution::GetLinearObjective',
|
||||
'GMP::Solution::GetMemoryUsed','GMP::Solution::GetObjective','GMP::Solution::GetPenalizedObjective',
|
||||
'GMP::Solution::GetProgramStatus','GMP::Solution::GetRowValue','GMP::Solution::GetSolutionsSet',
|
||||
'GMP::Solution::GetSolverStatus','GMP::Solution::IsDualDegenerated','GMP::Solution::IsInteger',
|
||||
'GMP::Solution::IsPrimalDegenerated','GMP::Solution::SetMIPStartFlag','GMP::Solution::Move',
|
||||
'GMP::Solution::RandomlyGenerate','GMP::Solution::RetrieveFromModel',
|
||||
'GMP::Solution::RetrieveFromSolverSession','GMP::Solution::SendToModel',
|
||||
'GMP::Solution::SendToModelSelection','GMP::Solution::SendToSolverSession',
|
||||
'GMP::Solution::SetIterationCount','GMP::Solution::SetProgramStatus','GMP::Solution::SetSolverStatus',
|
||||
'GMP::Solution::UpdatePenaltyWeights','GMP::Solution::ConstructMean',
|
||||
'GMP::SolverSession::AsynchronousExecute','GMP::SolverSession::Execute',
|
||||
'GMP::SolverSession::Interrupt','GMP::SolverSession::AddLinearization',
|
||||
'GMP::SolverSession::GenerateBranchLowerBound','GMP::SolverSession::GenerateBranchUpperBound',
|
||||
'GMP::SolverSession::GenerateBranchRow','GMP::SolverSession::GenerateCut',
|
||||
'GMP::SolverSession::GenerateBinaryEliminationRow','GMP::SolverSession::GetCPUSecondsUsed',
|
||||
'GMP::SolverSession::GetHost','GMP::SolverSession::GetInstance',
|
||||
'GMP::SolverSession::GetIterationsUsed','GMP::SolverSession::GetNodesLeft',
|
||||
'GMP::SolverSession::GetNodesUsed','GMP::SolverSession::GetNodeNumber',
|
||||
'GMP::SolverSession::GetNodeObjective','GMP::SolverSession::GetNumberOfBranchNodes',
|
||||
'GMP::SolverSession::GetLinearObjective','GMP::SolverSession::GetMemoryUsed',
|
||||
'GMP::SolverSession::GetObjective','GMP::SolverSession::GetOptionValue',
|
||||
'GMP::SolverSession::GetProgramStatus','GMP::SolverSession::GetSolver',
|
||||
'GMP::SolverSession::GetSolverStatus','GMP::SolverSession::RejectIncumbent',
|
||||
'GMP::Event::Create','GMP::Event::Delete','GMP::Event::Reset','GMP::Event::Set',
|
||||
'GMP::SolverSession::SetObjective','GMP::SolverSession::SetOptionValue',
|
||||
'GMP::Instance::SetCPUSecondsLimit','GMP::Instance::SetIterationLimit',
|
||||
'GMP::Instance::SetMemoryLimit','GMP::Instance::SetOptionValue','GMP::Tuning::SolveSingleMPS',
|
||||
'GMP::Tuning::TuneMultipleMPS','GMP::Tuning::TuneSingleGMP',
|
||||
'GMP::Solver::GetAsynchronousSessionsLimit','GMP::Robust::EvaluateAdjustableVariables',
|
||||
'GenerateXML','GetDatasourceProperty','ReadGeneratedXML','ReadXML','ReferencedIdentifiers',
|
||||
'WriteXML','IdentifierAttributes','IdentifierDimension','IsRuntimeIdentifier','IdentifierMemory',
|
||||
'IdentifierMemoryStatistics','IdentifierText','IdentifierType','IdentifierUnit','ScalarValue',
|
||||
'SectionIdentifiers','SubRange','MemoryInUse','CommitTransaction','RollbackTransaction',
|
||||
'MemoryStatistics','me::AllowedAttribute','me::ChangeType','me::ChangeTypeAllowed','me::Children',
|
||||
'me::ChildTypeAllowed','me::Compile','me::Create','me::CreateLibrary','me::Delete','me::ExportNode',
|
||||
'me::GetAttribute','me::ImportLibrary','me::ImportNode','me::IsRunnable','me::Move','me::Parent',
|
||||
'me::Rename','me::SetAttribute','MomentToString','MomentToTimeSlot','OptionGetValue',
|
||||
'OptionGetKeywords','OptionGetString','OptionSetString','OptionSetValue','PeriodToString',
|
||||
'ProfilerContinue','ProfilerPause','ProfilerRestart','RestoreInactiveElements',
|
||||
'RetrieveCurrentVariableValues','SetAddRecursive','SetElementAdd','SetElementRename',
|
||||
'SQLColumnData','SQLCreateConnectionString','SQLDriverName','SQLNumberOfColumns',
|
||||
'SQLNumberOfDrivers','SQLNumberOfTables','SQLNumberOfViews','SQLTableName','SQLViewName',
|
||||
'StartTransaction','StringToElement','StringToMoment','StringToTimeSlot','TestDatabaseColumn',
|
||||
'TestDatabaseTable','TestDataSource','TestDate','TimeslotCharacteristic','TimeslotToMoment',
|
||||
'TimeslotToString','TimeZoneOffset','VariableConstraints','PageOpen','PageOpenSingle','PageClose',
|
||||
'PageGetActive','PageSetFocus','PageGetFocus','PageSetCursor','PageRefreshAll','PageGetChild',
|
||||
'PageGetParent','PageGetNext','PageGetPrevious','PageGetNextInTreeWalk','PageGetUsedIdentifiers',
|
||||
'PageGetTitle','PageGetAll','PageCopyTableToClipboard','PageCopyTableToExcel','PrintPage',
|
||||
'PrintPageCount','PrintStartReport','PrintEndReport','PivotTableReloadState','PivotTableSaveState',
|
||||
'PivotTableDeleteState','FileSelect','FileSelectNew','FileDelete','FileExists','FileCopy',
|
||||
'FileMove','FileView','FileEdit','FilePrint','FileTime','FileTouch','FileAppend','FileGetSize',
|
||||
'DirectorySelect','DirectoryCreate','DirectoryDelete','DirectoryExists','DirectoryCopy',
|
||||
'DirectoryMove','DirectoryGetCurrent','DialogProgress','DialogMessage','DialogError',
|
||||
'StatusMessage','DialogAsk','DialogGetString','DialogGetDate','DialogGetNumber','DialogGetElement',
|
||||
'DialogGetElementByText','DialogGetElementByData','DialogGetPassword','DialogGetColor','CaseNew',
|
||||
'CaseFind','CaseCreate','CaseLoadCurrent','CaseMerge','CaseLoadIntoCurrent','CaseSelect',
|
||||
'CaseSelectNew','CaseSetCurrent','CaseSave','CaseSaveAll','CaseSaveAs','CaseSelectMultiple',
|
||||
'CaseGetChangedStatus','CaseSetChangedStatus','CaseDelete','CaseGetType','CaseGetDatasetReference',
|
||||
'CaseWriteToSingleFile','CaseReadFromSingleFile','DatasetNew','DatasetFind','DatasetCreate',
|
||||
'DatasetLoadCurrent','DatasetMerge','DatasetLoadIntoCurrent','DatasetSelect','DatasetSelectNew',
|
||||
'DatasetSetCurrent','DatasetSave','DatasetSaveAll','DatasetSaveAs','DatasetGetChangedStatus',
|
||||
'DatasetSetChangedStatus','DatasetDelete','DatasetGetCategory','DataFileGetName',
|
||||
'DataFileGetAcronym','DataFileSetAcronym','DataFileGetComment','DataFileSetComment',
|
||||
'DataFileGetPath','DataFileGetTime','DataFileGetOwner','DataFileGetGroup','DataFileReadPermitted',
|
||||
'DataFileWritePermitted','DataFileExists','DataFileCopy','DataCategoryContents','CaseTypeContents',
|
||||
'CaseTypeCategories','Execute','OpenDocument','TestInternetConnection','GeoFindCoordinates',
|
||||
'ShowHelpTopic','Delay','ScheduleAt','ExitAimms','SessionArgument','SessionHasVisibleGUI',
|
||||
'ProjectDeveloperMode','DebuggerBreakpoint','ShowProgressWindow','ShowMessageWindow',
|
||||
'SolverGetControl','SolverReleaseControl','ProfilerStart','DataManagerImport','DataManagerExport',
|
||||
'DataManagerFileNew','DataManagerFileOpen','DataManagerFileGetCurrent','DataImport220',
|
||||
'SecurityGetUsers','SecurityGetGroups','UserColorAdd','UserColorDelete','UserColorGetRGB',
|
||||
'UserColorModify','LicenseNumber','LicenseType','LicenseStartDate','LicenseExpirationDate',
|
||||
'LicenseMaintenanceExpirationDate','VARLicenseExpirationDate','AimmsRevisionString',
|
||||
'VARLicenseCreate','HistogramCreate','HistogramDelete','HistogramSetDomain',
|
||||
'HistogramAddObservation','HistogramGetFrequencies','HistogramGetBounds',
|
||||
'HistogramGetObservationCount','HistogramGetAverage','HistogramGetDeviation',
|
||||
'HistogramGetSkewness','HistogramGetKurtosis','DateDifferenceDays','DateDifferenceYearFraction',
|
||||
'PriceFractional','PriceDecimal','RateEffective','RateNominal','DepreciationLinearLife',
|
||||
'DepreciationLinearRate','DepreciationNonLinearSumOfYear','DepreciationNonLinearLife',
|
||||
'DepreciationNonLinearFactor','DepreciationNonLinearRate','DepreciationSum',
|
||||
'InvestmentConstantPresentValue','InvestmentConstantFutureValue',
|
||||
'InvestmentConstantPeriodicPayment','InvestmentConstantInterestPayment',
|
||||
'InvestmentConstantPrincipalPayment','InvestmentConstantCumulativePrincipalPayment',
|
||||
'InvestmentConstantCumulativeInterestPayment','InvestmentConstantNumberPeriods',
|
||||
'InvestmentConstantRateAll','InvestmentConstantRate','InvestmentVariablePresentValue',
|
||||
'InvestmentVariablePresentValueInperiodic','InvestmentSingleFutureValue',
|
||||
'InvestmentVariableInternalRateReturnAll','InvestmentVariableInternalRateReturn',
|
||||
'InvestmentVariableInternalRateReturnInperiodicAll','InvestmentVariableInternalRateReturnInperiodic',
|
||||
'InvestmentVariableInternalRateReturnModified','SecurityDiscountedPrice',
|
||||
'SecurityDiscountedRedemption','SecurityDiscountedYield','SecurityDiscountedRate',
|
||||
'TreasuryBillPrice','TreasuryBillYield','TreasuryBillBondEquivalent','SecurityMaturityPrice',
|
||||
'SecurityMaturityCouponRate','SecurityMaturityYield','SecurityMaturityAccruedInterest',
|
||||
'SecurityCouponNumber','SecurityCouponPreviousDate','SecurityCouponNextDate','SecurityCouponDays',
|
||||
'SecurityCouponDaysPreSettlement','SecurityCouponDaysPostSettlement','SecurityPeriodicPrice',
|
||||
'SecurityPeriodicRedemption','SecurityPeriodicCouponRate','SecurityPeriodicYieldAll',
|
||||
'SecurityPeriodicYield','SecurityPeriodicAccruedInterest','SecurityPeriodicDuration',
|
||||
'SecurityPeriodicDurationModified','Abs','AtomicUnit','Ceil','Character','CharacterNumber','Cube',
|
||||
'Degrees','Div','Exp','FileRead','Floor','Log','Log10','Mapval','Max','Min','Mod','Power',
|
||||
'Radians','Round','Sign','Sqr','Sqrt','StringCapitalize','StringLength','StringToLower',
|
||||
'StringToUnit','StringToUpper','SubString','Trunc','Binomial','NegativeBinomial','Poisson',
|
||||
'Geometric','HyperGeometric','Uniform','Normal','LogNormal','Triangular','Exponential','Weibull',
|
||||
'Beta','Gamma','Logistic','Pareto','ExtremeValue','Precision','Factorial','Combination',
|
||||
'Permutation','Errorf','Cos','Sin','Tan','ArcCos','ArcSin','ArcTan','Cosh','Sinh','Tanh',
|
||||
'ArcCosh','ArcSinh','ArcTanh'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array(
|
||||
'(', ')', '[', ']', '{', '}',
|
||||
'%', '&', '|', '/',
|
||||
'<', '>', '>=' , '<=', ':=',
|
||||
'=', '-', '+', '*',
|
||||
'.', ','
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000FF;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #404040;',
|
||||
4 => 'color: #990000; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #808080; font-style: italic ',
|
||||
'HARD' => 'color: #808080; font-style: italic'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #008000; font-style: italic;',
|
||||
'MULTI' => 'color: #008000; font-style: italic;'
|
||||
),
|
||||
|
||||
'METHODS' => array(
|
||||
1 => 'color: #004000;',
|
||||
2 => 'color: #004000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;',
|
||||
1 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
0 => '',
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => ''
|
||||
),
|
||||
'ESCAPE_CHAR' => array()
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
328
serendipity_event_geshi/geshi/algol68.php
Normal file
328
serendipity_event_geshi/geshi/algol68.php
Normal file
|
@ -0,0 +1,328 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* algol68.php
|
||||
* --------
|
||||
* Author: Neville Dempsey (NevilleD.sourceforge@sgr-a.net)
|
||||
* Copyright: (c) 2010 Neville Dempsey (https://sourceforge.net/projects/algol68/files/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/04/24
|
||||
*
|
||||
* ALGOL 68 language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/04/24 (1.0.8.8.0)
|
||||
* - First Release - machine generated by http://rosettacode.org/geshi/
|
||||
* 2010/05/24 (1.0.8.8.1)
|
||||
* - #2324 - converted comment detection to RegEx
|
||||
* 2010/06/16 (1.0.8.8.2)
|
||||
* - separate symbols from keywords - quick fix
|
||||
* 2010/06/16 (1.0.8.8.3)
|
||||
* - reverse length order symbols
|
||||
* - Add RegEx for BITS and REAL literals (INT to do)
|
||||
* - recognise LONG and SHORT prefixes to literals
|
||||
* 2010/07/23 (1.0.8.8.4)
|
||||
* - fix errors detected by langcheck.php, eg rm tab, fix indenting, rm duplicate keywords, fix symbols as keywords etc
|
||||
* - removed bulk of local variables from name space.
|
||||
* - unfolded arrays
|
||||
*
|
||||
* TODO (updated yyyy/mm/dd)
|
||||
* -------------------------
|
||||
* - Use "Parser Control" to fix KEYWORD parsing, eg: (INT minus one= -1; print(ABSminus one))
|
||||
* - Parse $FORMATS$ more fully - if possible.
|
||||
* - Pull reserved words from the source of A68G and A68RS
|
||||
* - Pull stdlib PROC/OP/MODE symbols from the soruce of A68G and A68RS
|
||||
* - Pull PROC/OP/MODE extensions from the soruce of A68G and A68RS
|
||||
* - Use RegEx to detect extended precision PROC names, eg 'long long sin' etc
|
||||
* - Use RegEx to detect white space std PROC names, eg 'new line'
|
||||
* - Use RegEx to detect white space ext PROC names, eg 'cgs speed of light'
|
||||
* - Use RegEx to detect BOLD symbols, eg userdefined MODEs and OPs
|
||||
* - Add REgEx for INT literals - Adding INT breaks formatting...
|
||||
* - Adding PIPE as a key word breaks formatting of "|" symbols!!
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
if(!function_exists('geshi_langfile_algol68_vars')) {
|
||||
function geshi_langfile_algol68_vars(){
|
||||
$pre='(?<![0-9a-z_\.])';
|
||||
$post='?(?![0-9a-z]|\.(?:[eE][+\-]?)?\d)';
|
||||
$post=""; # assuming the RegEx is greedy #
|
||||
|
||||
$_="\s*";
|
||||
|
||||
$srad="Rr"; $rrad="[".$srad."]"; # either one digit, OR opt-space in digits #
|
||||
$sbin="0-1"; $rbin="[".$sbin."]"; $_bin=$rbin."(?:[".$sbin."\s]*".$rbin."|)";
|
||||
$snib="0-3"; $rnib="[".$snib."]"; $_nib=$rnib."(?:[".$snib."\s]*".$rnib."|)";
|
||||
$soct="0-7"; $roct="[".$soct."]"; $_oct=$roct."(?:[".$soct."\s]*".$roct."|)";
|
||||
$sdec="0-9"; $rdec="[".$sdec."]"; $_dec=$rdec."(?:[".$sdec."\s]*".$rdec."|)";
|
||||
$shex="0-9A-Fa-f"; $rhex="[".$shex."]"; $_hex=$rhex."(?:[".$shex."\s]*".$rhex."|)";
|
||||
|
||||
# Define BITS: #
|
||||
$prebits=$pre; $postbits=$post;
|
||||
$bl="2".$_.$rrad.$_.$_bin;
|
||||
$bl=$bl."|"."2".$_.$rrad.$_.$_bin;
|
||||
$bl=$bl."|"."4".$_.$rrad.$_.$_nib;
|
||||
$bl=$bl."|"."8".$_.$rrad.$_.$_oct;
|
||||
$bl=$bl."|"."1".$_."0".$_.$rrad.$_.$_dec;
|
||||
$bl=$bl."|"."1".$_."6".$_.$rrad.$_.$_hex;
|
||||
|
||||
# Define INT: #
|
||||
$preint=$pre; $postint=$post;
|
||||
# for some reason ".0 e - 2" is not recognised, but ".0 e + 2" IS!
|
||||
# work around: remove spaces between sign and digits! Maybe because
|
||||
# of the Unary '-' Operator
|
||||
$sign_="(?:-|\-|[-]|[\-]|\+|)"; # attempts # // FIXME: This should be used or removed. Assignment beneath
|
||||
|
||||
$sign_="(?:-\s*|\+\s*|)"; # n.b. sign is followed by white space #
|
||||
|
||||
$_int=$sign_.$_dec;
|
||||
$il= $_int; # +_9 #
|
||||
|
||||
//$GESHI_NUMBER_INT_BASIC='(?:(?<![0-9a-z_\.%])|(?<=\.\.))(?<![\d\.]e[+\-])([1-9]\d*?|0)(?![0-9a-z]|\.(?:[eE][+\-]?)?\d)';
|
||||
|
||||
# Define REAL: #
|
||||
$prereal=$pre; $postreal=$post;
|
||||
$sexp="Ee\\\\"; $_exp="(?:⏨|[".$sexp."])".$_.$_int;
|
||||
$_decimal="[.]".$_.$_dec;
|
||||
|
||||
# Add permitted permutations of various parts #
|
||||
$rl= $_int.$_.$_decimal.$_.$_exp; # +_9_._9_e_+_9 #
|
||||
$rl=$rl."|".$_int.$_."[.]".$_.$_exp; # +_9_.___e_+_9 #
|
||||
$rl=$rl."|".$_int.$_.$_exp; # +_9_____e_+_9 #
|
||||
$rl=$rl."|".$sign_.$_decimal.$_.$_exp; # +___._9_e_+_9 #
|
||||
|
||||
$rl=$rl."|".$_int.$_.$_decimal; # +_9_._9 #
|
||||
$rl=$rl."|".$sign_.$_decimal; # +___._9 #
|
||||
|
||||
# The following line damaged formatting...
|
||||
#$rl=$rl."|".$_int; # +_9 #
|
||||
|
||||
# Apparently Algol68 does not support '2.', c.f. Algol 68G
|
||||
#$rl=$rl."|".$_int.$_."[.]"; # +_9_. #
|
||||
|
||||
# Literal prefixes are overridden by KEYWORDS :-(
|
||||
$LONGS="(?:(?:(LONG\s+)*|(SHORT\s+))*|)";
|
||||
|
||||
return array(
|
||||
"BITS" => $prebits.$LONGS."(?:".$bl.")".$postbits,
|
||||
"INT" => $preint.$LONGS."(?:".$il.")".$postint,
|
||||
"REAL" => $prereal.$LONGS."(?:".$rl.")".$postreal,
|
||||
|
||||
"BOLD" => 'color: #b1b100; font-weight: bold;',
|
||||
"ITALIC" => 'color: #b1b100;', # procedures traditionally italic #
|
||||
"NONSTD" => 'color: #FF0000; font-weight: bold;', # RED #
|
||||
"COMMENT" => 'color: #666666; font-style: italic;'
|
||||
);
|
||||
}
|
||||
}
|
||||
$a68=geshi_langfile_algol68_vars();
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'ALGOL 68',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(
|
||||
'¢' => '¢',
|
||||
'£' => '£',
|
||||
'#' => '#',
|
||||
),
|
||||
'COMMENT_REGEXP' => array(
|
||||
1 => '/\bCO((?:MMENT)?)\b.*?\bCO\\1\b/i',
|
||||
2 => '/\bPR((?:AGMAT)?)\b.*?\bPR\\1\b/i',
|
||||
3 => '/\bQUOTE\b.*?\bQUOTE\b/i'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '"',
|
||||
'NUMBERS' => GESHI_NUMBER_HEX_SUFFIX, # Warning: Feature!! #
|
||||
# GESHI_NUMBER_HEX_SUFFIX, # Attempt ignore default #
|
||||
'KEYWORDS' => array(
|
||||
# Extensions
|
||||
1 => array('KEEP', 'FINISH', 'USE', 'SYSPROCS', 'IOSTATE', 'USING', 'ENVIRON', 'PROGRAM', 'CONTEXT'),
|
||||
# 2 => array('CASE', 'IN', 'OUSE', 'IN', 'OUT', 'ESAC', '(', '|', '|:', ')', 'FOR', 'FROM', 'TO', 'BY', 'WHILE', 'DO', 'OD', 'IF', 'THEN', 'ELIF', 'THEN', 'ELSE', 'FI', 'PAR', 'BEGIN', 'EXIT', 'END', 'GO', 'GOTO', 'FORALL', 'UPTO', 'DOWNTO', 'FOREACH', 'ASSERT'), #
|
||||
2 => array('CASE', 'IN', 'OUSE', /* 'IN',*/ 'OUT', 'ESAC', 'PAR', 'BEGIN', 'EXIT', 'END', 'GO TO', 'GOTO', 'FOR', 'FROM', 'TO', 'BY', 'WHILE', 'DO', 'OD', 'IF', 'THEN', 'ELIF', /* 'THEN',*/ 'ELSE', 'FI' ),
|
||||
3 => array('BITS', 'BOOL', 'BYTES', 'CHAR', 'COMPL', 'INT', 'REAL', 'SEMA', 'STRING', 'VOID'),
|
||||
4 => array('MODE', 'OP', 'PRIO', 'PROC', 'FLEX', 'HEAP', 'LOC', 'REF', 'LONG', 'SHORT', 'EITHER'),
|
||||
# Extensions or deprecated keywords
|
||||
# 'PIPE': keyword somehow interferes with the internal operation of GeSHi
|
||||
5 => array('FORALL', 'UPTO', 'DOWNTO', 'FOREACH', 'ASSERT', 'CTB', 'CT', 'CTAB', 'COMPLEX', 'VECTOR', 'SOUND' /*, 'PIPE'*/),
|
||||
6 => array('CHANNEL', 'FILE', 'FORMAT', 'STRUCT', 'UNION', 'OF'),
|
||||
# '(', '|', '|:', ')', #
|
||||
# 7 => array('OF', 'AT', '@', 'IS', ':=:', 'ISNT', ':/=:', ':≠:', 'CTB', 'CT', '::', 'CTAB', '::=', 'TRUE', 'FALSE', 'EMPTY', 'NIL', '○', 'SKIP', '~'),
|
||||
7 => array('AT', 'IS', 'ISNT', 'TRUE', 'FALSE', 'EMPTY', 'NIL', 'SKIP'),
|
||||
8 => array('NOT', 'UP', 'DOWN', 'LWB', 'UPB', /* '-',*/ 'ABS', 'ARG', 'BIN', 'ENTIER', 'LENG', 'LEVEL', 'ODD', 'REPR', 'ROUND', 'SHORTEN', 'CONJ', 'SIGN'),
|
||||
# OPERATORS ordered roughtly by PRIORITY #
|
||||
# 9 => array('¬', '↑', '↓', '⌊', '⌈', '~', '⎩', '⎧'),
|
||||
# 10 => array('+*', 'I', '+×', '⊥', '!', '⏨'),
|
||||
10 => array('I'),
|
||||
# 11 => array('SHL', 'SHR', '**', 'UP', 'DOWN', 'LWB', 'UPB', '↑', '↓', '⌊', '⌈', '⎩', '⎧'),
|
||||
11 => array('SHL', 'SHR', /*'UP', 'DOWN', 'LWB', 'UPB'*/),
|
||||
# 12 => array('*', '/', '%', 'OVER', '%*', 'MOD', 'ELEM', '×', '÷', '÷×', '÷*', '%×', '□', '÷:'),
|
||||
12 => array('OVER', 'MOD', 'ELEM'),
|
||||
# 13 => array('-', '+'),
|
||||
# 14 => array('<', 'LT', '<=', 'LE', '>=', 'GE', '>', 'GT', '≤', '≥'),
|
||||
14 => array('LT', 'LE', 'GE', 'GT'),
|
||||
# 15 => array('=', 'EQ', '/=', 'NE', '≠', '~='),
|
||||
15 => array('EQ', 'NE'),
|
||||
# 16 => array('&', 'AND', '∧', 'OR', '∨', '/\\', '\\/'),
|
||||
16 => array('AND', 'OR'),
|
||||
17 => array('MINUSAB', 'PLUSAB', 'TIMESAB', 'DIVAB', 'OVERAB', 'MODAB', 'PLUSTO'),
|
||||
# 18 => array('-:=', '+:=', '*:=', '/:=', '%:=', '%*:=', '+=:', '×:=', '÷:=', '÷×:=', '÷*:=', '%×:=', '÷::=', 'MINUS', 'PLUS', 'DIV', 'MOD', 'PRUS'),
|
||||
# Extensions or deprecated keywords
|
||||
18 => array('MINUS', 'PLUS', 'DIV', /* 'MOD',*/ 'PRUS', 'IS NOT'),
|
||||
# Extensions or deprecated keywords
|
||||
19 => array('THEF', 'ANDF', 'ORF', 'ANDTH', 'OREL', 'ANDTHEN', 'ORELSE'),
|
||||
# Built in procedures - from standard prelude #
|
||||
20 => array('int lengths', 'intlengths', 'int shorths', 'intshorths', 'max int', 'maxint', 'real lengths', 'reallengths', 'real shorths', 'realshorths', 'bits lengths', 'bitslengths', 'bits shorths', 'bitsshorths', 'bytes lengths', 'byteslengths', 'bytes shorths', 'bytesshorths', 'max abs char', 'maxabschar', 'int width', 'intwidth', 'long int width', 'longintwidth', 'long long int width', 'longlongintwidth', 'real width', 'realwidth', 'long real width', 'longrealwidth', 'long long real width', 'longlongrealwidth', 'exp width', 'expwidth', 'long exp width', 'longexpwidth', 'long long exp width', 'longlongexpwidth', 'bits width', 'bitswidth', 'long bits width', 'longbitswidth', 'long long bits width', 'longlongbitswidth', 'bytes width', 'byteswidth', 'long bytes width', 'longbyteswidth', 'max real', 'maxreal', 'small real', 'smallreal', 'long max int', 'longmaxint', 'long long max int', 'longlongmaxint', 'long max real', 'longmaxreal', 'long small real', 'longsmallreal', 'long long max real', 'longlongmaxreal', 'long long small real', 'longlongsmallreal', 'long max bits', 'longmaxbits', 'long long max bits', 'longlongmaxbits', 'null character', 'nullcharacter', 'blank', 'flip', 'flop', 'error char', 'errorchar', 'exp char', 'expchar', 'newline char', 'newlinechar', 'formfeed char', 'formfeedchar', 'tab char', 'tabchar'),
|
||||
21 => array('stand in channel', 'standinchannel', 'stand out channel', 'standoutchannel', 'stand back channel', 'standbackchannel', 'stand draw channel', 'standdrawchannel', 'stand error channel', 'standerrorchannel'),
|
||||
22 => array('put possible', 'putpossible', 'get possible', 'getpossible', 'bin possible', 'binpossible', 'set possible', 'setpossible', 'reset possible', 'resetpossible', 'reidf possible', 'reidfpossible', 'draw possible', 'drawpossible', 'compressible', 'on logical file end', 'onlogicalfileend', 'on physical file end', 'onphysicalfileend', 'on line end', 'onlineend', 'on page end', 'onpageend', 'on format end', 'onformatend', 'on value error', 'onvalueerror', 'on open error', 'onopenerror', 'on transput error', 'ontransputerror', 'on format error', 'onformaterror', 'open', 'establish', 'create', 'associate', 'close', 'lock', 'scratch', 'space', 'new line', 'newline', 'print', 'write f', 'writef', 'print f', 'printf', 'write bin', 'writebin', 'print bin', 'printbin', 'read f', 'readf', 'read bin', 'readbin', 'put f', 'putf', 'get f', 'getf', 'make term', 'maketerm', 'make device', 'makedevice', 'idf', 'term', 'read int', 'readint', 'read long int', 'readlongint', 'read long long int', 'readlonglongint', 'read real', 'readreal', 'read long real', 'readlongreal', 'read long long real', 'readlonglongreal', 'read complex', 'readcomplex', 'read long complex', 'readlongcomplex', 'read long long complex', 'readlonglongcomplex', 'read bool', 'readbool', 'read bits', 'readbits', 'read long bits', 'readlongbits', 'read long long bits', 'readlonglongbits', 'read char', 'readchar', 'read string', 'readstring', 'print int', 'printint', 'print long int', 'printlongint', 'print long long int', 'printlonglongint', 'print real', 'printreal', 'print long real', 'printlongreal', 'print long long real', 'printlonglongreal', 'print complex', 'printcomplex', 'print long complex', 'printlongcomplex', 'print long long complex', 'printlonglongcomplex', 'print bool', 'printbool', 'print bits', 'printbits', 'print long bits', 'printlongbits', 'print long long bits', 'printlonglongbits', 'print char', 'printchar', 'print string', 'printstring', 'whole', 'fixed', 'float'),
|
||||
23 => array('pi', 'long pi', 'longpi', 'long long pi', 'longlongpi'),
|
||||
24 => array('sqrt', 'curt', 'cbrt', 'exp', 'ln', 'log', 'sin', 'arc sin', 'arcsin', 'cos', 'arc cos', 'arccos', 'tan', 'arc tan', 'arctan', 'long sqrt', 'longsqrt', 'long curt', 'longcurt', 'long cbrt', 'longcbrt', 'long exp', 'longexp', 'long ln', 'longln', 'long log', 'longlog', 'long sin', 'longsin', 'long arc sin', 'longarcsin', 'long cos', 'longcos', 'long arc cos', 'longarccos', 'long tan', 'longtan', 'long arc tan', 'longarctan', 'long long sqrt', 'longlongsqrt', 'long long curt', 'longlongcurt', 'long long cbrt', 'longlongcbrt', 'long long exp', 'longlongexp', 'long long ln', 'longlongln', 'long long log', 'longlonglog', 'long long sin', 'longlongsin', 'long long arc sin', 'longlongarcsin', 'long long cos', 'longlongcos', 'long long arc cos', 'longlongarccos', 'long long tan', 'longlongtan', 'long long arc tan', 'longlongarctan'),
|
||||
25 => array('first random', 'firstrandom', 'next random', 'nextrandom', 'long next random', 'longnextrandom', 'long long next random', 'longlongnextrandom'),
|
||||
26 => array('real', 'bits pack', 'bitspack', 'long bits pack', 'longbitspack', 'long long bits pack', 'longlongbitspack', 'bytes pack', 'bytespack', 'long bytes pack', 'longbytespack', 'char in string', 'charinstring', 'last char in string', 'lastcharinstring', 'string in string', 'stringinstring'),
|
||||
27 => array('utc time', 'utctime', 'local time', 'localtime', 'argc', 'argv', 'get env', 'getenv', 'reset errno', 'reseterrno', 'errno', 'strerror'),
|
||||
28 => array('sinh', 'long sinh', 'longsinh', 'long long sinh', 'longlongsinh', 'arc sinh', 'arcsinh', 'long arc sinh', 'longarcsinh', 'long long arc sinh', 'longlongarcsinh', 'cosh', 'long cosh', 'longcosh', 'long long cosh', 'longlongcosh', 'arc cosh', 'arccosh', 'long arc cosh', 'longarccosh', 'long long arc cosh', 'longlongarccosh', 'tanh', 'long tanh', 'longtanh', 'long long tanh', 'longlongtanh', 'arc tanh', 'arctanh', 'long arc tanh', 'longarctanh', 'long long arc tanh', 'longlongarctanh', 'arc tan2', 'arctan2', 'long arc tan2', 'longarctan2', 'long long arc tan2', 'longlongarctan2'),
|
||||
29 => array('complex sqrt', 'complexsqrt', 'long complex sqrt', 'longcomplexsqrt', 'long long complex sqrt', 'longlongcomplexsqrt', 'complex exp', 'complexexp', 'long complex exp', 'longcomplexexp', 'long long complex exp', 'longlongcomplexexp', 'complex ln', 'complexln', 'long complex ln', 'longcomplexln', 'long long complex ln', 'longlongcomplexln', 'complex sin', 'complexsin', 'long complex sin', 'longcomplexsin', 'long long complex sin', 'longlongcomplexsin', 'complex arc sin', 'complexarcsin', 'long complex arc sin', 'longcomplexarcsin', 'long long complex arc sin', 'longlongcomplexarcsin', 'complex cos', 'complexcos', 'long complex cos', 'longcomplexcos', 'long long complex cos', 'longlongcomplexcos', 'complex arc cos', 'complexarccos', 'long complex arc cos', 'longcomplexarccos', 'long long complex arc cos', 'longlongcomplexarccos', 'complex tan', 'complextan', 'long complex tan', 'longcomplextan', 'long long complex tan', 'longlongcomplextan', 'complex arc tan', 'complexarctan', 'long complex arc tan', 'longcomplexarctan', 'long long complex arc tan', 'longlongcomplexarctan', 'complex sinh', 'complexsinh', 'complex arc sinh', 'complexarcsinh', 'complex cosh', 'complexcosh', 'complex arc cosh', 'complexarccosh', 'complex tanh', 'complextanh', 'complex arc tanh', 'complexarctanh')
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
1 => array( /* reverse length sorted... */ '÷×:=', '%×:=', ':≠:', '÷*:=', '÷::=', '%*:=', ':/=:', '×:=', '÷:=', '÷×', '%:=', '%×', '*:=', '+:=', '+=:', '+×', '-:=', '/:=', '::=', ':=:', '÷*', '÷:', '↑', '↓', '∧', '∨', '≠', '≤', '≥', '⊥', '⌈', '⌊', '⎧', '⎩', /* '⏨', */ '□', '○', '%*', '**', '+*', '/=', '::', '/\\', '\\/', '<=', '>=', '|:', '~=', '¬', '×', '÷', '!', '%', '&', '(', ')', '*', '+', ',', '-', '/', ':', ';', '<', '=', '>', '?', '@', '[', ']', '^', '{', '|', '}', '~')
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true,
|
||||
7 => true,
|
||||
8 => true,
|
||||
# 9 => true,
|
||||
10 => true,
|
||||
11 => true,
|
||||
12 => true,
|
||||
# 13 => true,
|
||||
14 => true,
|
||||
15 => true,
|
||||
16 => true,
|
||||
17 => true,
|
||||
18 => true,
|
||||
19 => true,
|
||||
20 => true,
|
||||
21 => true,
|
||||
22 => true,
|
||||
23 => true,
|
||||
24 => true,
|
||||
25 => true,
|
||||
26 => true,
|
||||
27 => true,
|
||||
28 => true,
|
||||
29 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => $a68['NONSTD'], 2 => $a68['BOLD'], 3 => $a68['BOLD'], 4 => $a68['BOLD'],
|
||||
5 => $a68['NONSTD'], 6 => $a68['BOLD'], 7 => $a68['BOLD'], 8 => $a68['BOLD'],
|
||||
/* 9 => $a68['BOLD'],*/ 10 => $a68['BOLD'], 11 => $a68['BOLD'], 12 => $a68['BOLD'],
|
||||
/* 13 => $a68['BOLD'],*/ 14 => $a68['BOLD'], 15 => $a68['BOLD'], 16 => $a68['BOLD'], 17 => $a68['BOLD'],
|
||||
18 => $a68['NONSTD'], 19 => $a68['NONSTD'],
|
||||
20 => $a68['ITALIC'], 21 => $a68['ITALIC'], 22 => $a68['ITALIC'], 23 => $a68['ITALIC'],
|
||||
24 => $a68['ITALIC'], 25 => $a68['ITALIC'], 26 => $a68['ITALIC'], 27 => $a68['ITALIC'],
|
||||
28 => $a68['ITALIC'], 29 => $a68['ITALIC']
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => $a68['COMMENT'], 2 => $a68['COMMENT'], 3 => $a68['COMMENT'], /* 4 => $a68['COMMENT'],
|
||||
5 => $a68['COMMENT'],*/ 'MULTI' => $a68['COMMENT']
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #004000;',
|
||||
1 => 'color: #004000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;',
|
||||
1 => 'color: #339933;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #cc66cc;', # BITS #
|
||||
1 => 'color: #cc66cc;', # REAL #
|
||||
/* 2 => 'color: #cc66cc;', # INT # */
|
||||
),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'URLS' => array(
|
||||
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 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
0 => '→',
|
||||
1 => 'OF'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => $a68['BITS'],
|
||||
1 => $a68['REAL']
|
||||
# 2 => $a68['INT'], # Breaks formatting for some reason #
|
||||
# 2 => $GESHI_NUMBER_INT_BASIC # Also breaks formatting #
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
||||
|
||||
unset($a68);
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Tux (tux@inmail.cz)
|
||||
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/29/07
|
||||
*
|
||||
* Apache language file for GeSHi.
|
||||
|
@ -57,81 +57,358 @@ $language_data = array (
|
|||
'KEYWORDS' => array(
|
||||
/*keywords*/
|
||||
1 => array(
|
||||
'accessconfig','accessfilename','action','addalt',
|
||||
'addaltbyencoding','addaltbytype','addcharset',
|
||||
'adddefaultcharset','adddescription',
|
||||
'addencoding','addhandler','addicon','addiconbyencoding',
|
||||
'addiconbytype','addlanguage','addmodule','addmoduleinfo',
|
||||
'addtype','agentlog','alias','aliasmatch',
|
||||
'allow','allowconnect','allowoverride','anonymous',
|
||||
'anonymous_authoritative','anonymous_logemail','anonymous_mustgiveemail',
|
||||
'anonymous_nouserid','anonymous_verifyemail','authauthoritative',
|
||||
'authdbauthoritative','authdbgroupfile','authdbmauthoritative',
|
||||
'authdbmgroupfile','authdbuserfile','authdbmuserfile',
|
||||
'authdigestfile','authgroupfile','authname','authtype',
|
||||
'authuserfile','bindaddress','browsermatch','browsermatchnocase',
|
||||
'bs2000account','cachedefaultexpire','cachedirlength','cachedirlevels',
|
||||
'cacheforcecompletion','cachegcinterval','cachelastmodifiedfactor','cachemaxexpire',
|
||||
'cachenegotiateddocs','cacheroot','cachesize','checkspelling',
|
||||
'clearmodulelist','contentdigest','cookieexpires','cookielog',
|
||||
'cookietracking','coredumpdirectory','customlog',
|
||||
'defaulticon','defaultlanguage','defaulttype','define',
|
||||
'deny','directory','directorymatch','directoryindex',
|
||||
'documentroot','errordocument','errorlog','example',
|
||||
'expiresactive','expiresbytype','expiresdefault','extendedstatus',
|
||||
'fancyindexing','files','filesmatch','forcetype',
|
||||
'group','header','headername','hostnamelookups',
|
||||
'identitycheck','ifdefine','ifmodule','imapbase',
|
||||
'imapdefault','imapmenu','include','indexignore','indexorderdefault',
|
||||
'indexoptions','keepalive','keepalivetimeout','languagepriority',
|
||||
'limit','limitexcept','limitrequestbody','limitrequestfields',
|
||||
'limitrequestfieldsize','limitrequestline','listen','listenbacklog',
|
||||
'loadfile','loadmodule','location','locationmatch',
|
||||
'lockfile','logformat','loglevel','maxclients',
|
||||
'maxkeepaliverequests','maxrequestsperchild','maxspareservers','maxsparethreads','metadir',
|
||||
'metafiles','metasuffix','mimemagicfile','minspareservers','minsparethreads',
|
||||
'mmapfile','namevirtualhost','nocache','options','order',
|
||||
'passenv','php_admin_value','php_admin_flag','php_value','pidfile','port','proxyblock','proxydomain',
|
||||
'proxypass','proxypassreverse','proxyreceivebuffersize','proxyremote',
|
||||
'proxyrequests','proxyvia','qsc','readmename',
|
||||
'redirect','redirectmatch','redirectpermanent','redirecttemp',
|
||||
'refererignore','refererlog','removehandler','require',
|
||||
'resourceconfig','rewritebase','rewritecond','rewriteengine',
|
||||
'rewritelock','rewritelog','rewriteloglevel','rewritemap',
|
||||
'rewriteoptions','rewriterule','rlimitcpu','rlimitmem',
|
||||
'rlimitnproc','satisfy','scoreboardfile','script',
|
||||
'scriptalias','scriptaliasmatch','scriptinterpretersource','scriptlog',
|
||||
'scriptlogbuffer','scriptloglength','sendbuffersize',
|
||||
'serveradmin','serveralias','servername','serverpath',
|
||||
'serverroot','serversignature','servertokens','servertype',
|
||||
'setenv','setenvif','setenvifnocase','sethandler',
|
||||
'singlelisten','startservers','threadsperchild','timeout',
|
||||
'transferlog','typesconfig','unsetenv','usecanonicalname',
|
||||
'user','userdir','virtualhost','virtualdocumentroot',
|
||||
'virtualdocumentrootip','virtualscriptalias','virtualscriptaliasip',
|
||||
'xbithack','from','all'
|
||||
//core.c
|
||||
'AcceptFilter','AcceptPathInfo','AccessConfig','AccessFileName',
|
||||
'AddDefaultCharset','AddOutputFilterByType','AllowEncodedSlashes',
|
||||
'AllowOverride','AuthName','AuthType','ContentDigest',
|
||||
'CoreDumpDirectory','DefaultType','DocumentRoot','EnableMMAP',
|
||||
'EnableSendfile','ErrorDocument','ErrorLog','FileETag','ForceType',
|
||||
'HostnameLookups','Include','LimitInternalRecursion',
|
||||
'LimitRequestBody','LimitRequestFields','LimitRequestFieldsize',
|
||||
'LimitRequestLine','LimitXMLRequestBody','LogLevel','MaxMemFree',
|
||||
'MaxRequestsPerChild','NameVirtualHost','Options','PidFile','Port',
|
||||
'Protocol','Require','RLimitCPU','RLimitMEM','RLimitNPROC',
|
||||
'Satisfy','ScoreBoardFile','ServerAdmin','ServerAlias','ServerName',
|
||||
'ServerPath','ServerRoot','ServerSignature','ServerTokens',
|
||||
'SetHandler','SetInputFilter','SetOutputFilter','ThreadStackSize',
|
||||
'Timeout','TraceEnable','UseCanonicalName',
|
||||
'UseCanonicalPhysicalPort',
|
||||
|
||||
//http_core.c
|
||||
'KeepAlive','KeepAliveTimeout','MaxKeepAliveRequests',
|
||||
|
||||
//mod_actions.c
|
||||
'Action','Script',
|
||||
|
||||
//mod_alias.c
|
||||
'Alias','AliasMatch','Redirect','RedirectMatch','RedirectPermanent',
|
||||
'RedirectTemp','ScriptAlias','ScriptAliasMatch',
|
||||
|
||||
//mod_asis.c
|
||||
|
||||
//mod_auth_basic.c
|
||||
'AuthBasicAuthoritative','AuthBasicProvider',
|
||||
|
||||
//mod_auth_digest.c
|
||||
'AuthDigestAlgorithm','AuthDigestDomain','AuthDigestNcCheck',
|
||||
'AuthDigestNonceFormat','AuthDigestNonceLifetime',
|
||||
'AuthDigestProvider','AuthDigestQop','AuthDigestShmemSize',
|
||||
|
||||
//mod_authn_alias.c
|
||||
|
||||
//mod_authn_anon.c
|
||||
'Anonymous','Anonymous_LogEmail','Anonymous_MustGiveEmail',
|
||||
'Anonymous_NoUserId','Anonymous_VerifyEmail',
|
||||
|
||||
//mod_authn_dbd.c
|
||||
'AuthDBDUserPWQuery','AuthDBDUserRealmQuery',
|
||||
|
||||
//mod_authn_dbm.c
|
||||
'AuthDBMType','AuthDBMUserFile',
|
||||
|
||||
//mod_authn_default.c
|
||||
'AuthDefaultAuthoritative',
|
||||
|
||||
//mod_authn_file.c
|
||||
'AuthUserFile',
|
||||
|
||||
//mod_authnz_ldap.c
|
||||
'AuthLDAPBindDN','AuthLDAPBindPassword','AuthLDAPCharsetConfig',
|
||||
'AuthLDAPCompareDNOnServer','AuthLDAPDereferenceAliases',
|
||||
'AuthLDAPGroupAttribute','AuthLDAPGroupAttributeIsDN',
|
||||
'AuthLDAPRemoteUserAttribute','AuthLDAPRemoteUserIsDN',
|
||||
'AuthLDAPURL','AuthzLDAPAuthoritative',
|
||||
|
||||
//mod_authz_dbm.c
|
||||
'AuthDBMGroupFile','AuthzDBMAuthoritative','AuthzDBMType',
|
||||
|
||||
//mod_authz_default.c
|
||||
'AuthzDefaultAuthoritative',
|
||||
|
||||
//mod_authz_groupfile.c
|
||||
'AuthGroupFile','AuthzGroupFileAuthoritative',
|
||||
|
||||
//mod_authz_host.c
|
||||
'Allow','Deny','Order',
|
||||
|
||||
//mod_authz_owner.c
|
||||
'AuthzOwnerAuthoritative',
|
||||
|
||||
//mod_authz_svn.c
|
||||
'AuthzForceUsernameCase','AuthzSVNAccessFile','AuthzSVNAnonymous',
|
||||
'AuthzSVNAuthoritative','AuthzSVNNoAuthWhenAnonymousAllowed',
|
||||
|
||||
//mod_authz_user.c
|
||||
'AuthzUserAuthoritative',
|
||||
|
||||
//mod_autoindex.c
|
||||
'AddAlt','AddAltByEncoding','AddAltByType','AddDescription',
|
||||
'AddIcon','AddIconByEncoding','AddIconByType','DefaultIcon',
|
||||
'FancyIndexing','HeaderName','IndexHeadInsert','IndexIgnore',
|
||||
'IndexOptions','IndexOrderDefault','IndexStyleSheet','ReadmeName',
|
||||
|
||||
//mod_bt.c
|
||||
'Tracker','TrackerDetailURL','TrackerFlags','TrackerHashMaxAge',
|
||||
'TrackerHashMinAge','TrackerHashWatermark','TrackerHome',
|
||||
'TrackerReturnInterval','TrackerReturnMax',
|
||||
'TrackerReturnPeerFactor','TrackerReturnPeers','TrackerRootInclude',
|
||||
'TrackerStyleSheet',
|
||||
|
||||
//mod_bw.c
|
||||
'BandWidth','BandWidthError','BandWidthModule','BandWidthPacket',
|
||||
'ForceBandWidthModule','LargeFileLimit','MaxConnection',
|
||||
'MinBandWidth',
|
||||
|
||||
//mod_cache.c
|
||||
'CacheDefaultExpire','CacheDisable','CacheEnable',
|
||||
'CacheIgnoreCacheControl','CacheIgnoreHeaders',
|
||||
'CacheIgnoreNoLastMod','CacheIgnoreQueryString',
|
||||
'CacheLastModifiedFactor','CacheMaxExpire','CacheStoreNoStore',
|
||||
'CacheStorePrivate',
|
||||
|
||||
//mod_cern_meta.c
|
||||
'MetaDir','MetaFiles','MetaSuffix',
|
||||
|
||||
//mod_cgi.c
|
||||
'ScriptLog','ScriptLogBuffer','ScriptLogLength',
|
||||
|
||||
//mod_charset_lite.c
|
||||
'CharsetDefault','CharsetOptions','CharsetSourceEnc',
|
||||
|
||||
//mod_dav.c
|
||||
'DAV','DAVDepthInfinity','DAVMinTimeout',
|
||||
|
||||
//mod_dav_fs.c
|
||||
'DAVLockDB',
|
||||
|
||||
//mod_dav_lock.c
|
||||
'DAVGenericLockDB',
|
||||
|
||||
//mod_dav_svn.c
|
||||
'SVNActivitiesDB','SVNAllowBulkUpdates','SVNAutoversioning',
|
||||
'SVNIndexXSLT','SVNListParentPath','SVNMasterURI','SVNParentPath',
|
||||
'SVNPath','SVNPathAuthz','SVNReposName','SVNSpecialURI',
|
||||
|
||||
//mod_dbd.c
|
||||
'DBDExptime','DBDKeep','DBDMax','DBDMin','DBDParams','DBDPersist',
|
||||
'DBDPrepareSQL','DBDriver',
|
||||
|
||||
//mod_deflate.c
|
||||
'DeflateBufferSize','DeflateCompressionLevel','DeflateFilterNote',
|
||||
'DeflateMemLevel','DeflateWindowSize',
|
||||
|
||||
//mod_dir.c
|
||||
'DirectoryIndex','DirectorySlash',
|
||||
|
||||
//mod_disk_cache.c
|
||||
'CacheDirLength','CacheDirLevels','CacheMaxFileSize',
|
||||
'CacheMinFileSize','CacheRoot',
|
||||
|
||||
//mod_dumpio.c
|
||||
'DumpIOInput','DumpIOLogLevel','DumpIOOutput',
|
||||
|
||||
//mod_env.c
|
||||
'PassEnv','SetEnv','UnsetEnv',
|
||||
|
||||
//mod_expires.c
|
||||
'ExpiresActive','ExpiresByType','ExpiresDefault',
|
||||
|
||||
//mod_ext_filter.c
|
||||
'ExtFilterDefine','ExtFilterOptions',
|
||||
|
||||
//mod_file_cache.c
|
||||
'cachefile','mmapfile',
|
||||
|
||||
//mod_filter.c
|
||||
'FilterChain','FilterDeclare','FilterProtocol','FilterProvider',
|
||||
'FilterTrace',
|
||||
|
||||
//mod_gnutls.c
|
||||
'GnuTLSCache','GnuTLSCacheTimeout','GnuTLSCertificateFile',
|
||||
'GnuTLSKeyFile','GnuTLSPGPCertificateFile','GnuTLSPGPKeyFile',
|
||||
'GnuTLSClientVerify','GnuTLSClientCAFile','GnuTLSPGPKeyringFile',
|
||||
'GnuTLSEnable','GnuTLSDHFile','GnuTLSRSAFile','GnuTLSSRPPasswdFile',
|
||||
'GnuTLSSRPPasswdConfFile','GnuTLSPriorities',
|
||||
'GnuTLSExportCertificates',
|
||||
|
||||
//mod_headers.c
|
||||
'Header','RequestHeader',
|
||||
|
||||
//mod_imagemap.c
|
||||
'ImapBase','ImapDefault','ImapMenu',
|
||||
|
||||
//mod_include.c
|
||||
'SSIAccessEnable','SSIEndTag','SSIErrorMsg','SSIStartTag',
|
||||
'SSITimeFormat','SSIUndefinedEcho','XBitHack',
|
||||
|
||||
//mod_ident.c
|
||||
'IdentityCheck','IdentityCheckTimeout',
|
||||
|
||||
//mod_info.c
|
||||
'AddModuleInfo',
|
||||
|
||||
//mod_isapi.c
|
||||
'ISAPIAppendLogToErrors','ISAPIAppendLogToQuery','ISAPICacheFile',
|
||||
'ISAPIFakeAsync','ISAPILogNotSupported','ISAPIReadAheadBuffer',
|
||||
|
||||
//mod_log_config.c
|
||||
'BufferedLogs','CookieLog','CustomLog','LogFormat','TransferLog',
|
||||
|
||||
//mod_log_forensic.c
|
||||
'ForensicLog',
|
||||
|
||||
//mod_log_rotate.c
|
||||
'RotateInterval','RotateLogs','RotateLogsLocalTime',
|
||||
|
||||
//mod_logio.c
|
||||
|
||||
//mod_mem_cache.c
|
||||
'MCacheMaxObjectCount','MCacheMaxObjectSize',
|
||||
'MCacheMaxStreamingBuffer','MCacheMinObjectSize',
|
||||
'MCacheRemovalAlgorithm','MCacheSize',
|
||||
|
||||
//mod_mime.c
|
||||
'AddCharset','AddEncoding','AddHandler','AddInputFilter',
|
||||
'AddLanguage','AddOutputFilter','AddType','DefaultLanguage',
|
||||
'ModMimeUsePathInfo','MultiviewsMatch','RemoveCharset',
|
||||
'RemoveEncoding','RemoveHandler','RemoveInputFilter',
|
||||
'RemoveLanguage','RemoveOutputFilter','RemoveType','TypesConfig',
|
||||
|
||||
//mod_mime_magic.c
|
||||
'MimeMagicFile',
|
||||
|
||||
//mod_negotiation.c
|
||||
'CacheNegotiatedDocs','ForceLanguagePriority','LanguagePriority',
|
||||
|
||||
//mod_php5.c
|
||||
'php_admin_flag','php_admin_value','php_flag','php_value',
|
||||
'PHPINIDir',
|
||||
|
||||
//mod_proxy.c
|
||||
'AllowCONNECT','BalancerMember','NoProxy','ProxyBadHeader',
|
||||
'ProxyBlock','ProxyDomain','ProxyErrorOverride',
|
||||
'ProxyFtpDirCharset','ProxyIOBufferSize','ProxyMaxForwards',
|
||||
'ProxyPass','ProxyPassInterpolateEnv','ProxyPassMatch',
|
||||
'ProxyPassReverse','ProxyPassReverseCookieDomain',
|
||||
'ProxyPassReverseCookiePath','ProxyPreserveHost',
|
||||
'ProxyReceiveBufferSize','ProxyRemote','ProxyRemoteMatch',
|
||||
'ProxyRequests','ProxySet','ProxyStatus','ProxyTimeout','ProxyVia',
|
||||
|
||||
//mod_proxy_ajp.c
|
||||
|
||||
//mod_proxy_balancer.c
|
||||
|
||||
//mod_proxy_connect.c
|
||||
|
||||
//mod_proxy_ftp.c
|
||||
|
||||
//mod_proxy_http.c
|
||||
|
||||
//mod_rewrite.c
|
||||
'RewriteBase','RewriteCond','RewriteEngine','RewriteLock',
|
||||
'RewriteLog','RewriteLogLevel','RewriteMap','RewriteOptions',
|
||||
'RewriteRule',
|
||||
|
||||
//mod_setenvif.c
|
||||
'BrowserMatch','BrowserMatchNoCase','SetEnvIf','SetEnvIfNoCase',
|
||||
|
||||
//mod_so.c
|
||||
'LoadFile','LoadModule',
|
||||
|
||||
//mod_speling.c
|
||||
'CheckCaseOnly','CheckSpelling',
|
||||
|
||||
//mod_ssl.c
|
||||
'SSLCACertificateFile','SSLCACertificatePath','SSLCADNRequestFile',
|
||||
'SSLCADNRequestPath','SSLCARevocationFile','SSLCARevocationPath',
|
||||
'SSLCertificateChainFile','SSLCertificateFile',
|
||||
'SSLCertificateKeyFile','SSLCipherSuite','SSLCryptoDevice',
|
||||
'SSLEngine','SSLHonorCipherOrder','SSLMutex','SSLOptions',
|
||||
'SSLPassPhraseDialog','SSLProtocol','SSLProxyCACertificateFile',
|
||||
'SSLProxyCACertificatePath','SSLProxyCARevocationFile',
|
||||
'SSLProxyCARevocationPath','SSLProxyCipherSuite','SSLProxyEngine',
|
||||
'SSLProxyMachineCertificateFile','SSLProxyMachineCertificatePath',
|
||||
'SSLProxyProtocol','SSLProxyVerify','SSLProxyVerifyDepth',
|
||||
'SSLRandomSeed','SSLRenegBufferSize','SSLRequire','SSLRequireSSL',
|
||||
'SSLSessionCache','SSLSessionCacheTimeout','SSLUserName',
|
||||
'SSLVerifyClient','SSLVerifyDepth',
|
||||
|
||||
//mod_status.c
|
||||
'ExtendedStatus','SeeRequestTail',
|
||||
|
||||
//mod_substitute.c
|
||||
'Substitute',
|
||||
|
||||
//mod_suexec.c
|
||||
'SuexecUserGroup',
|
||||
|
||||
//mod_unique_id.c
|
||||
|
||||
//mod_upload_progress
|
||||
'ReportUploads', 'TrackUploads', 'UploadProgressSharedMemorySize',
|
||||
|
||||
//mod_userdir.c
|
||||
'UserDir',
|
||||
|
||||
//mod_usertrack.c
|
||||
'CookieDomain','CookieExpires','CookieName','CookieStyle',
|
||||
'CookieTracking',
|
||||
|
||||
//mod_version.c
|
||||
|
||||
//mod_vhost_alias.c
|
||||
'VirtualDocumentRoot','VirtualDocumentRootIP',
|
||||
'VirtualScriptAlias','VirtualScriptAliasIP',
|
||||
|
||||
//mod_view.c
|
||||
'ViewEnable',
|
||||
|
||||
//mod_win32.c
|
||||
'ScriptInterpreterSource',
|
||||
|
||||
//mpm_winnt.c
|
||||
'Listen','ListenBacklog','ReceiveBufferSize','SendBufferSize',
|
||||
'ThreadLimit','ThreadsPerChild','Win32DisableAcceptEx',
|
||||
|
||||
//mpm_common.c
|
||||
'AcceptMutex','AddModule','ClearModuleList','EnableExceptionHook',
|
||||
'Group','LockFile','MaxClients','MaxSpareServers','MaxSpareThreads',
|
||||
'MinSpareServers','MinSpareThreads','ServerLimit','StartServers',
|
||||
'StartThreads','User',
|
||||
|
||||
//util_ldap.c
|
||||
'LDAPCacheEntries','LDAPCacheTTL','LDAPConnectionTimeout',
|
||||
'LDAPOpCacheEntries','LDAPOpCacheTTL','LDAPSharedCacheFile',
|
||||
'LDAPSharedCacheSize','LDAPTrustedClientCert',
|
||||
'LDAPTrustedGlobalCert','LDAPTrustedMode','LDAPVerifyServerCert',
|
||||
|
||||
//Unknown Mods ...
|
||||
'AgentLog','BindAddress','bs2000account','CacheForceCompletion',
|
||||
'CacheGCInterval','CacheSize','NoCache','qsc','RefererIgnore',
|
||||
'RefererLog','Resourceconfig','ServerType','SingleListen'
|
||||
),
|
||||
/*keywords 2*/
|
||||
2 => array(
|
||||
'on','off','standalone','inetd','indexes',
|
||||
'all','on','off','standalone','inetd','indexes',
|
||||
'force-response-1.0','downgrade-1.0','nokeepalive',
|
||||
'ndexes','includes','followsymlinks','none',
|
||||
'includes','followsymlinks','none',
|
||||
'x-compress','x-gzip'
|
||||
),
|
||||
/*keywords 3*/
|
||||
3 => array(
|
||||
'Directory',
|
||||
'DirectoryMatch',
|
||||
'Files',
|
||||
'FilesMatch',
|
||||
'IfDefine',
|
||||
'IfModule',
|
||||
'IfVersion',
|
||||
'Location',
|
||||
'LocationMatch',
|
||||
'Proxy',
|
||||
'ProxyMatch',
|
||||
'VirtualHost'
|
||||
//core.c
|
||||
'Directory','DirectoryMatch','Files','FilesMatch','IfDefine',
|
||||
'IfModule','Limit','LimitExcept','Location','LocationMatch',
|
||||
'VirtualHost',
|
||||
|
||||
//mod_authn_alias.c
|
||||
'AuthnProviderAlias',
|
||||
|
||||
//mod_proxy.c
|
||||
'Proxy','ProxyMatch',
|
||||
|
||||
//mod_version.c
|
||||
'IfVersion'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -202,5 +479,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Stephan Klimek (http://www.initware.org)
|
||||
* Copyright: Stephan Klimek (http://www.initware.org)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/07/20
|
||||
*
|
||||
* AppleScript language file for GeSHi.
|
||||
|
@ -51,27 +51,33 @@ $language_data = array (
|
|||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'application','close','count','delete','duplicate','exists','launch','make','move','open',
|
||||
'print','quit','reopen','run','save','saving', 'idle', 'path to', 'number', 'alias', 'list', 'text', 'string',
|
||||
'integer', 'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
|
||||
'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
|
||||
'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false', 'id',
|
||||
'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
|
||||
'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
|
||||
'mar','april','apr','may','june','jun','july','jul','august','aug','september', 'quote', 'do JavaScript',
|
||||
'sep','october','oct','november','nov','december','dec','minutes','hours', 'name', 'default answer',
|
||||
'days','weeks', 'folder', 'folders', 'file', 'files', 'window', 'eject', 'disk', 'reveal', 'sleep',
|
||||
'shut down', 'restart', 'display dialog', 'buttons', 'invisibles', 'item', 'items', 'delimiters', 'offset of',
|
||||
'AppleScript\'s', 'choose file', 'choose folder', 'choose from list', 'beep', 'contents', 'do shell script',
|
||||
'paragraph', 'paragraphs', 'missing value', 'quoted form', 'desktop', 'POSIX path', 'POSIX file',
|
||||
'activate', 'document', 'adding', 'receiving', 'content', 'new', 'properties', 'info for', 'bounds',
|
||||
'selection', 'extension', 'into', 'onto', 'by', 'between', 'against', 'set the clipboard to', 'the clipboard'
|
||||
),
|
||||
2 => array(
|
||||
'each','some','every','whose','where','index','first','second','third','fourth',
|
||||
'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
|
||||
'rd','th','middle','named','through','thru','before','after','beginning','the', 'as',
|
||||
'div','mod','and','not','or','contains','equal','equals','isnt', 'less', 'greater'
|
||||
),
|
||||
3 => array(
|
||||
'script','property','prop','end','to','set','global','local','on','of',
|
||||
'in','given','with','without','return','continue','tell','if','then','else','repeat',
|
||||
'times','while','until','from','exit','try','error','considering','ignoring','timeout',
|
||||
'transaction','my','get','put','into','is'
|
||||
),
|
||||
2 => array(
|
||||
'each','some','every','whose','where','id','index','first','second','third','fourth',
|
||||
'fifth','sixth','seventh','eighth','ninth','tenth','last','front','back','st','nd',
|
||||
'rd','th','middle','named','through','thru','before','after','beginning','the'
|
||||
),
|
||||
3 => array(
|
||||
'close','copy','count','delete','duplicate','exists','launch','make','move','open',
|
||||
'print','quit','reopen','run','save','saving',
|
||||
'it','me','version','pi','result','space','tab','anything','case','diacriticals','expansion',
|
||||
'hyphens','punctuation','bold','condensed','expanded','hidden','italic','outline','plain',
|
||||
'shadow','strikethrough','subscript','superscript','underline','ask','no','yes','false',
|
||||
'true','weekday','monday','mon','tuesday','tue','wednesday','wed','thursday','thu','friday',
|
||||
'fri','saturday','sat','sunday','sun','month','january','jan','february','feb','march',
|
||||
'mar','april','apr','may','june','jun','july','jul','august','aug','september',
|
||||
'sep','october','oct','november','nov','december','dec','minutes','hours',
|
||||
'days','weeks','div','mod','and','not','or','as','contains','equal','equals','isnt'
|
||||
'transaction','my','get','put','is', 'copy'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -85,9 +91,9 @@ $language_data = array (
|
|||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #b1b100;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #000066;'
|
||||
1 => 'color: #0066ff;',
|
||||
2 => 'color: #ff0033;',
|
||||
3 => 'color: #ff0033; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080; font-style: italic;',
|
||||
|
@ -96,27 +102,27 @@ $language_data = array (
|
|||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
0 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #006600;',
|
||||
2 => 'color: #006600;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #0000ff;',
|
||||
4 => 'color: #009999;',
|
||||
0 => 'color: #339933;',
|
||||
4 => 'color: #0066ff;',
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
|
@ -140,7 +146,10 @@ $language_data = array (
|
|||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'SPACE_AS_WHITESPACE' => true
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Milian Wolff (mail@milianw.de)
|
||||
* Copyright: (c) 2008 Milian Wolff (http://milianw.de)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/06/17
|
||||
*
|
||||
* Apt sources.list language file for GeSHi.
|
||||
|
@ -55,7 +55,7 @@ $language_data = array (
|
|||
'stable/updates',
|
||||
//Debian
|
||||
'buzz', 'rex', 'bo', 'hamm', 'slink', 'potato', 'woody', 'sarge',
|
||||
'etch', 'lenny', 'sid',
|
||||
'etch', 'lenny', 'wheezy', 'jessie', 'sid',
|
||||
//Ubuntu
|
||||
'warty', 'warty-updates', 'warty-security', 'warty-proposed', 'warty-backports',
|
||||
'hoary', 'hoary-updates', 'hoary-security', 'hoary-proposed', 'hoary-backports',
|
||||
|
@ -65,13 +65,24 @@ $language_data = array (
|
|||
'feisty', 'feisty-updates', 'feisty-security', 'feisty-proposed', 'feisty-backports',
|
||||
'gutsy', 'gutsy-updates', 'gutsy-security', 'gutsy-proposed', 'gutsy-backports',
|
||||
'hardy', 'hardy-updates', 'hardy-security', 'hardy-proposed', 'hardy-backports',
|
||||
'intrepid', 'intrepid-updates', 'intrepid-security', 'intrepid-proposed', 'intrepid-backports'
|
||||
'intrepid', 'intrepid-updates', 'intrepid-security', 'intrepid-proposed', 'intrepid-backports',
|
||||
'jaunty', 'jaunty-updates', 'jaunty-security', 'jaunty-proposed', 'jaunty-backports',
|
||||
'karmic', 'karmic-updates', 'karmic-security', 'karmic-proposed', 'karmic-backports',
|
||||
'lucid', 'lucid-updates', 'lucid-security', 'lucid-proposed', 'lucid-backports',
|
||||
'maverick', 'maverick-updates', 'maverick-security', 'maverick-proposed', 'maverick-backports',
|
||||
'natty', 'natty-updates', 'natty-security', 'natty-proposed', 'natty-backports',
|
||||
'oneiric', 'oneiric-updates', 'oneiric-security', 'oneiric-proposed', 'oneiric-backports',
|
||||
'precise', 'precise-updates', 'precise-security', 'precise-proposed', 'precise-backports',
|
||||
'quantal', 'quantal-updates', 'quantal-security', 'quantal-proposed', 'quantal-backports',
|
||||
'raring', 'raring-updates', 'raring-security', 'raring-proposed', 'raring-backports',
|
||||
'saucy', 'saucy-updates', 'saucy-security', 'saucy-proposed', 'saucy-backports',
|
||||
'trusty', 'trusty-updates', 'trusty-security', 'trusty-proposed', 'trusty-backports'
|
||||
),
|
||||
3 => array(
|
||||
'main', 'restricted', 'preview', 'contrib', 'non-free',
|
||||
'commercial', 'universe', 'multiverse'
|
||||
)
|
||||
),
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => "(((http|ftp):\/\/|file:\/)[^\s]+)|(cdrom:\[[^\]]*\][^\s]*)",
|
||||
),
|
||||
|
@ -140,5 +151,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
3316
serendipity_event_geshi/geshi/arm.php
Normal file
3316
serendipity_event_geshi/geshi/arm.php
Normal file
File diff suppressed because it is too large
Load diff
|
@ -3,15 +3,56 @@
|
|||
* asm.php
|
||||
* -------
|
||||
* Author: Tux (tux@inmail.cz)
|
||||
* Copyright: (c) 2004 Tux (http://tux.a4.cz/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Copyright: (c) 2004 Tux (http://tux.a4.cz/),
|
||||
* 2004-2009 Nigel McNie (http://qbnz.com/highlighter),
|
||||
* 2009-2011 Benny Baumann (http://qbnz.com/highlighter),
|
||||
* 2011 Dennis Yurichev (dennis@conus.info),
|
||||
* 2011 Marat Dukhan (mdukhan3.at.gatech.dot.edu)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/07/27
|
||||
*
|
||||
* x86 Assembler language file for GeSHi.
|
||||
* Words are from SciTe configuration file (based on NASM syntax)
|
||||
* Based on the following documents:
|
||||
* - "Intel64 and IA-32 Architectures Programmer's Reference Manual
|
||||
* Volume 2 (2A & 2B): Instructions Set Reference, A-Z",
|
||||
* Order Number 25383-039US, May 2011
|
||||
* - "Intel Advanced Vector Extensions Programming Reference",
|
||||
* Order Number 319433-011, June 2011
|
||||
* - "AMD64 Architecture Programmer's Manual Volume 3:
|
||||
* General-Purpose and System Instructions", Publication No. 24594,
|
||||
* Revision 3.15, November 2009
|
||||
* - "AMD64 Architecture Programmer's Manual Volume 4:
|
||||
* 128-Bit and 256-Bit Media Instructions", Publication No. 26568,
|
||||
* Revision 3.12, May 2011
|
||||
* - "AMD64 Architecture Programmer's Manual Volume 5:
|
||||
* 64-Bit Media and x87 Floating-Point Instructions",
|
||||
* Publication No. 26569, Revision 3.11, December 2009
|
||||
* - "AMD64 Technology Lightweight Profiling Specification",
|
||||
* Publication No. 43724, Revision 3.08, August 2010
|
||||
* - "Application Note 108: Cyrix Extended MMX Instruction Set"
|
||||
* - "VIA Padlock Programming Guide", 3rd May 2005
|
||||
* - http://en.wikipedia.org/wiki/X86_instruction_listings
|
||||
* - NASM 2.10rc8 Online Documenation at
|
||||
* http://www.nasm.us/xdoc/2.10rc8/html/nasmdoc0.html
|
||||
* Color scheme is taken from SciTE. Previous versions of this file
|
||||
* also used words from SciTE configuration file (based on NASM syntax)
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2011/10/07
|
||||
* - Rearranged instructions and registers into groups
|
||||
* - Updated to support the following extensions
|
||||
* - CMOV, BMI1, BMI2, TBM, FSGSBASE
|
||||
* - LZCNT, TZCNT, POPCNT, MOVBE, CRC32
|
||||
* - MMX, MMX+, EMMX
|
||||
* - 3dnow!, 3dnow!+, 3dnow! Geode, 3dnow! Prefetch
|
||||
* - SSE, SSE2, SSE3, SSSE3, SSE4A, SSE4.1, SSE4.2
|
||||
* - AVX, AVX2, XOP, FMA3, FMA4, CVT16
|
||||
* - VMX, SVM
|
||||
* - AES, PCLMULQDQ, Padlock, RDRAND
|
||||
* - Updated NASM macros and directives
|
||||
* 2010/07/01 (1.0.8.11)
|
||||
* - Added MMX/SSE/new x86-64 registers, MMX/SSE (up to 4.2) instructions
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/11/27 (1.0.2)
|
||||
|
@ -55,26 +96,71 @@ $language_data = array (
|
|||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
/*CPU*/
|
||||
/* General-Purpose */
|
||||
1 => array(
|
||||
'aaa','aad','aam','aas','adc','add','and','call','cbw','clc','cld','cli','cmc','cmp',
|
||||
'cmps','cmpsb','cmpsw','cwd','daa','das','dec','div','esc','hlt','idiv','imul','in','inc',
|
||||
'int','into','iret','ja','jae','jb','jbe','jc','jcxz','je','jg','jge','jl','jle','jmp',
|
||||
'jna','jnae','jnb','jnbe','jnc','jne','jng','jnge','jnl','jnle','jno','jnp','jns','jnz',
|
||||
'jo','jp','jpe','jpo','js','jz','lahf','lds','lea','les','lods','lodsb','lodsw','loop',
|
||||
'loope','loopew','loopne','loopnew','loopnz','loopnzw','loopw','loopz','loopzw','mov',
|
||||
'movs','movsb','movsw','mul','neg','nop','not','or','out','pop','popf','push','pushf',
|
||||
'rcl','rcr','ret','retf','retn','rol','ror','sahf','sal','sar','sbb','scas','scasb','scasw',
|
||||
'shl','shr','stc','std','sti','stos','stosb','stosw','sub','test','wait','xchg','xlat',
|
||||
'xlatb','xor','bound','enter','ins','insb','insw','leave','outs','outsb','outsw','popa','pusha','pushw',
|
||||
'arpl','lar','lsl','sgdt','sidt','sldt','smsw','str','verr','verw','clts','lgdt','lidt','lldt','lmsw','ltr',
|
||||
'bsf','bsr','bt','btc','btr','bts','cdq','cmpsd','cwde','insd','iretd','iretdf','iretf',
|
||||
'jecxz','lfs','lgs','lodsd','loopd','looped','loopned','loopnzd','loopzd','lss','movsd',
|
||||
'movsx','movzx','outsd','popad','popfd','pushad','pushd','pushfd','scasd','seta','setae',
|
||||
'setb','setbe','setc','sete','setg','setge','setl','setle','setna','setnae','setnb','setnbe',
|
||||
'setnc','setne','setng','setnge','setnl','setnle','setno','setnp','setns','setnz','seto','setp',
|
||||
'setpe','setpo','sets','setz','shld','shrd','stosd','bswap','cmpxchg','invd','invlpg','wbinvd','xadd','lock',
|
||||
'rep','repe','repne','repnz','repz'
|
||||
/* BCD instructions */
|
||||
'aaa','aad','aam','aas','daa','das',
|
||||
/* Control flow instructions */
|
||||
'ja','jae','jb','jbe','jc','je','jg','jge','jl','jle','jmp','jna',
|
||||
'jnae','jnb','jnbe','jnc','jne','jng','jnge','jnl','jnle','jno','jnp','jns','jnz',
|
||||
'jo','jp','jpe','jpo','js','jz','jcxz','jecxz','jrcxz','loop','loope','loopne',
|
||||
'call','ret','enter','leave','syscall','sysenter','int','into',
|
||||
/* Predicate instructions */
|
||||
'seta','setae','setb','setbe','setc','sete','setg','setge','setl','setle','setna',
|
||||
'setnae','setnb','setnbe','setnc','setne','setng','setnge','setnl','setnle','setno',
|
||||
'setnp','setns','setnz','seto','setp','setpe','setpo','sets','setz','salc',
|
||||
/* Conditional move instructions */
|
||||
'cmovo','cmovno','cmovb','cmovc','cmovnae','cmovae','cmovnb','cmovnc','cmove','cmovz',
|
||||
'cmovne','cmovnz','cmovbe','cmovna','cmova','cmovnbe','cmovs','cmovns','cmovp','cmovpe',
|
||||
'cmovnp','cmovpo','cmovl','cmovnge','cmovge','cmovnl','cmovle','cmovng','cmovg','cmovnle',
|
||||
/* ALU instructions */
|
||||
'add','sub','adc','sbb','neg','cmp','inc','dec','and','or','xor','not','test',
|
||||
'shl','shr','sal','sar','shld','shrd','rol','ror','rcl','rcr',
|
||||
'cbw','cwd','cwde','cdq','cdqe','cqo','bsf','bsr','bt','btc','btr','bts',
|
||||
'idiv','imul','div','mul','bswap','nop',
|
||||
/* Memory instructions */
|
||||
'lea','mov','movsx','movsxd','movzx','xlatb','bound','xchg','xadd','cmpxchg','cmpxchg8b','cmpxchg16b',
|
||||
/* Stack instructions */
|
||||
'push','pop','pusha','popa','pushad','popad','pushf','popf','pushfd','popfd','pushfq','popfq',
|
||||
/* EFLAGS manipulations instructions */
|
||||
'clc','cld','stc','std','cmc','lahf','sahf',
|
||||
/* Prefix instructions */
|
||||
'lock','rep','repe','repz','repne','repnz',
|
||||
/* String instructions */
|
||||
'cmps','cmpsb','cmpsw',/*'cmpsd',*/ 'cmpsq', /*CMPSD conflicts with the SSE2 instructions of the same name*/
|
||||
'movs','movsb','movsw',/*'movsd',*/ 'movsq', /*MOVSD conflicts with the SSE2 instructions of the same name*/
|
||||
'scas','scasb','scasw','scasd','scasq',
|
||||
'stos','stosb','stosw','stosd','stosq',
|
||||
'lods','lodsb','lodsw','lodsd','lodsq',
|
||||
/* Information instructions */
|
||||
'cpuid','rdtsc','rdtscp','rdpmc','xgetbv',
|
||||
'sgdt','sidt','sldt','smsw','str','lar',
|
||||
/* LWP instructions */
|
||||
'llwpcb','slwpcb','lwpval','lwpins',
|
||||
/* Instructions from miscellaneous extensions */
|
||||
'crc32','popcnt','lzcnt','tzcnt','movbe','pclmulqdq','rdrand',
|
||||
/* FSGSBASE instructions */
|
||||
'rdfsbase','rdgsbase','wrfsbase','wrgsbase',
|
||||
/* BMI1 instructions */
|
||||
'andn','bextr','blsi','blsmk','blsr',
|
||||
/* BMI2 instructions */
|
||||
'bzhi','mulx','pdep','pext','rorx','sarx','shlx','shrx',
|
||||
/* TBM instructions */
|
||||
'blcfill','blci','blcic','blcmsk','blcs','blsfill','blsic','t1mskc','tzmsk',
|
||||
/* Legacy instructions */
|
||||
'arpl','ud2','lds','les','lfs','lgs','lss','lsl','verr','verw',
|
||||
/* Privileged instructions */
|
||||
'cli','sti','clts','hlt','rsm','in','insb','insw','insd',
|
||||
'out','outsb','outsw','outsd','clflush','invd','invlpg','invpcid','wbinvd',
|
||||
'iret','iretd','iretq','sysexit','sysret','lidt','lgdt','lldt','lmsw','ltr',
|
||||
'monitor','mwait','rdmsr','wrmsr','swapgs',
|
||||
'fxsave','fxsave64','fxrstor','fxrstor64',
|
||||
'xsave','xsaveopt','xrstor','xsetbv','getsec',
|
||||
/* VMX instructions */
|
||||
'invept','invvpid','vmcall','vmclear','vmlaunch','vmresume',
|
||||
'vmptrld','vmptrst','vmread','vmwrite','vmxoff','vmxon',
|
||||
/* SVM (AMD-V) instructions */
|
||||
'invlpga','skinit','clgi','stgi','vmload','vmsave','vmmcall','vmrun'
|
||||
),
|
||||
/*FPU*/
|
||||
2 => array(
|
||||
|
@ -87,56 +173,350 @@ $language_data = array (
|
|||
'fsavew','fscale','fsqrt','fst','fstcw','fstenv','fstenvw','fstp','fstsw','fsub','fsubp',
|
||||
'fsubr','fsubrp','ftst','fwait','fxam','fxch','fxtract','fyl2x','fyl2xp1',
|
||||
'fsetpm','fcos','fldenvd','fnsaved','fnstenvd','fprem1','frstord','fsaved','fsin','fsincos',
|
||||
'fstenvd','fucom','fucomp','fucompp'
|
||||
'fstenvd','fucom','fucomp','fucompp','ffreep',
|
||||
/* FCMOV instructions */
|
||||
'fcomi','fcomip','fucomi','fucomip',
|
||||
'fcmovb','fcmove','fcmovbe','fcmovu','fcmovnb','fcmovne','fcmovnbe','fcmovnu',
|
||||
/* SSE3 instructions */
|
||||
'fisttp'
|
||||
),
|
||||
/*SIMD*/
|
||||
3 => array(
|
||||
/* MMX instructions */
|
||||
'movd','movq',
|
||||
'paddb','paddw','paddd','paddsb','paddsw','paddusb','paddusw',
|
||||
'psubb','psubw','psubd','psubsb','psubsw','psubusb','psubusw',
|
||||
'pand','pandn','por','pxor',
|
||||
'pcmpeqb','pcmpeqd','pcmpeqw','pcmpgtb','pcmpgtd','pcmpgtw',
|
||||
'pmaddwd','pmulhw','pmullw',
|
||||
'psllw','pslld','psllq','psrlw','psrld','psrlq','psraw','psrad',
|
||||
'packuswb','packsswb','packssdw',
|
||||
'punpcklbw','punpcklwd','punpckldq','punpckhbw','punpckhwd','punpckhdq',
|
||||
'emms',
|
||||
/* MMX+ instructions */
|
||||
'pavgb','pavgw',
|
||||
'pextrw','pinsrw','pmovmskb',
|
||||
'pmaxsw','pmaxub','pminsw','pminub',
|
||||
'pmulhuw','psadbw','pshufw',
|
||||
'prefetchnta','prefetcht0','prefetcht1','prefetcht2',
|
||||
'maskmovq','movntq','sfence',
|
||||
/* EMMX instructions (only available on Cyrix MediaGXm) */
|
||||
'paddsiw','psubsiw',
|
||||
/*'pmulhrw',*/'pmachriw','pmulhriw', /* PMULHRW conflicts with the 3dnow! instruction of the same name */
|
||||
'pmagw','pdistib','paveb',
|
||||
'pmvzb','pmvnzb','pmvlzb','pmvgezb',
|
||||
/* 3dnow! instructions! */
|
||||
'pfacc','pfadd','pfsub','pfsubr','pfmul',
|
||||
'pfcmpeq','pfcmpge','pfcmpgt',
|
||||
'pfmax','pfmin',
|
||||
'pfrcp','pfrcpit1','pfrcpit2','pfrsqit1','pfrsqrt',
|
||||
'pi2fd','pf2id',
|
||||
'pavgusb','pmulhrw',
|
||||
'femms',
|
||||
/* 3dnow!+ instructions */
|
||||
'pfnacc','pfpnacc','pi2fw','pf2iw','pswapd',
|
||||
/* 3dnow! Geode instructions */
|
||||
'pfrsqrtv','pfrcpv',
|
||||
/* 3dnow! Prefetch instructions */
|
||||
'prefetch','prefetchw',
|
||||
/* SSE instructions */
|
||||
'addss','addps','subss','subps',
|
||||
'mulss','mulps','divss','divps','sqrtss','sqrtps',
|
||||
'rcpss','rcpps','rsqrtss','rsqrtps',
|
||||
'maxss','maxps','minss','minps',
|
||||
'cmpss','comiss','ucomiss','cmpps',
|
||||
'cmpeqss','cmpltss','cmpless','cmpunordss','cmpneqss','cmpnltss','cmpnless','cmpordss',
|
||||
'cmpeqps','cmpltps','cmpleps','cmpunordps','cmpneqps','cmpnltps','cmpnleps','cmpordps',
|
||||
'andnps','andps','orps','xorps',
|
||||
'cvtsi2ss','cvtss2si','cvttss2si',
|
||||
'cvtpi2ps','cvtps2pi','cvttps2pi',
|
||||
'movss','movlps','movhps','movlhps','movhlps','movaps','movups','movntps','movmskps',
|
||||
'shufps','unpckhps','unpcklps',
|
||||
'ldmxcsr','stmxcsr',
|
||||
/* SSE2 instructions */
|
||||
'addpd','addsd','subpd','subsd',
|
||||
'mulsd','mulpd','divsd','divpd','sqrtsd','sqrtpd',
|
||||
'maxsd','maxpd','minsd','minpd',
|
||||
'cmpsd','comisd','ucomisd','cmppd',
|
||||
'cmpeqsd','cmpltsd','cmplesd','cmpunordsd','cmpneqsd','cmpnltsd','cmpnlesd','cmpordsd',
|
||||
'cmpeqpd','cmpltpd','cmplepd','cmpunordpd','cmpneqpd','cmpnltpd','cmpnlepd','cmpordpd',
|
||||
'andnpd','andpd','orpd','xorpd',
|
||||
'cvtsd2ss','cvtpd2ps','cvtss2sd','cvtps2pd',
|
||||
'cvtdq2ps','cvtps2dq','cvttps2dq',
|
||||
'cvtdq2pd','cvtpd2dq','cvttpd2dq',
|
||||
'cvtsi2sd','cvtsd2si','cvttsd2si',
|
||||
'cvtpi2pd','cvtpd2pi','cvttpd2pi',
|
||||
'movsd','movlpd','movhpd','movapd','movupd','movntpd','movmskpd',
|
||||
'shufpd','unpckhpd','unpcklpd',
|
||||
'movnti','movdqa','movdqu','movntdq','maskmovdqu',
|
||||
'movdq2q','movq2dq',
|
||||
'paddq','psubq','pmuludq',
|
||||
'pslldq','psrldq',
|
||||
'punpcklqdq','punpckhqdq',
|
||||
'pshufhw','pshuflw','pshufd',
|
||||
'lfence','mfence',
|
||||
/* SSE3 instructions */
|
||||
'addsubps','addsubpd',
|
||||
'haddps','haddpd','hsubps','hsubpd',
|
||||
'movsldup','movshdup','movddup',
|
||||
'lddqu',
|
||||
/* SSSE3 instructions */
|
||||
'psignb','psignw','psignd',
|
||||
'pabsb','pabsw','pabsd',
|
||||
'palignr','pshufb',
|
||||
'pmulhrsw','pmaddubsw',
|
||||
'phaddw','phaddd','phaddsw',
|
||||
'phsubw','phsubd','phsubsw',
|
||||
/* SSE4A instructions */
|
||||
'extrq','insertq','movntsd','movntss',
|
||||
/* SSE4.1 instructions */
|
||||
'mpsadbw','phminposuw',
|
||||
'pmuldq','pmulld',
|
||||
'dpps','dppd',
|
||||
'blendps','blendpd','blendvps','blendvpd','pblendvb','pblendw',
|
||||
'pmaxsb','pmaxuw','pmaxsd','pmaxud','pminsb','pminuw','pminsd','pminud',
|
||||
'roundps','roundss','roundpd','roundsd',
|
||||
'insertps','pinsrb','pinsrd','pinsrq',
|
||||
'extractps','pextrb','pextrd','pextrq',
|
||||
'pmovsxbw','pmovsxbd','pmovsxbq','pmovsxwd','pmovsxwq','pmovsxdq',
|
||||
'pmovzxbw','pmovzxbd','pmovzxbq','pmovzxwd','pmovzxwq','pmovzxdq',
|
||||
'ptest',
|
||||
'pcmpeqq',
|
||||
'packusdw',
|
||||
'movntdqa',
|
||||
/* SSE4.2 instructions */
|
||||
'pcmpgtq',
|
||||
'pcmpestri','pcmpestrm','pcmpistri','pcmpistrm',
|
||||
/* AES instructions */
|
||||
'aesenc','aesenclast','aesdec','aesdeclast','aeskeygenassist','aesimc',
|
||||
/* VIA Padlock instructions */
|
||||
'xcryptcbc','xcryptcfb','xcryptctr','xcryptecb','xcryptofb',
|
||||
'xsha1','xsha256','montmul','xstore',
|
||||
/* AVX instructions */
|
||||
'vaddss','vaddps','vaddsd','vaddpd','vsubss','vsubps','vsubsd','vsubpd',
|
||||
'vaddsubps','vaddsubpd',
|
||||
'vhaddps','vhaddpd','vhsubps','vhsubpd',
|
||||
'vmulss','vmulps','vmulsd','vmulpd',
|
||||
'vmaxss','vmaxps','vmaxsd','vmaxpd','vminss','vminps','vminsd','vminpd',
|
||||
'vandps','vandpd','vandnps','vandnpd','vorps','vorpd','vxorps','vxorpd',
|
||||
'vblendps','vblendpd','vblendvps','vblendvpd',
|
||||
'vcmpss','vcomiss','vucomiss','vcmpsd','vcomisd','vucomisd','vcmpps','vcmppd',
|
||||
'vcmpeqss','vcmpltss','vcmpless','vcmpunordss','vcmpneqss','vcmpnltss','vcmpnless','vcmpordss',
|
||||
'vcmpeq_uqss','vcmpngess','vcmpngtss','vcmpfalsess','vcmpneq_oqss','vcmpgess','vcmpgtss','vcmptruess',
|
||||
'vcmpeq_osss','vcmplt_oqss','vcmple_oqss','vcmpunord_sss','vcmpneq_usss','vcmpnlt_uqss','vcmpnle_uqss','vcmpord_sss',
|
||||
'vcmpeq_usss','vcmpnge_uqss','vcmpngt_uqss','vcmpfalse_osss','vcmpneq_osss','vcmpge_oqss','vcmpgt_oqss','vcmptrue_usss',
|
||||
'vcmpeqps','vcmpltps','vcmpleps','vcmpunordps','vcmpneqps','vcmpnltps','vcmpnleps','vcmpordps',
|
||||
'vcmpeq_uqps','vcmpngeps','vcmpngtps','vcmpfalseps','vcmpneq_oqps','vcmpgeps','vcmpgtps','vcmptrueps',
|
||||
'vcmpeq_osps','vcmplt_oqps','vcmple_oqps','vcmpunord_sps','vcmpneq_usps','vcmpnlt_uqps','vcmpnle_uqps','vcmpord_sps',
|
||||
'vcmpeq_usps','vcmpnge_uqps','vcmpngt_uqps','vcmpfalse_osps','vcmpneq_osps','vcmpge_oqps','vcmpgt_oqps','vcmptrue_usps',
|
||||
'vcmpeqsd','vcmpltsd','vcmplesd','vcmpunordsd','vcmpneqsd','vcmpnltsd','vcmpnlesd','vcmpordsd',
|
||||
'vcmpeq_uqsd','vcmpngesd','vcmpngtsd','vcmpfalsesd','vcmpneq_oqsd','vcmpgesd','vcmpgtsd','vcmptruesd',
|
||||
'vcmpeq_ossd','vcmplt_oqsd','vcmple_oqsd','vcmpunord_ssd','vcmpneq_ussd','vcmpnlt_uqsd','vcmpnle_uqsd','vcmpord_ssd',
|
||||
'vcmpeq_ussd','vcmpnge_uqsd','vcmpngt_uqsd','vcmpfalse_ossd','vcmpneq_ossd','vcmpge_oqsd','vcmpgt_oqsd','vcmptrue_ussd',
|
||||
'vcmpeqpd','vcmpltpd','vcmplepd','vcmpunordpd','vcmpneqpd','vcmpnltpd','vcmpnlepd','vcmpordpd',
|
||||
'vcmpeq_uqpd','vcmpngepd','vcmpngtpd','vcmpfalsepd','vcmpneq_oqpd','vcmpgepd','vcmpgtpd','vcmptruepd',
|
||||
'vcmpeq_ospd','vcmplt_oqpd','vcmple_oqpd','vcmpunord_spd','vcmpneq_uspd','vcmpnlt_uqpd','vcmpnle_uqpd','vcmpord_spd',
|
||||
'vcmpeq_uspd','vcmpnge_uqpd','vcmpngt_uqpd','vcmpfalse_ospd','vcmpneq_ospd','vcmpge_oqpd','vcmpgt_oqpd','vcmptrue_uspd',
|
||||
'vcvtsd2ss','vcvtpd2ps','vcvtss2sd','vcvtps2pd',
|
||||
'vcvtsi2ss','vcvtss2si','vcvttss2si',
|
||||
'vcvtpi2ps','vcvtps2pi','vcvttps2pi',
|
||||
'vcvtdq2ps','vcvtps2dq','vcvttps2dq',
|
||||
'vcvtdq2pd','vcvtpd2dq','vcvttpd2dq',
|
||||
'vcvtsi2sd','vcvtsd2si','vcvttsd2si',
|
||||
'vcvtpi2pd','vcvtpd2pi','vcvttpd2pi',
|
||||
'vdivss','vdivps','vdivsd','vdivpd','vsqrtss','vsqrtps','vsqrtsd','vsqrtpd',
|
||||
'vdpps','vdppd',
|
||||
'vmaskmovps','vmaskmovpd',
|
||||
'vmovss','vmovsd','vmovaps','vmovapd','vmovups','vmovupd','vmovntps','vmovntpd',
|
||||
'vmovhlps','vmovlhps','vmovlps','vmovlpd','vmovhps','vmovhpd',
|
||||
'vmovsldup','vmovshdup','vmovddup',
|
||||
'vmovmskps','vmovmskpd',
|
||||
'vroundss','vroundps','vroundsd','vroundpd',
|
||||
'vrcpss','vrcpps','vrsqrtss','vrsqrtps',
|
||||
'vunpcklps','vunpckhps','vunpcklpd','vunpckhpd',
|
||||
'vbroadcastss','vbroadcastsd','vbroadcastf128',
|
||||
'vextractps','vinsertps','vextractf128','vinsertf128',
|
||||
'vshufps','vshufpd','vpermilps','vpermilpd','vperm2f128',
|
||||
'vtestps','vtestpd',
|
||||
'vpaddb','vpaddusb','vpaddsb','vpaddw','vpaddusw','vpaddsw','vpaddd','vpaddq',
|
||||
'vpsubb','vpsubusb','vpsubsb','vpsubw','vpsubusw','vpsubsw','vpsubd','vpsubq',
|
||||
'vphaddw','vphaddsw','vphaddd','vphsubw','vphsubsw','vphsubd',
|
||||
'vpsllw','vpslld','vpsllq','vpsrlw','vpsrld','vpsrlq','vpsraw','vpsrad',
|
||||
'vpand','vpandn','vpor','vpxor',
|
||||
'vpblendwb','vpblendw',
|
||||
'vpsignb','vpsignw','vpsignd',
|
||||
'vpavgb','vpavgw',
|
||||
'vpabsb','vpabsw','vpabsd',
|
||||
'vmovd','vmovq','vmovdqa','vmovdqu','vlddqu','vmovntdq','vmovntdqa','vmaskmovdqu',
|
||||
'vpmovsxbw','vpmovsxbd','vpmovsxbq','vpmovsxwd','vpmovsxwq','vpmovsxdq',
|
||||
'vpmovzxbw','vpmovzxbd','vpmovzxbq','vpmovzxwd','vpmovzxwq','vpmovzxdq',
|
||||
'vpackuswb','vpacksswb','vpackusdw','vpackssdw',
|
||||
'vpcmpeqb','vpcmpeqw','vpcmpeqd','vpcmpeqq','vpcmpgtb','vpcmpgtw','vpcmpgtd','vpcmpgtq',
|
||||
'vpmaddubsw','vpmaddwd',
|
||||
'vpmullw','vpmulhuw','vpmulhw','vpmulhrsw','vpmulld','vpmuludq','vpmuldq',
|
||||
'vpmaxub','vpmaxsb','vpmaxuw','vpmaxsw','vpmaxud','vpmaxsd',
|
||||
'vpminub','vpminsb','vpminuw','vpminsw','vpminud','vpminsd',
|
||||
'vpmovmskb','vptest',
|
||||
'vpunpcklbw','vpunpcklwd','vpunpckldq','vpunpcklqdq',
|
||||
'vpunpckhbw','vpunpckhwd','vpunpckhdq','vpunpckhqdq',
|
||||
'vpslldq','vpsrldq','vpalignr',
|
||||
'vpshufb','vpshuflw','vpshufhw','vpshufd',
|
||||
'vpextrb','vpextrw','vpextrd','vpextrq','vpinsrb','vpinsrw','vpinsrd','vpinsrq',
|
||||
'vpsadbw','vmpsadbw','vphminposuw',
|
||||
'vpcmpestri','vpcmpestrm','vpcmpistri','vpcmpistrm',
|
||||
'vpclmulqdq','vaesenc','vaesenclast','vaesdec','vaesdeclast','vaeskeygenassist','vaesimc',
|
||||
'vldmxcsr','vstmxcsr','vzeroall','vzeroupper',
|
||||
/* AVX2 instructions */
|
||||
'vbroadcasti128','vpbroadcastb','vpbroadcastw','vpbroadcastd','vpbroadcastq',
|
||||
'vpblendd',
|
||||
'vpermd','vpermq','vperm2i128',
|
||||
'vextracti128','vinserti128',
|
||||
'vpmaskmovd','vpmaskmovq',
|
||||
'vpsllvd','vpsllvq','vpsravd','vpsrlvd',
|
||||
'vpgatherdd','vpgatherqd','vgatherdq','vgatherqq',
|
||||
'vpermps','vpermpd',
|
||||
'vgatherdpd','vgatherqpd','vgatherdps','vgatherqps',
|
||||
/* XOP instructions */
|
||||
'vfrczss','vfrczps','vfrczsd','vfrczpd',
|
||||
'vpermil2ps','vperlil2pd',
|
||||
'vpcomub','vpcomb','vpcomuw','vpcomw','vpcomud','vpcomd','vpcomuq','vpcomq',
|
||||
'vphaddubw','vphaddbw','vphaddubd','vphaddbd','vphaddubq','vphaddbq',
|
||||
'vphadduwd','vphaddwd','vphadduwq','vphaddwq','vphaddudq','vphadddq',
|
||||
'vphsubbw','vphsubwd','vphsubdq',
|
||||
'vpmacsdd','vpmacssdd','vpmacsdql','vpmacssdql','vpmacsdqh','vpmacssdqh',
|
||||
'vpmacsww','vpmacssww','vpmacswd','vpmacsswd',
|
||||
'vpmadcswd','vpmadcsswd',
|
||||
'vpcmov','vpperm',
|
||||
'vprotb','vprotw','vprotd','vprotq',
|
||||
'vpshab','vpshaw','vpshad','vpshaq',
|
||||
'vpshlb','vpshlw','vpshld','vpshlq',
|
||||
/* CVT16 instructions */
|
||||
'vcvtph2ps','vcvtps2ph',
|
||||
/* FMA4 instructions */
|
||||
'vfmaddss','vfmaddps','vfmaddsd','vfmaddpd',
|
||||
'vfmsubss','vfmsubps','vfmsubsd','vfmsubpd',
|
||||
'vnfmaddss','vnfmaddps','vnfmaddsd','vnfmaddpd',
|
||||
'vnfmsubss','vnfmsubps','vnfmsubsd','vnfmsubpd',
|
||||
'vfmaddsubps','vfmaddsubpd','vfmsubaddps','vfmsubaddpd',
|
||||
/* FMA3 instructions */
|
||||
'vfmadd132ss','vfmadd213ss','vfmadd231ss',
|
||||
'vfmadd132ps','vfmadd213ps','vfmadd231ps',
|
||||
'vfmadd132sd','vfmadd213sd','vfmadd231sd',
|
||||
'vfmadd132pd','vfmadd213pd','vfmadd231pd',
|
||||
'vfmaddsub132ps','vfmaddsub213ps','vfmaddsub231ps',
|
||||
'vfmaddsub132pd','vfmaddsub213pd','vfmaddsub231pd',
|
||||
'vfmsubadd132ps','vfmsubadd213ps','vfmsubadd231ps',
|
||||
'vfmsubadd132pd','vfmsubadd213pd','vfmsubadd231pd',
|
||||
'vfmsub132ss','vfmsub213ss','vfmsub231ss',
|
||||
'vfmsub132ps','vfmsub213ps','vfmsub231ps',
|
||||
'vfmsub132sd','vfmsub213sd','vfmsub231sd',
|
||||
'vfmsub132pd','vfmsub213pd','vfmsub231pd',
|
||||
'vfnmadd132ss','vfnmadd213ss','vfnmadd231ss',
|
||||
'vfnmadd132ps','vfnmadd213ps','vfnmadd231ps',
|
||||
'vfnmadd132sd','vfnmadd213sd','vfnmadd231sd',
|
||||
'vfnmadd132pd','vfnmadd213pd','vfnmadd231pd',
|
||||
'vfnmsub132ss','vfnmsub213ss','vfnmsub231ss',
|
||||
'vfnmsub132ps','vfnmsub213ps','vfnmsub231ps',
|
||||
'vfnmsub132sd','vfnmsub213sd','vfnmsub231sd',
|
||||
'vfnmsub132pd','vfnmsub213pd','vfnmsub231pd'
|
||||
),
|
||||
/*registers*/
|
||||
3 => array(
|
||||
'ah','al','ax','bh','bl','bp','bx','ch','cl','cr0','cr2','cr3','cs','cx','dh','di','dl',
|
||||
'dr0','dr1','dr2','dr3','dr6','dr7','ds','dx','eax','ebp','ebx','ecx','edi','edx',
|
||||
'es','esi','esp','fs','gs','si','sp','ss','st','tr3','tr4','tr5','tr6','tr7'
|
||||
4 => array(
|
||||
/* General-Purpose Registers */
|
||||
'al','ah','bl','bh','cl','ch','dl','dh','sil','dil','bpl','spl',
|
||||
'r8b','r9b','r10b','r11b','r12b','r13b','r14b','r15b',
|
||||
'ax','bx','cx','dx','si','di','bp','sp',
|
||||
'r8w','r9w','r10w','r11w','r12w','r13w','r14w','r15w',
|
||||
'eax','ebx','ecx','edx','esi','edi','ebp','esp',
|
||||
'r8d','r9d','r10d','r11d','r12d','r13d','r14d','r15d',
|
||||
'rax','rcx','rdx','rbx','rsp','rbp','rsi','rdi',
|
||||
'r8','r9','r10','r11','r12','r13','r14','r15',
|
||||
/* Debug Registers */
|
||||
'dr0','dr1','dr2','dr3','dr6','dr7',
|
||||
/* Control Registers */
|
||||
'cr0','cr2','cr3','cr4','cr8',
|
||||
/* Test Registers (Supported on Intel 486 only) */
|
||||
'tr3','tr4','tr5','tr6','tr7',
|
||||
/* Segment Registers */
|
||||
'cs','ds','es','fs','gs','ss',
|
||||
/* FPU Registers */
|
||||
'st','st0','st1','st2','st3','st4','st5','st6','st7',
|
||||
/* MMX Registers */
|
||||
'mm0','mm1','mm2','mm3','mm4','mm5','mm6','mm7',
|
||||
/* SSE Registers */
|
||||
'xmm0','xmm1','xmm2','xmm3','xmm4','xmm5','xmm6','xmm7',
|
||||
'xmm8','xmm9','xmm10','xmm11','xmm12','xmm13','xmm14','xmm15',
|
||||
/* AVX Registers */
|
||||
'ymm0','ymm1','ymm2','ymm3','ymm4','ymm5','ymm6','ymm7',
|
||||
'ymm8','ymm9','ymm10','ymm11','ymm12','ymm13','ymm14','ymm15'
|
||||
),
|
||||
/*Directive*/
|
||||
4 => array(
|
||||
'186','286','286c','286p','287','386','386c','386p','387','486','486p',
|
||||
'8086','8087','alpha','break','code','const','continue','cref','data','data?',
|
||||
'dosseg','else','elseif','endif','endw','err','err1','err2','errb',
|
||||
'errdef','errdif','errdifi','erre','erridn','erridni','errnb','errndef',
|
||||
'errnz','exit','fardata','fardata?','if','lall','lfcond','list','listall',
|
||||
'listif','listmacro','listmacroall',' model','no87','nocref','nolist',
|
||||
'nolistif','nolistmacro','radix','repeat','sall','seq','sfcond','stack',
|
||||
'startup','tfcond','type','until','untilcxz','while','xall','xcref',
|
||||
'xlist','alias','align','assume','catstr','comm','comment','db','dd','df','dq',
|
||||
'dt','dup','dw','echo','elseif1','elseif2','elseifb','elseifdef','elseifdif',
|
||||
'elseifdifi','elseife','elseifidn','elseifidni','elseifnb','elseifndef','end',
|
||||
'endm','endp','ends','eq',' equ','even','exitm','extern','externdef','extrn','for',
|
||||
'forc','ge','goto','group','high','highword','if1','if2','ifb','ifdef','ifdif',
|
||||
'ifdifi','ife',' ifidn','ifidni','ifnb','ifndef','include','includelib','instr','invoke',
|
||||
'irp','irpc','label','le','length','lengthof','local','low','lowword','lroffset',
|
||||
'macro','mask','mod','msfloat','name','ne','offset','opattr','option','org','%out',
|
||||
'page','popcontext','private','proc','proto','ptr','public','purge','pushcontext','record',
|
||||
'rept','seg','segment','short','size','sizeof','sizestr','struc','struct',
|
||||
'substr','subtitle','subttl','textequ','this','title','typedef','union','width',
|
||||
'.model', '.stack', '.code', '.data'
|
||||
5 => array(
|
||||
'db','dw','dd','dq','dt','do','dy',
|
||||
'resb','resw','resd','resq','rest','reso','resy','incbin','equ','times','safeseh',
|
||||
'__utf16__','__utf32__',
|
||||
'default','cpu','float','start','imagebase','osabi',
|
||||
'..start','..imagebase','..gotpc','..gotoff','..gottpoff','..got','..plt','..sym','..tlsie',
|
||||
'section','segment','__sect__','group','absolute',
|
||||
'.bss','.comment','.data','.lbss','.ldata','.lrodata','.rdata','.rodata','.tbss','.tdata','.text',
|
||||
'alloc','bss','code','exec','data','noalloc','nobits','noexec','nowrite','progbits','rdata','tls','write',
|
||||
'private','public','common','stack','overlay','class',
|
||||
'extern','global','import','export',
|
||||
'%define','%idefine','%xdefine','%ixdefine','%assign','%undef',
|
||||
'%defstr','%idefstr','%deftok','%ideftok',
|
||||
'%strcat','%strlen','%substr',
|
||||
'%macro','%imacro','%rmacro','%exitmacro','%endmacro','%unmacro',
|
||||
'%if','%ifn','%elif','%elifn','%else','%endif',
|
||||
'%ifdef','%ifndef','%elifdef','%elifndef',
|
||||
'%ifmacro','%ifnmacro','%elifmacro','%elifnmacro',
|
||||
'%ifctx','%ifnctx','%elifctx','%elifnctx',
|
||||
'%ifidn','%ifnidn','%elifidn','%elifnidn',
|
||||
'%ifidni','%ifnidni','%elifidni','%elifnidni',
|
||||
'%ifid','%ifnid','%elifid','%elifnid',
|
||||
'%ifnum','%ifnnum','%elifnum','%elifnnum',
|
||||
'%ifstr','%ifnstr','%elifstr','%elifnstr',
|
||||
'%iftoken','%ifntoken','%eliftoken','%elifntoken',
|
||||
'%ifempty','%ifnempty','%elifempty','%elifnempty',
|
||||
'%ifenv','%ifnenv','%elifenv','%elifnenv',
|
||||
'%rep','%exitrep','%endrep',
|
||||
'%while','%exitwhile','%endwhile',
|
||||
'%include','%pathsearch','%depend','%use',
|
||||
'%push','%pop','%repl','%arg','%local','%stacksize','flat','flat64','large','small',
|
||||
'%error','%warning','%fatal',
|
||||
'%00','.nolist','%rotate','%line','%!','%final','%clear',
|
||||
'struc','endstruc','istruc','at','iend',
|
||||
'align','alignb','sectalign',
|
||||
'bits','use16','use32','use64',
|
||||
'__nasm_major__','__nasm_minor__','__nasm_subminor__','___nasm_patchlevel__',
|
||||
'__nasm_version_id__','__nasm_ver__',
|
||||
'__file__','__line__','__pass__','__bits__','__output_format__',
|
||||
'__date__','__time__','__date_num__','__time_num__','__posix_time__',
|
||||
'__utc_date__','__utc_time__','__utc_date_num__','__utc_time_num__',
|
||||
'__float_daz__','__float_round__','__float__',
|
||||
/* Keywords from standard packages */
|
||||
'__use_altreg__',
|
||||
'__use_smartalign__','smartalign','__alignmode__',
|
||||
'__use_fp__','__infinity__','__nan__','__qnan__','__snan__',
|
||||
'__float8__','__float16__','__float32__','__float64__','__float80m__','__float80e__','__float128l__','__float128h__'
|
||||
),
|
||||
/*Operands*/
|
||||
5 => array(
|
||||
'@b','@f','addr','basic','byte','c','carry?','dword',
|
||||
'far','far16','fortran','fword','near','near16','overflow?','parity?','pascal','qword',
|
||||
'real4',' real8','real10','sbyte','sdword','sign?','stdcall','sword','syscall','tbyte',
|
||||
'vararg','word','zero?','flat','near32','far32',
|
||||
'abs','all','assumes','at','casemap','common','compact',
|
||||
'cpu','dotname','emulator','epilogue','error','export','expr16','expr32','farstack',
|
||||
'forceframe','huge','language','large','listing','ljmp','loadds','m510','medium','memory',
|
||||
'nearstack','nodotname','noemulator','nokeyword','noljmp','nom510','none','nonunique',
|
||||
'nooldmacros','nooldstructs','noreadonly','noscoped','nosignextend','nothing',
|
||||
'notpublic','oldmacros','oldstructs','os_dos','para','prologue',
|
||||
'readonly','req','scoped','setif2','smallstack','tiny','use16','use32','uses'
|
||||
6 => array(
|
||||
'a16','a32','a64','o16','o32','o64','strict',
|
||||
'byte','word','dword','qword','tword','oword','yword','nosplit',
|
||||
'%0','%1','%2','%3','%4','%5','%6','%7','%8','%9',
|
||||
'abs','rel',
|
||||
'seg','wrt'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'[', ']', '(', ')',
|
||||
'+', '-', '*', '/', '%',
|
||||
'.', ',', ';', ':'
|
||||
1 => array(
|
||||
'[', ']', '(', ')',
|
||||
'+', '-', '*', '/', '%',
|
||||
'.', ',', ';', ':'
|
||||
),
|
||||
2 => array(
|
||||
'$','$$','%+','%?','%??'
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
|
@ -144,19 +524,21 @@ $language_data = array (
|
|||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false
|
||||
5 => false,
|
||||
6 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #00007f; font-weight: bold;',
|
||||
2 => 'color: #0000ff; font-weight: bold;',
|
||||
3 => 'color: #00007f;',
|
||||
4 => 'color: #000000; font-weight: bold;',
|
||||
5 => 'color: #000000; font-weight: bold;'
|
||||
2 => 'color: #0000ff;',
|
||||
3 => 'color: #b00040;',
|
||||
4 => 'color: #46aa03; font-weight: bold;',
|
||||
5 => 'color: #0000ff; font-weight: bold;',
|
||||
6 => 'color: #0000ff; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
2 => 'color: #adadad; font-style: italic;',
|
||||
2 => 'color: #adadad; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
|
@ -168,16 +550,15 @@ $language_data = array (
|
|||
0 => 'color: #7f007f;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;'
|
||||
1 => 'color: #339933;',
|
||||
2 => 'color: #0000ff; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
// 0 => 'color: #0000ff;',
|
||||
// 1 => 'color: #0000ff;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
|
@ -187,7 +568,8 @@ $language_data = array (
|
|||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => ''
|
||||
5 => '',
|
||||
6 => ''
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_BIN_PREFIX_PERCENT |
|
||||
|
@ -203,10 +585,6 @@ $language_data = array (
|
|||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//Hex numbers
|
||||
// 0 => /* */ "(?<=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))(?:[0-9][0-9a-fA-F]{0,31}[hH]|0x[0-9a-fA-F]{1,32})(?=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))",
|
||||
//Binary numbers
|
||||
// 1 => "(?<=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))[01]{1,64}[bB](?=([\\s\\(\\)\\[\\],;.:+\\-\\/*]))"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
|
@ -221,5 +599,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Amit Gupta (http://blog.igeek.info/)
|
||||
* Copyright: (c) 2004 Amit Gupta (http://blog.igeek.info/), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/13
|
||||
*
|
||||
* ASP language file for GeSHi.
|
||||
|
@ -62,9 +62,8 @@ $language_data = array (
|
|||
),
|
||||
2 => array(
|
||||
'Null', 'Nothing', 'And',
|
||||
'False', '<%', '%>',
|
||||
'<script language=', '</script>',
|
||||
'True', 'var', 'Or', 'BOF', 'EOF',
|
||||
'False',
|
||||
'True', 'var', 'Or', 'BOF', 'EOF', 'xor',
|
||||
'Function', 'Class', 'New', 'Sub'
|
||||
),
|
||||
3 => array(
|
||||
|
@ -78,8 +77,12 @@ $language_data = array (
|
|||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>',
|
||||
';', ':', '?', '='
|
||||
1 => array(
|
||||
'<%', '%>'
|
||||
),
|
||||
0 => array(
|
||||
'(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>',
|
||||
';', ':', '?', '='),
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
|
@ -102,7 +105,7 @@ $language_data = array (
|
|||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #006600; font-weight:bold'
|
||||
0 => 'color: #006600; font-weight:bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #cc0000;'
|
||||
|
@ -114,7 +117,8 @@ $language_data = array (
|
|||
1 => 'color: #9900cc;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #006600; font-weight: bold'
|
||||
0 => 'color: #006600; font-weight: bold;',
|
||||
1 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
|
@ -147,7 +151,7 @@ $language_data = array (
|
|||
2 => array(
|
||||
'<script language="javascript" runat="server">' => '</script>'
|
||||
),
|
||||
3 => "/(<%=?)(?:\"[^\"]*?\"|\/\*(?!\*\/).*?\*\/|.)*?(%>|\Z)/sm"
|
||||
3 => "/(?P<start><%=?)(?:\"[^\"]*?\"|\/\*(?!\*\/).*?\*\/|.)*?(?P<end>%>|\Z)/sm"
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
0 => true,
|
||||
|
@ -156,5 +160,3 @@ $language_data = array (
|
|||
3 => true
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
1850
serendipity_event_geshi/geshi/asymptote.php
Normal file
1850
serendipity_event_geshi/geshi/asymptote.php
Normal file
File diff suppressed because it is too large
Load diff
510
serendipity_event_geshi/geshi/autoconf.php
Normal file
510
serendipity_event_geshi/geshi/autoconf.php
Normal file
|
@ -0,0 +1,510 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* autoconf.php
|
||||
* -----
|
||||
* Author: Mihai Vasilian (grayasm@gmail.com)
|
||||
* Copyright: (c) 2010 Mihai Vasilian
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/01/25
|
||||
*
|
||||
* autoconf language file for GeSHi.
|
||||
*
|
||||
***********************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Autoconf',
|
||||
'COMMENT_SINGLE' => array(2 => '#'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Single Line comment started by dnl
|
||||
3 => '/(?<!\$)\bdnl\b.*$/m',
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'AC_ACT_IFELSE',
|
||||
'AC_AIX',
|
||||
'AC_ALLOCA',
|
||||
'AC_ARG_ARRAY',
|
||||
'AC_ARG_ENABLE',
|
||||
'AC_ARG_PROGRAM',
|
||||
'AC_ARG_VAR',
|
||||
'AC_ARG_WITH',
|
||||
'AC_AUTOCONF_VERSION',
|
||||
'AC_BEFORE',
|
||||
'AC_C_BACKSLASH_A',
|
||||
'AC_C_BIGENDIAN',
|
||||
'AC_C_CHAR_UNSIGNED',
|
||||
'AC_C_CONST',
|
||||
'AC_C_CROSS',
|
||||
'AC_C_FLEXIBLE_ARRAY_MEMBER',
|
||||
'AC_C_INLINE',
|
||||
'AC_C_LONG_DOUBLE',
|
||||
'AC_C_PROTOTYPES',
|
||||
'AC_C_RESTRICT',
|
||||
'AC_C_STRINGIZE',
|
||||
'AC_C_TYPEOF',
|
||||
'AC_C_VARARRAYS',
|
||||
'AC_C_VOLATILE',
|
||||
'AC_CACHE_CHECK',
|
||||
'AC_CACHE_LOAD',
|
||||
'AC_CACHE_SAVE',
|
||||
'AC_CACHE_VAL',
|
||||
'AC_CANONICAL_BUILD',
|
||||
'AC_CANONICAL_HOST',
|
||||
'AC_CANONICAL_SYSTEM',
|
||||
'AC_CANONICAL_TARGET',
|
||||
'AC_CHAR_UNSIGNED',
|
||||
'AC_CHECK_ALIGNOF',
|
||||
'AC_CHECK_DECL',
|
||||
'AC_CHECK_DECLS',
|
||||
'AC_CHECK_DECLS_ONCE',
|
||||
'AC_CHECK_FILE',
|
||||
'AC_CHECK_FILES',
|
||||
'AC_CHECK_FUNC',
|
||||
'AC_CHECK_FUNCS',
|
||||
'AC_CHECK_FUNCS_ONCE',
|
||||
'AC_CHECK_HEADER',
|
||||
'AC_CHECK_HEADERS',
|
||||
'AC_CHECK_HEADERS_ONCE',
|
||||
'AC_CHECK_LIB',
|
||||
'AC_CHECK_MEMBER',
|
||||
'AC_CHECK_MEMBERS',
|
||||
'AC_CHECK_PROG',
|
||||
'AC_CHECK_PROGS',
|
||||
'AC_CHECK_SIZEOF',
|
||||
'AC_CHECK_TARGET_TOOL',
|
||||
'AC_CHECK_TARGET_TOOLS',
|
||||
'AC_CHECK_TOOL',
|
||||
'AC_CHECK_TOOLS',
|
||||
'AC_CHECK_TYPE',
|
||||
'AC_CHECK_TYPES',
|
||||
'AC_CHECKING',
|
||||
'AC_COMPILE_CHECK',
|
||||
'AC_COMPILE_IFELSE',
|
||||
'AC_COMPUTE_INT',
|
||||
'AC_CONFIG_AUX_DIR',
|
||||
'AC_CONFIG_COMMANDS',
|
||||
'AC_CONFIG_COMMANDS_POST',
|
||||
'AC_CONFIG_COMMANDS_PRE',
|
||||
'AC_CONFIG_FILES',
|
||||
'AC_CONFIG_HEADERS',
|
||||
'AC_CONFIG_ITEMS',
|
||||
'AC_CONFIG_LIBOBJ_DIR',
|
||||
'AC_CONFIG_LINKS',
|
||||
'AC_CONFIG_MACRO_DIR',
|
||||
'AC_CONFIG_SRCDIR',
|
||||
'AC_CONFIG_SUBDIRS',
|
||||
'AC_CONFIG_TESTDIR',
|
||||
'AC_CONST',
|
||||
'AC_COPYRIGHT',
|
||||
'AC_CROSS_CHECK',
|
||||
'AC_CYGWIN',
|
||||
'AC_DATAROOTDIR_CHECKED',
|
||||
'AC_DECL_SYS_SIGLIST',
|
||||
'AC_DECL_YYTEXT',
|
||||
'AC_DEFINE',
|
||||
'AC_DEFINE_UNQUOTED',
|
||||
'AC_DEFUN',
|
||||
'AC_DEFUN_ONCE',
|
||||
'AC_DIAGNOSE',
|
||||
'AC_DIR_HEADER',
|
||||
'AC_DISABLE_OPTION_CHECKING',
|
||||
'AC_DYNIX_SEQ',
|
||||
'AC_EGREP_CPP',
|
||||
'AC_EGREP_HEADER',
|
||||
'AC_EMXOS2',
|
||||
'AC_ENABLE',
|
||||
'AC_ERLANG_CHECK_LIB',
|
||||
'AC_ERLANG_NEED_ERL',
|
||||
'AC_ERLANG_NEED_ERLC',
|
||||
'AC_ERLANG_PATH_ERL',
|
||||
'AC_ERLANG_PATH_ERLC',
|
||||
'AC_ERLANG_SUBST_ERTS_VER',
|
||||
'AC_ERLANG_SUBST_INSTALL_LIB_DIR',
|
||||
'AC_ERLANG_SUBST_INSTALL_LIB_SUBDIR',
|
||||
'AC_ERLANG_SUBST_LIB_DIR',
|
||||
'AC_ERLANG_SUBST_ROOT_DIR',
|
||||
'AC_ERROR',
|
||||
'AC_EXEEXT',
|
||||
'AC_F77_DUMMY_MAIN',
|
||||
'AC_F77_FUNC',
|
||||
'AC_F77_LIBRARY_LDFLAGS',
|
||||
'AC_F77_MAIN',
|
||||
'AC_F77_WRAPPERS',
|
||||
'AC_FATAL',
|
||||
'AC_FC_FREEFORM',
|
||||
'AC_FC_FUNC',
|
||||
'AC_FC_LIBRARY_LDFLAGS',
|
||||
'AC_FC_MAIN',
|
||||
'AC_FC_SRCEXT',
|
||||
'AC_FC_WRAPPERS',
|
||||
'AC_FIND_X',
|
||||
'AC_FIND_XTRA',
|
||||
'AC_FOREACH',
|
||||
'AC_FUNC_ALLOCA',
|
||||
'AC_FUNC_CHECK',
|
||||
'AC_FUNC_CHOWN',
|
||||
'AC_FUNC_CLOSEDIR_VOID',
|
||||
'AC_FUNC_ERROR_AT_LINE',
|
||||
'AC_FUNC_FNMATCH',
|
||||
'AC_FUNC_FNMATCH_GNU',
|
||||
'AC_FUNC_FORK',
|
||||
'AC_FUNC_FSEEKO',
|
||||
'AC_FUNC_GETGROUPS',
|
||||
'AC_FUNC_GETLOADAVG',
|
||||
'AC_FUNC_GETMNTENT',
|
||||
'AC_FUNC_GETPGRP',
|
||||
'AC_FUNC_LSTAT',
|
||||
'AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK',
|
||||
'AC_FUNC_MALLOC',
|
||||
'AC_FUNC_MBRTOWC',
|
||||
'AC_FUNC_MEMCMP',
|
||||
'AC_FUNC_MKTIME',
|
||||
'AC_FUNC_MMAP',
|
||||
'AC_FUNC_OBSTACK',
|
||||
'AC_FUNC_REALLOC',
|
||||
'AC_FUNC_SELECT_ARGTYPES',
|
||||
'AC_FUNC_SETPGRP',
|
||||
'AC_FUNC_SETVBUF_REVERSED',
|
||||
'AC_FUNC_STAT',
|
||||
'AC_FUNC_STRCOLL',
|
||||
'AC_FUNC_STRERROR_R',
|
||||
'AC_FUNC_STRFTIME',
|
||||
'AC_FUNC_STRNLEN',
|
||||
'AC_FUNC_STRTOD',
|
||||
'AC_FUNC_STRTOLD',
|
||||
'AC_FUNC_UTIME_NULL',
|
||||
'AC_FUNC_VPRINTF',
|
||||
'AC_FUNC_WAIT3',
|
||||
'AC_GCC_TRADITIONAL',
|
||||
'AC_GETGROUPS_T',
|
||||
'AC_GETLOADAVG',
|
||||
'AC_GNU_SOURCE',
|
||||
'AC_HAVE_FUNCS',
|
||||
'AC_HAVE_HEADERS',
|
||||
'AC_HAVE_LIBRARY',
|
||||
'AC_HAVE_POUNDBANG',
|
||||
'AC_HEADER_ASSERT',
|
||||
'AC_HEADER_CHECK',
|
||||
'AC_HEADER_DIRENT',
|
||||
'AC_HEADER_EGREP',
|
||||
'AC_HEADER_MAJOR',
|
||||
'AC_HEADER_RESOLV',
|
||||
'AC_HEADER_STAT',
|
||||
'AC_HEADER_STDBOOL',
|
||||
'AC_HEADER_STDC',
|
||||
'AC_HEADER_SYS_WAIT',
|
||||
'AC_HEADER_TIME',
|
||||
'AC_HEADER_TIOCGWINSZ',
|
||||
'AC_HELP_STRING',
|
||||
'AC_INCLUDES_DEFAULT',
|
||||
'AC_INIT',
|
||||
'AC_INLINE',
|
||||
'AC_INT_16_BITS',
|
||||
'AC_IRIX_SUN',
|
||||
'AC_ISC_POSIX',
|
||||
'AC_LANG_ASSERT',
|
||||
'AC_LANG_C',
|
||||
'AC_LANG_CALL',
|
||||
'AC_LANG_CONFTEST',
|
||||
'AC_LANG_CPLUSPLUS',
|
||||
'AC_LANG_FORTRAN77',
|
||||
'AC_LANG_FUNC_LINK_TRY',
|
||||
'AC_LANG_POP',
|
||||
'AC_LANG_PROGRAM',
|
||||
'AC_LANG_PUSH',
|
||||
'AC_LANG_RESTORE',
|
||||
'AC_LANG_SAVE',
|
||||
'AC_LANG_SOURCE',
|
||||
'AC_LANG_WERROR',
|
||||
'AC_LIBOBJ',
|
||||
'AC_LIBSOURCE',
|
||||
'AC_LIBSOURCES',
|
||||
'AC_LINK_FILES',
|
||||
'AC_LINK_IFELSE',
|
||||
'AC_LN_S',
|
||||
'AC_LONG_64_BITS',
|
||||
'AC_LONG_DOUBLE',
|
||||
'AC_LONG_FILE_NAMES',
|
||||
'AC_MAJOR_HEADER',
|
||||
'AC_MEMORY_H',
|
||||
'AC_MINGW32',
|
||||
'AC_MINIX',
|
||||
'AC_MINUS_C_MINUS_O',
|
||||
'AC_MMAP',
|
||||
'AC_MODE_T',
|
||||
'AC_MSG_CHECKING',
|
||||
'AC_MSG_ERROR',
|
||||
'AC_MSG_FAILURE',
|
||||
'AC_MSG_NOTICE',
|
||||
'AC_MSG_RESULT',
|
||||
'AC_MSG_WARN',
|
||||
'AC_OBJEXT',
|
||||
'AC_OBSOLETE',
|
||||
'AC_OFF_T',
|
||||
'AC_OPENMP',
|
||||
'AC_OUTPUT',
|
||||
'AC_OUTPUT_COMMANDS',
|
||||
'AC_PACKAGE_BUGREPORT',
|
||||
'AC_PACKAGE_NAME',
|
||||
'AC_PACKAGE_STRING',
|
||||
'AC_PACKAGE_TARNAME',
|
||||
'AC_PACKAGE_URL',
|
||||
'AC_PACKAGE_VERSION',
|
||||
'AC_PATH_PROG',
|
||||
'AC_PATH_PROGS',
|
||||
'AC_PATH_PROGS_FEATURE_CHECK',
|
||||
'AC_PATH_TARGET_TOOL',
|
||||
'AC_PATH_TOOL',
|
||||
'AC_PATH_X',
|
||||
'AC_PATH_XTRA',
|
||||
'AC_PID_T',
|
||||
'AC_PREFIX',
|
||||
'AC_PREFIX_DEFAULT',
|
||||
'AC_PREFIX_PROGRAM',
|
||||
'AC_PREPROC_IFELSE',
|
||||
'AC_PREREQ',
|
||||
'AC_PRESERVE_HELP_ORDER',
|
||||
'AC_PROG_AWK',
|
||||
'AC_PROG_CC',
|
||||
'AC_PROG_CC_C89',
|
||||
'AC_PROG_CC_C99',
|
||||
'AC_PROG_CC_C_O',
|
||||
'AC_PROG_CC_STDC',
|
||||
'AC_PROG_CPP',
|
||||
'AC_PROG_CPP_WERROR',
|
||||
'AC_PROG_CXX',
|
||||
'AC_PROG_CXX_C_O',
|
||||
'AC_PROG_CXXCPP',
|
||||
'AC_PROG_EGREP',
|
||||
'AC_PROG_F77',
|
||||
'AC_PROG_F77_C_O',
|
||||
'AC_PROG_FC',
|
||||
'AC_PROG_FC_C_O',
|
||||
'AC_PROG_FGREP',
|
||||
'AC_PROG_GCC_TRADITIONAL',
|
||||
'AC_PROG_GREP',
|
||||
'AC_PROG_INSTALL',
|
||||
'AC_PROG_LEX',
|
||||
'AC_PROG_LN_S',
|
||||
'AC_PROG_MAKE_SET',
|
||||
'AC_PROG_MKDIR_P',
|
||||
'AC_PROG_OBJC',
|
||||
'AC_PROG_OBJCPP',
|
||||
'AC_PROG_OBJCXX',
|
||||
'AC_PROG_OBJCXXCPP',
|
||||
'AC_PROG_RANLIB',
|
||||
'AC_PROG_SED',
|
||||
'AC_PROG_YACC',
|
||||
'AC_PROGRAM_CHECK',
|
||||
'AC_PROGRAM_EGREP',
|
||||
'AC_PROGRAM_PATH',
|
||||
'AC_PROGRAMS_CHECK',
|
||||
'AC_PROGRAMS_PATH',
|
||||
'AC_REMOTE_TAPE',
|
||||
'AC_REPLACE_FNMATCH',
|
||||
'AC_REPLACE_FUNCS',
|
||||
'AC_REQUIRE',
|
||||
'AC_REQUIRE_AUX_FILE',
|
||||
'AC_REQUIRE_CPP',
|
||||
'AC_RESTARTABLE_SYSCALLS',
|
||||
'AC_RETSIGTYPE',
|
||||
'AC_REVISION',
|
||||
'AC_RSH',
|
||||
'AC_RUN_IFELSE',
|
||||
'AC_SCO_INTL',
|
||||
'AC_SEARCH_LIBS',
|
||||
'AC_SET_MAKE',
|
||||
'AC_SETVBUF_REVERSED',
|
||||
'AC_SIZE_T',
|
||||
'AC_SIZEOF_TYPE',
|
||||
'AC_ST_BLKSIZE',
|
||||
'AC_ST_BLOCKS',
|
||||
'AC_ST_RDEV',
|
||||
'AC_STAT_MACROS_BROKEN',
|
||||
'AC_STDC_HEADERS',
|
||||
'AC_STRCOLL',
|
||||
'AC_STRUCT_DIRENT_D_INO',
|
||||
'AC_STRUCT_DIRENT_D_TYPE',
|
||||
'AC_STRUCT_ST_BLKSIZE',
|
||||
'AC_STRUCT_ST_BLOCKS',
|
||||
'AC_STRUCT_ST_RDEV',
|
||||
'AC_STRUCT_TIMEZONE',
|
||||
'AC_STRUCT_TM',
|
||||
'AC_SUBST',
|
||||
'AC_SUBST_FILE',
|
||||
'AC_SYS_INTERPRETER',
|
||||
'AC_SYS_LARGEFILE',
|
||||
'AC_SYS_LONG_FILE_NAMES',
|
||||
'AC_SYS_POSIX_TERMIOS',
|
||||
'AC_SYS_RESTARTABLE_SYSCALLS',
|
||||
'AC_SYS_SIGLIST_DECLARED',
|
||||
'AC_TEST_CPP',
|
||||
'AC_TEST_PROGRAM',
|
||||
'AC_TIME_WITH_SYS_TIME',
|
||||
'AC_TIMEZONE',
|
||||
'AC_TRY_ACT',
|
||||
'AC_TRY_COMPILE',
|
||||
'AC_TRY_CPP',
|
||||
'AC_TRY_LINK',
|
||||
'AC_TRY_LINK_FUNC',
|
||||
'AC_TRY_RUN',
|
||||
'AC_TYPE_GETGROUPS',
|
||||
'AC_TYPE_INT16_T',
|
||||
'AC_TYPE_INT32_T',
|
||||
'AC_TYPE_INT64_T',
|
||||
'AC_TYPE_INT8_T',
|
||||
'AC_TYPE_INTMAX_T',
|
||||
'AC_TYPE_INTPTR_T',
|
||||
'AC_TYPE_LONG_DOUBLE',
|
||||
'AC_TYPE_LONG_DOUBLE_WIDER',
|
||||
'AC_TYPE_LONG_LONG_INT',
|
||||
'AC_TYPE_MBSTATE_T',
|
||||
'AC_TYPE_MODE_T',
|
||||
'AC_TYPE_OFF_T',
|
||||
'AC_TYPE_PID_T',
|
||||
'AC_TYPE_SIGNAL',
|
||||
'AC_TYPE_SIZE_T',
|
||||
'AC_TYPE_SSIZE_T',
|
||||
'AC_TYPE_UID_T',
|
||||
'AC_TYPE_UINT16_T',
|
||||
'AC_TYPE_UINT32_T',
|
||||
'AC_TYPE_UINT64_T',
|
||||
'AC_TYPE_UINT8_T',
|
||||
'AC_TYPE_UINTMAX_T',
|
||||
'AC_TYPE_UINTPTR_T',
|
||||
'AC_TYPE_UNSIGNED_LONG_LONG_INT',
|
||||
'AC_UID_T',
|
||||
'AC_UNISTD_H',
|
||||
'AC_USE_SYSTEM_EXTENSIONS',
|
||||
'AC_USG',
|
||||
'AC_UTIME_NULL',
|
||||
'AC_VALIDATE_CACHED_SYSTEM_TUPLE',
|
||||
'AC_VERBOSE',
|
||||
'AC_VFORK',
|
||||
'AC_VPRINTF',
|
||||
'AC_WAIT3',
|
||||
'AC_WARN',
|
||||
'AC_WARNING',
|
||||
'AC_WITH',
|
||||
'AC_WORDS_BIGENDIAN',
|
||||
'AC_XENIX_DIR',
|
||||
'AC_YYTEXT_POINTER',
|
||||
'AH_BOTTOM',
|
||||
'AH_HEADER',
|
||||
'AH_TEMPLATE',
|
||||
'AH_TOP',
|
||||
'AH_VERBATIM',
|
||||
'AU_ALIAS',
|
||||
'AU_DEFUN'),
|
||||
),
|
||||
'SYMBOLS' => array('(', ')', '[', ']', '!', '@', '%', '&', '*', '|', '/', '<', '>', ';;', '`'),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #00ffff;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666;',
|
||||
2 => 'color: #339900;',
|
||||
3 => 'color: #666666;',
|
||||
'MULTI' => 'color: #ff0000; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099;',
|
||||
1 => 'color: #000099;',
|
||||
2 => 'color: #660099;',
|
||||
3 => 'color: #660099;',
|
||||
4 => 'color: #660099;',
|
||||
5 => 'color: #006699;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #008000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #996600;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0000dd;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;',
|
||||
2 => 'color: #202020;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #008000;',
|
||||
1 => 'color: #000080;',
|
||||
2 => 'color: #000040;',
|
||||
3 => 'color: #000040;',
|
||||
4 => 'color: #008080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'COMMENTS' => array(
|
||||
'DISALLOWED_BEFORE' => '$'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![\.\-a-zA-Z0-9_\$\#])",
|
||||
'DISALLOWED_AFTER' => "(?![\.\-a-zA-Z0-9_%\\/])"
|
||||
)
|
||||
)
|
||||
);
|
371
serendipity_event_geshi/geshi/autohotkey.php
Normal file
371
serendipity_event_geshi/geshi/autohotkey.php
Normal file
|
@ -0,0 +1,371 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* autohotkey.php
|
||||
* --------
|
||||
* Author: Naveen Garg (naveen.garg@gmail.com)
|
||||
* Copyright: (c) 2009 Naveen Garg and GeSHi
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/06/11
|
||||
*
|
||||
* Autohotkey language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* Release 1.0.8.5 (2009/06/11)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* ----
|
||||
* Reference: http://www.autohotkey.com/docs/
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Autohotkey',
|
||||
'COMMENT_SINGLE' => array(
|
||||
1 => ';'
|
||||
),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'while','if','and','or','else','return'
|
||||
),
|
||||
2 => array(
|
||||
// built in variables
|
||||
'A_AhkPath','A_AhkVersion','A_AppData','A_AppDataCommon',
|
||||
'A_AutoTrim','A_BatchLines','A_CaretX','A_CaretY',
|
||||
'A_ComputerName','A_ControlDelay','A_Cursor','A_DD',
|
||||
'A_DDD','A_DDDD','A_DefaultMouseSpeed','A_Desktop',
|
||||
'A_DesktopCommon','A_DetectHiddenText','A_DetectHiddenWindows','A_EndChar',
|
||||
'A_EventInfo','A_ExitReason','A_FormatFloat','A_FormatInteger',
|
||||
'A_Gui','A_GuiEvent','A_GuiControl','A_GuiControlEvent',
|
||||
'A_GuiHeight','A_GuiWidth','A_GuiX','A_GuiY',
|
||||
'A_Hour','A_IconFile','A_IconHidden','A_IconNumber',
|
||||
'A_IconTip','A_Index','A_IPAddress1','A_IPAddress2',
|
||||
'A_IPAddress3','A_IPAddress4','A_ISAdmin','A_IsCompiled',
|
||||
'A_IsCritical','A_IsPaused','A_IsSuspended','A_KeyDelay',
|
||||
'A_Language','A_LastError','A_LineFile','A_LineNumber',
|
||||
'A_LoopField','A_LoopFileAttrib','A_LoopFileDir','A_LoopFileExt',
|
||||
'A_LoopFileFullPath','A_LoopFileLongPath','A_LoopFileName','A_LoopFileShortName',
|
||||
'A_LoopFileShortPath','A_LoopFileSize','A_LoopFileSizeKB','A_LoopFileSizeMB',
|
||||
'A_LoopFileTimeAccessed','A_LoopFileTimeCreated','A_LoopFileTimeModified','A_LoopReadLine',
|
||||
'A_LoopRegKey','A_LoopRegName','A_LoopRegSubkey','A_LoopRegTimeModified',
|
||||
'A_LoopRegType','A_MDAY','A_Min','A_MM',
|
||||
'A_MMM','A_MMMM','A_Mon','A_MouseDelay',
|
||||
'A_MSec','A_MyDocuments','A_Now','A_NowUTC',
|
||||
'A_NumBatchLines','A_OSType','A_OSVersion','A_PriorHotkey',
|
||||
'A_ProgramFiles','A_Programs','A_ProgramsCommon','A_ScreenHeight',
|
||||
'A_ScreenWidth','A_ScriptDir','A_ScriptFullPath','A_ScriptName',
|
||||
'A_Sec','A_Space','A_StartMenu','A_StartMenuCommon',
|
||||
'A_Startup','A_StartupCommon','A_StringCaseSense','A_Tab',
|
||||
'A_Temp','A_ThisFunc','A_ThisHotkey','A_ThisLabel',
|
||||
'A_ThisMenu','A_ThisMenuItem','A_ThisMenuItemPos','A_TickCount',
|
||||
'A_TimeIdle','A_TimeIdlePhysical','A_TimeSincePriorHotkey','A_TimeSinceThisHotkey',
|
||||
'A_TitleMatchMode','A_TitleMatchModeSpeed','A_UserName','A_WDay',
|
||||
'A_WinDelay','A_WinDir','A_WorkingDir','A_YDay',
|
||||
'A_YEAR','A_YWeek','A_YYYY','Clipboard',
|
||||
'ClipboardAll','ComSpec','ErrorLevel','ProgramFiles',
|
||||
),
|
||||
3 => array(
|
||||
'AutoTrim',
|
||||
'BlockInput','Break','Click',
|
||||
'ClipWait','Continue','Control',
|
||||
'ControlClick','ControlFocus','ControlGet',
|
||||
'ControlGetFocus','ControlGetPos','ControlGetText',
|
||||
'ControlMove','ControlSend','ControlSendRaw',
|
||||
'ControlSetText','CoordMode','Critical',
|
||||
'DetectHiddenText','DetectHiddenWindows','DllCall','Drive',
|
||||
'DriveGet','DriveSpaceFree',
|
||||
'Else','EnvAdd','EnvDiv',
|
||||
'EnvGet','EnvMult','EnvSet',
|
||||
'EnvSub','EnvUpdate','Exit',
|
||||
'ExitApp','FileAppend','FileCopy',
|
||||
'FileCopyDir','FileCreateDir','FileCreateShortcut',
|
||||
'FileDelete','FileGetAttrib','FileGetShortcut',
|
||||
'FileGetSize','FileGetTime','FileGetVersion',
|
||||
'FileInstall','FileMove','FileMoveDir',
|
||||
'FileRead','FileReadLine','FileRecycle',
|
||||
'FileRecycleEmpty','FileRemoveDir','FileSelectFile',
|
||||
'FileSelectFolder','FileSetAttrib','FileSetTime',
|
||||
'FormatTime','Gosub',
|
||||
'Goto','GroupActivate','GroupAdd',
|
||||
'GroupClose','GroupDeactivate','Gui',
|
||||
'GuiControl','GuiControlGet','Hotkey',
|
||||
'IfExist','IfGreater','IfGreaterOrEqual',
|
||||
'IfInString','IfLess','IfLessOrEqual',
|
||||
'IfMsgBox','IfNotEqual','IfNotExist',
|
||||
'IfNotInString','IfWinActive','IfWinExist',
|
||||
'IfWinNotActive','IfWinNotExist','ImageSearch',
|
||||
'IniDelete','IniRead','IniWrite',
|
||||
'Input','InputBox','KeyHistory',
|
||||
'KeyWait','ListHotkeys','ListLines',
|
||||
'ListVars','Loop',
|
||||
'Menu','MouseClick','MouseClickDrag',
|
||||
'MouseGetPos','MouseMove','MsgBox',
|
||||
'OnMessage','OnExit','OutputDebug',
|
||||
'PixelGetColor','PixelSearch','PostMessage',
|
||||
'Process','Progress','Random',
|
||||
'RegExMatch','RegExReplace','RegisterCallback',
|
||||
'RegDelete','RegRead','RegWrite',
|
||||
'Reload','Repeat','Return',
|
||||
'Run','RunAs','RunWait',
|
||||
'Send','SendEvent','SendInput',
|
||||
'SendMessage','SendMode','SendPlay',
|
||||
'SendRaw','SetBatchLines','SetCapslockState',
|
||||
'SetControlDelay','SetDefaultMouseSpeed','SetEnv',
|
||||
'SetFormat','SetKeyDelay','SetMouseDelay',
|
||||
'SetNumlockState','SetScrollLockState','SetStoreCapslockMode',
|
||||
'SetTimer','SetTitleMatchMode','SetWinDelay',
|
||||
'SetWorkingDir','Shutdown','Sleep',
|
||||
'Sort','SoundBeep','SoundGet',
|
||||
'SoundGetWaveVolume','SoundPlay','SoundSet',
|
||||
'SoundSetWaveVolume','SplashImage','SplashTextOff',
|
||||
'SplashTextOn','SplitPath','StatusBarGetText',
|
||||
'StatusBarWait','StringCaseSense','StringGetPos',
|
||||
'StringLeft','StringLen','StringLower',
|
||||
'StringMid','StringReplace','StringRight',
|
||||
'StringSplit','StringTrimLeft','StringTrimRight',
|
||||
'StringUpper','Suspend','SysGet',
|
||||
'Thread','ToolTip','Transform',
|
||||
'TrayTip','URLDownloadToFile','While',
|
||||
'VarSetCapacity',
|
||||
'WinActivate','WinActivateBottom','WinClose',
|
||||
'WinGet','WinGetActiveStats','WinGetActiveTitle',
|
||||
'WinGetClass','WinGetPos','WinGetText',
|
||||
'WinGetTitle','WinHide','WinKill',
|
||||
'WinMaximize','WinMenuSelectItem','WinMinimize',
|
||||
'WinMinimizeAll','WinMinimizeAllUndo','WinMove',
|
||||
'WinRestore','WinSet','WinSetTitle',
|
||||
'WinShow','WinWait','WinWaitActive',
|
||||
'WinWaitClose','WinWaitNotActive'
|
||||
),
|
||||
4 => array(
|
||||
'Abs','ACos','Asc','ASin',
|
||||
'ATan','Ceil','Chr','Cos',
|
||||
'Exp','FileExist','Floor',
|
||||
'GetKeyState','IL_Add','IL_Create','IL_Destroy',
|
||||
'InStr','IsFunc','IsLabel','Ln',
|
||||
'Log','LV_Add','LV_Delete','LV_DeleteCol',
|
||||
'LV_GetCount','LV_GetNext','LV_GetText','LV_Insert',
|
||||
'LV_InsertCol','LV_Modify','LV_ModifyCol','LV_SetImageList',
|
||||
'Mod','NumGet','NumPut',
|
||||
'Round',
|
||||
'SB_SetIcon','SB_SetParts','SB_SetText','Sin',
|
||||
'Sqrt','StrLen','SubStr','Tan',
|
||||
'TV_Add','TV_Delete','TV_GetChild','TV_GetCount',
|
||||
'TV_GetNext','TV_Get','TV_GetParent','TV_GetPrev',
|
||||
'TV_GetSelection','TV_GetText','TV_Modify',
|
||||
'WinActive','WinExist'
|
||||
),
|
||||
5 => array(
|
||||
// #Directives
|
||||
'AllowSameLineComments','ClipboardTimeout','CommentFlag',
|
||||
'ErrorStdOut','EscapeChar','HotkeyInterval',
|
||||
'HotkeyModifierTimeout','Hotstring','IfWinActive',
|
||||
'IfWinExist','IfWinNotActive','IfWinNotExist',
|
||||
'Include','IncludeAgain','InstallKeybdHook',
|
||||
'InstallMouseHook','KeyHistory','LTrim',
|
||||
'MaxHotkeysPerInterval','MaxMem','MaxThreads',
|
||||
'MaxThreadsBuffer','MaxThreadsPerHotkey','NoEnv',
|
||||
'NoTrayIcon','Persistent','SingleInstance',
|
||||
'UseHook','WinActivateForce'
|
||||
),
|
||||
6 => array(
|
||||
'Shift','LShift','RShift',
|
||||
'Alt','LAlt','RAlt',
|
||||
'LControl','RControl',
|
||||
'Ctrl','LCtrl','RCtrl',
|
||||
'LWin','RWin','AppsKey',
|
||||
'AltDown','AltUp','ShiftDown',
|
||||
'ShiftUp','CtrlDown','CtrlUp',
|
||||
'LWinDown','LWinUp','RWinDown',
|
||||
'RWinUp','LButton','RButton',
|
||||
'MButton','WheelUp','WheelDown',
|
||||
'WheelLeft','WheelRight','XButton1',
|
||||
'XButton2','Joy1','Joy2',
|
||||
'Joy3','Joy4','Joy5',
|
||||
'Joy6','Joy7','Joy8',
|
||||
'Joy9','Joy10','Joy11',
|
||||
'Joy12','Joy13','Joy14',
|
||||
'Joy15','Joy16','Joy17',
|
||||
'Joy18','Joy19','Joy20',
|
||||
'Joy21','Joy22','Joy23',
|
||||
'Joy24','Joy25','Joy26',
|
||||
'Joy27','Joy28','Joy29',
|
||||
'Joy30','Joy31','Joy32',
|
||||
'JoyX','JoyY','JoyZ',
|
||||
'JoyR','JoyU','JoyV',
|
||||
'JoyPOV','JoyName','JoyButtons',
|
||||
'JoyAxes','JoyInfo','Space',
|
||||
'Tab','Enter',
|
||||
'Escape','Esc','BackSpace',
|
||||
'BS','Delete','Del',
|
||||
'Insert','Ins','PGUP',
|
||||
'PGDN','Home','End',
|
||||
'Up','Down','Left',
|
||||
'Right','PrintScreen','CtrlBreak',
|
||||
'Pause','ScrollLock','CapsLock',
|
||||
'NumLock','Numpad0','Numpad1',
|
||||
'Numpad2','Numpad3','Numpad4',
|
||||
'Numpad5','Numpad6','Numpad7',
|
||||
'Numpad8','Numpad9','NumpadMult',
|
||||
'NumpadAdd','NumpadSub','NumpadDiv',
|
||||
'NumpadDot','NumpadDel','NumpadIns',
|
||||
'NumpadClear','NumpadUp','NumpadDown',
|
||||
'NumpadLeft','NumpadRight','NumpadHome',
|
||||
'NumpadEnd','NumpadPgup','NumpadPgdn',
|
||||
'NumpadEnter','F1','F2',
|
||||
'F3','F4','F5',
|
||||
'F6','F7','F8',
|
||||
'F9','F10','F11',
|
||||
'F12','F13','F14',
|
||||
'F15','F16','F17',
|
||||
'F18','F19','F20',
|
||||
'F21','F22','F23',
|
||||
'F24','Browser_Back','Browser_Forward',
|
||||
'Browser_Refresh','Browser_Stop','Browser_Search',
|
||||
'Browser_Favorites','Browser_Home','Volume_Mute',
|
||||
'Volume_Down','Volume_Up','Media_Next',
|
||||
'Media_Prev','Media_Stop','Media_Play_Pause',
|
||||
'Launch_Mail','Launch_Media','Launch_App1',
|
||||
'Launch_App2'
|
||||
),
|
||||
7 => array(
|
||||
// Gui commands
|
||||
'Add',
|
||||
'Show', 'Submit', 'Cancel', 'Destroy',
|
||||
'Font', 'Color', 'Margin', 'Flash', 'Default',
|
||||
'GuiEscape','GuiClose','GuiSize','GuiContextMenu','GuiDropFilesTabStop',
|
||||
),
|
||||
8 => array(
|
||||
// Gui Controls
|
||||
'Button',
|
||||
'Checkbox','Radio','DropDownList','DDL',
|
||||
'ComboBox','ListBox','ListView',
|
||||
'Text', 'Edit', 'UpDown', 'Picture',
|
||||
'TreeView','DateTime', 'MonthCal',
|
||||
'Slider'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(',')','[',']',
|
||||
'+','-','*','/','&','^',
|
||||
'=','+=','-=','*=','/=','&=',
|
||||
'==','<','<=','>','>=',':=',
|
||||
',','.'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false,
|
||||
6 => false,
|
||||
7 => false,
|
||||
8 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #AAAAFF; font-weight: bold;', // reserved #blue
|
||||
2 => 'color: #88FF88;', // BIV yellow
|
||||
3 => 'color: #FF00FF; font-style: italic;', // commands purple
|
||||
4 => 'color: #888844; font-weight: bold;', // functions #0080FF
|
||||
5 => 'color: #000000; font-style: italic;', // directives #black
|
||||
6 => 'color: #FF0000; font-style: italic;', // hotkeys #red
|
||||
7 => 'color: #000000; font-style: italic;', // gui commands #black
|
||||
8 => 'color: #000000; font-style: italic;' // gui controls
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
'MULTI' => 'font-style: italic; color: #669900;',
|
||||
1 => 'font-style: italic; color: #009933;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => ''
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #00FF00; font-weight: bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'font-weight: bold; color: #008080;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0000dd;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #0000FF; font-style: italic; font-weight: italic;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000000; font-weight: italic;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'font-weight: italic; color: #A00A0;',
|
||||
1 => 'color: #CC0000; font-style: italic;',
|
||||
2 => 'color: #DD0000; font-style: italic;',
|
||||
3 => 'color: #88FF88;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '_'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//Variables
|
||||
0 => '%[a-zA-Z_][a-zA-Z0-9_]*%',
|
||||
//hotstrings
|
||||
1 => '::[\w\d]+::',
|
||||
//labels
|
||||
2 => '\w[\w\d]+:\s',
|
||||
//Built-in Variables
|
||||
3 => '\bA_\w+\b(?![^<]*>)'
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => 'http://www.autohotkey.com/docs/Variables.htm#{FNAME}',
|
||||
3 => 'http://www.autohotkey.com/docs/commands/{FNAME}.htm',
|
||||
4 => 'http://www.autohotkey.com/docs/Functions.htm#BuiltIn',
|
||||
5 => 'http://www.autohotkey.com/docs/commands/_{FNAME}.htm',
|
||||
6 => '',
|
||||
7 => 'http://www.autohotkey.com/docs/commands/Gui.htm#{FNAME}',
|
||||
8 => 'http://www.autohotkey.com/docs/commands/GuiControls.htm#{FNAME}'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
0 => true,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true
|
||||
),
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
5 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<!\w)\#'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
File diff suppressed because it is too large
Load diff
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Ryan Jones (sciguyryan@gmail.com)
|
||||
* Copyright: (c) 2008 Ryan Jones
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/10/08
|
||||
*
|
||||
* AviSynth language file for GeSHi.
|
||||
|
@ -191,4 +191,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
?>
|
||||
|
|
156
serendipity_event_geshi/geshi/awk.php
Normal file
156
serendipity_event_geshi/geshi/awk.php
Normal file
|
@ -0,0 +1,156 @@
|
|||
<?php
|
||||
/************************************************
|
||||
* awk.php
|
||||
* -------
|
||||
* Author: George Pollard (porges@porg.es)
|
||||
* Copyright: (c) 2009 George Pollard
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/01/28
|
||||
*
|
||||
* Awk language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/01/28 (1.0.8.5)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2009/01/28)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'awk',
|
||||
'COMMENT_SINGLE' => array(
|
||||
1 => '#'
|
||||
),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array (
|
||||
1 => array(
|
||||
'for', 'in', 'if', 'else', 'while', 'do', 'continue', 'break'
|
||||
),
|
||||
2 => array(
|
||||
'BEGIN', 'END'
|
||||
),
|
||||
3 => array(
|
||||
'ARGC', 'ARGV', 'CONVFMT', 'ENVIRON',
|
||||
'FILENAME', 'FNR', 'FS', 'NF', 'NR', 'OFMT',
|
||||
'OFS','ORS','RLENGTH','RS','RSTART','SUBSEP'
|
||||
),
|
||||
4 => array(
|
||||
'gsub','index','length','match','split',
|
||||
'sprintf','sub','substr','tolower','toupper',
|
||||
'atan2','cos','exp','int','log','rand',
|
||||
'sin','sqrt','srand'
|
||||
),
|
||||
5 => array(
|
||||
'print','printf','getline','close','fflush','system'
|
||||
),
|
||||
6 => array(
|
||||
'function', 'return'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array (
|
||||
0 => array(
|
||||
'(',')','[',']','{','}'
|
||||
),
|
||||
1 => array(
|
||||
'!','||','&&'
|
||||
),
|
||||
2 => array(
|
||||
'<','>','<=','>=','==','!='
|
||||
),
|
||||
3 => array(
|
||||
'+','-','*','/','%','^','++','--'
|
||||
),
|
||||
4 => array(
|
||||
'~','!~'
|
||||
),
|
||||
5 => array(
|
||||
'?',':'
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false,
|
||||
6 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #C20CB9; font-weight: bold;',
|
||||
3 => 'color: #4107D5; font-weight: bold;',
|
||||
4 => 'color: #07D589; font-weight: bold;',
|
||||
5 => 'color: #0BD507; font-weight: bold;',
|
||||
6 => 'color: #078CD5; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color:#808080;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color:black;',
|
||||
1 => 'color:black;',
|
||||
2 => 'color:black;',
|
||||
3 => 'color:black;',
|
||||
4 => 'color:#C4C364;',
|
||||
5 => 'color:black;font-weight:bold;'),
|
||||
'SCRIPT' => array(),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color:#000088;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #7a0874; font-weight: bold;'
|
||||
),
|
||||
'METHODS' => array()
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array (),
|
||||
'REGEXPS' => array(
|
||||
0 => "\\$[a-zA-Z0-9_]+"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array (),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
183
serendipity_event_geshi/geshi/bascomavr.php
Normal file
183
serendipity_event_geshi/geshi/bascomavr.php
Normal file
|
@ -0,0 +1,183 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* bascomavr.php
|
||||
* ---------------------------------
|
||||
* Author: aquaticus.info
|
||||
* Copyright: (c) 2008 aquaticus.info
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/01/09
|
||||
*
|
||||
* BASCOM AVR language file for GeSHi.
|
||||
*
|
||||
* You can find the BASCOM AVR Website at (www.mcselec.com/bascom-avr.htm)
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2008/01/09 (1.0.8.10)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'BASCOM AVR',
|
||||
'COMMENT_SINGLE' => array(1 => "'"),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
// Navy Blue Bold Keywords
|
||||
'1WRESET' , '1WREAD' , '1WWRITE' , '1WSEARCHFIRST' , '1WSEARCHNEXT' ,'1WVERIFY' , '1WIRECOUNT',
|
||||
'CONFIG' , 'ACI' , 'ADC' , 'BCCARD' , 'CLOCK' , 'COM1' ,
|
||||
'COM2' , 'PS2EMU' , 'ATEMU' , 'I2CSLAVE' ,
|
||||
'INPUT', 'OUTPUT', 'GRAPHLCD' , 'KEYBOARD' , 'TIMER0' , 'TIMER1' ,
|
||||
'LCDBUS' , 'LCDMODE' , '1WIRE' , 'LCD' , 'SERIALOUT' ,
|
||||
'SERIALIN' , 'SPI' , 'LCDPIN' , 'SDA' , 'SCL' ,
|
||||
'WATCHDOG' , 'PORT' , 'COUNTER0', 'COUNTER1' , 'TCPIP' , 'TWISLAVE' ,
|
||||
'X10' , 'XRAM' , 'USB',
|
||||
'BCD' , 'GRAY2BIN' , 'BIN2GRAY' , 'BIN' , 'MAKEBCD' , 'MAKEDEC' , 'MAKEINT' , 'FORMAT' , 'FUSING' , 'BINVAL' ,
|
||||
'CRC8' , 'CRC16' , 'CRC16UNI' , 'CRC32' , 'HIGH' , 'HIGHW' , 'LOW',
|
||||
'DATE' , 'TIME' , 'DATE$' , 'TIME$' , 'DAYOFWEEK' , 'DAYOFYEAR' , 'SECOFDAY' , 'SECELAPSED' , 'SYSDAY' , 'SYSSEC' , 'SYSSECELAPSED',
|
||||
'WAIT' , 'WAITMS' , 'WAITUS' , 'DELAY',
|
||||
'BSAVE' , 'BLOAD' , 'GET' , 'VER' , 'DISKFREE' , 'DIR' , 'DriveReset' , 'DriveInit' , 'LINE' , 'INITFILESYSTEM' ,
|
||||
'EOF' , 'WRITE' , 'FLUSH' , 'FREEFILE' , 'FILEATTR' , 'FILEDATE' , 'FILETIME' , 'FILEDATETIME' , 'FILELEN' , 'SEEK' ,
|
||||
'KILL' , 'DriveGetIdentity' , 'DriveWriteSector' , 'DriveReadSector' , 'LOC' , 'LOF' , 'PUT' , 'OPEN' , 'CLOSE',
|
||||
'GLCDCMD' , 'GLCDDATA' , 'SETFONT' , 'PSET' , 'SHOWPIC' , 'SHOWPICE' , 'CIRCLE' , 'BOX',
|
||||
'I2CINIT' , 'I2CRECEIVE' , 'I2CSEND' , 'I2CSTART','I2CSTOP','I2CRBYTE','I2CWBYTE',
|
||||
'ALIAS' , 'BITWAIT' , 'TOGGLE' , 'RESET' , 'SET' , 'SHIFTIN' , 'SHIFTOUT' , 'DEBOUNCE' , 'PULSEIN' , 'PULSEOUT',
|
||||
'IDLE' , 'POWERDOWN' , 'POWERSAVE' , 'ON', 'INTERRUPT' , 'ENABLE' , 'DISABLE' , 'START' , 'VERSION' , 'CLOCKDIVISION' , 'CRYSTAL' , 'STOP',
|
||||
'ADR' , 'ADR2' , 'WRITEEEPROM' , 'CPEEK' , 'CPEEKH' , 'PEEK' , 'POKE' , 'OUT' , 'READEEPROM' , 'DATA' , 'INP' , 'READ' , 'RESTORE' , 'LOOKDOWN' , 'LOOKUP' , 'LOOKUPSTR' , 'LOAD' , 'LOADADR' , 'LOADLABEL' , 'LOADWORDADR' , 'MEMCOPY',
|
||||
'RC5SEND' , 'RC6SEND' , 'GETRC5' , 'SONYSEND',
|
||||
'BAUD' , 'BAUD1', 'BUFSPACE' , 'CLEAR', 'ECHO' , 'WAITKEY' , 'ISCHARWAITING' , 'INKEY' , 'INPUTBIN' , 'INPUTHEX' , 'PRINT', 'PRINT1','PRINT0', 'PRINTBIN' , 'SERIN' , 'SEROUT' , 'SPC' , 'MAKEMODBUS',
|
||||
'SPIIN' , 'SPIINIT' , 'SPIMOVE' , 'SPIOUT', 'SINGLE',
|
||||
'ASC' , 'UCASE' , 'LCASE' , 'TRIM' , 'SPLIT' , 'LTRIM' , 'INSTR' , 'SPACE' , 'RTRIM' , 'LEFT' , 'LEN' , 'MID' , 'RIGHT' , 'VAL' , 'STR' , 'CHR' , 'CHECKSUM' , 'HEX' , 'HEXVAL',
|
||||
'BASE64DEC' , 'BASE64ENC' , 'IP2STR' , 'UDPREAD' , 'UDPWRITE' , 'UDPWRITESTR' , 'TCPWRITE' , 'TCPWRITESTR' , 'TCPREAD' , 'GETDSTIP' , 'GETDSTPORT' , 'SOCKETSTAT' , 'SOCKETCONNECT' , 'SOCKETLISTEN' , 'GETSOCKET' , 'CLOSESOCKET' ,
|
||||
'SETTCP' , 'GETTCPREGS' , 'SETTCPREGS' , 'SETIPPROTOCOL' , 'TCPCHECKSUM',
|
||||
'HOME' , 'CURSOR' , 'UPPERLINE' , 'THIRDLINE' , 'INITLCD' , 'LOWERLINE' , 'LCDAT' , 'FOURTHLINE' , 'DISPLAY' , 'LCDCONTRAST' , 'LOCATE' , 'SHIFTCURSOR' , 'DEFLCDCHAR' , 'SHIFTLCD' , 'CLS',
|
||||
'ACOS' , 'ASIN' , 'ATN' , 'ATN2' , 'EXP' , 'RAD2DEG' , 'FRAC' , 'TAN' , 'TANH' , 'COS' , 'COSH' , 'LOG' , 'LOG10' , 'ROUND' , 'ABS' , 'INT' , 'MAX' , 'MIN' , 'SQR' , 'SGN' , 'POWER' , 'SIN' , 'SINH' , 'FIX' , 'INCR' , 'DECR' , 'DEG2RAD',
|
||||
'DBG' , 'DEBUG', 'DTMFOUT' , 'ENCODER' , 'GETADC' , 'GETKBD' , 'GETATKBD' , 'GETRC' , 'VALUE' , 'POPALL' , 'PS2MOUSEXY' , 'PUSHALL' ,
|
||||
'RETURN' , 'RND' , 'ROTATE' , 'SENDSCAN' , 'SENDSCANKBD' , 'SHIFT' , 'SOUND' , 'STCHECK' , 'SWAP' , 'VARPTR' , 'X10DETECT' , 'X10SEND' , 'READMAGCARD' , 'REM' , 'BITS' , 'BYVAL' , 'CALL' , 'READHITAG',
|
||||
'Buffered', 'Size', 'Dummy', 'Parity', 'None', 'Stopbits', 'Databits', 'Clockpol', 'Synchrone', 'Prescaler', 'Reference', 'int0', 'int1', 'Interrupts',
|
||||
'Auto', 'avcc', 'ack', 'nack', 'Pin', 'Db4', 'Db3', 'Db2', 'Db1', 'Db7', 'Db6', 'Db5', 'Db0', 'e', 'rs', 'twi',
|
||||
),
|
||||
2 => array(
|
||||
// Red Lowercase Keywords
|
||||
'$ASM' , '$BAUD' , '$BAUD1' , '$BGF' , '$BOOT' , '$CRYSTAL' , '$DATA' , '$DBG' , '$DEFAULT' , '$EEPLEAVE' , '$EEPROM' ,
|
||||
'$EEPROMHEX' , '$EXTERNAL' , '$HWSTACK' , '$INC' , '$INCLUDE' , '$INITMICRO' , '$LCD' , '$LCDRS' , '$LCDPUTCTRL' ,
|
||||
'$LCDPUTDATA' , '$LCDVFO' , '$LIB' , '$LOADER' , '$LOADERSIZE' , '$MAP' , '$NOCOMPILE' , '$NOINIT' , '$NORAMCLEAR' ,
|
||||
'$PROG' , '$PROGRAMMER' , '$REGFILE' , '$RESOURCE' , '$ROMSTART', '$SERIALINPUT', '$SERIALINPUT1' , '$SERIALINPUT2LCD' ,
|
||||
'$SERIALOUTPUT' , '$SERIALOUTPUT1' , '$SIM' , '$SWSTACK' , '$TIMEOUT' , '$TINY' , '$WAITSTATE' , '$XRAMSIZE' , '$XRAMSTART', '$XA',
|
||||
'#IF' , '#ELSE' , '#ENDIF', '$framesize'
|
||||
),
|
||||
3 => array(
|
||||
// Blue Lowercase Keywords
|
||||
'IF', 'THEN', 'ELSE', 'END', 'WHILE', 'WEND', 'DO', 'LOOP', 'SELECT', 'CASE', 'FOR', 'NEXT',
|
||||
'GOSUB' , 'GOTO' , 'LOCAL' , 'SUB' , 'DEFBIT', 'DEFBYTE', 'DEFINT', 'DEFWORD', 'DEFLNG', 'DEFSNG', 'DEFDBL',
|
||||
'CONST', 'DECLARE', 'FUNCTION', 'DIM', 'EXIT', 'LONG', 'INTEGER', 'BYTE', 'AS', 'STRING', 'WORD'
|
||||
),
|
||||
4 => array(
|
||||
//light blue
|
||||
'PINA.0', 'PINA.1', 'PINA.2', 'PINA.3', 'PINA.4', 'PINA.5', 'PINA.6', 'PINA.7',
|
||||
'PINB.0', 'PINB.1', 'PINB.2', 'PINB.3', 'PINB.4', 'PINB.5', 'PINB.6', 'PINB.7',
|
||||
'PINC.0', 'PINC.1', 'PINC.2', 'PINC.3', 'PINC.4', 'PINC.5', 'PINC.6', 'PINC.7',
|
||||
'PIND.0', 'PIND.1', 'PIND.2', 'PIND.3', 'PIND.4', 'PIND.5', 'PIND.6', 'PIND.7',
|
||||
'PINE.0', 'PINE.1', 'PINE.2', 'PINE.3', 'PINE.4', 'PINE.5', 'PINE.6', 'PINE.7',
|
||||
'PINF.0', 'PINF.1', 'PINF.2', 'PINF.3', 'PINF.4', 'PINF.5', 'PINF.6', 'PINF.7',
|
||||
|
||||
'PORTA.0', 'PORTA.1', 'PORTA.2', 'PORTA.3', 'PORTA.4', 'PORTA.5', 'PORTA.6', 'PORTA.7',
|
||||
'PORTB.0', 'PORTB.1', 'PORTB.2', 'PORTB.3', 'PORTB.4', 'PORTB.5', 'PORTB.6', 'PORTB.7',
|
||||
'PORTC.0', 'PORTC.1', 'PORTC.2', 'PORTC.3', 'PORTC.4', 'PORTC.5', 'PORTC.6', 'PORTC.7',
|
||||
'PORTD.0', 'PORTD.1', 'PORTD.2', 'PORTD.3', 'PORTD.4', 'PORTD.5', 'PORTD.6', 'PORTD.7',
|
||||
'PORTE.0', 'PORTE.1', 'PORTE.2', 'PORTE.3', 'PORTE.4', 'PORTE.5', 'PORTE.6', 'PORTE.7',
|
||||
'PORTF.0', 'PORTF.1', 'PORTF.2', 'PORTF.3', 'PORTF.4', 'PORTF.5', 'PORTF.6', 'PORTF.7',
|
||||
|
||||
'DDRA.0', 'DDRA.1', 'DDRA.2', 'DDRA.3', 'DDRA.4', 'DDRA.5', 'DDRA.6', 'DDRA.7',
|
||||
'DDRB.0', 'DDRB.1', 'DDRB.2', 'DDRB.3', 'DDRB.4', 'DDRB.5', 'DDRB.6', 'DDRB.7',
|
||||
'DDRC.0', 'DDRC.1', 'DDRC.2', 'DDRC.3', 'DDRC.4', 'DDRC.5', 'DDRC.6', 'DDRC.7',
|
||||
'DDRD.0', 'DDRD.1', 'DDRD.2', 'DDRD.3', 'DDRD.4', 'DDRD.5', 'DDRD.6', 'DDRD.7',
|
||||
'DDRE.0', 'DDRE.1', 'DDRE.2', 'DDRE.3', 'DDRE.4', 'DDRE.5', 'DDRE.6', 'DDRE.7',
|
||||
'DDRF.0', 'DDRF.1', 'DDRF.2', 'DDRF.3', 'DDRF.4', 'DDRF.5', 'DDRF.6', 'DDRF.7',
|
||||
|
||||
'DDRA','DDRB','DDRC','DDRD','DDRE','DDRF',
|
||||
'PORTA','PORTB','PORTC','PORTD','PORTE','PORTF',
|
||||
'PINA','PINB','PINC','PIND','PINE','PINF',
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'=', '<', '>', '>=', '<=', '+', '-', '*', '/', '%', '(', ')', '{', '}', '[', ']', ';', ':', '$', '&H'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000080; font-weight: bold;',
|
||||
2 => 'color: #FF0000;',
|
||||
3 => 'color: #0000FF;',
|
||||
4 => 'color: #0080FF;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #657CC4; font-style: italic;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000080;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #008000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #000080; font-weight: bold;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #0000FF;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Andreas Gohr (andi@splitbrain.org)
|
||||
* Copyright: (c) 2004 Andreas Gohr, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/20
|
||||
*
|
||||
* BASH language file for GeSHi.
|
||||
|
@ -63,9 +63,12 @@ $language_data = array (
|
|||
//Variables
|
||||
1 => "/\\$\\{[^\\n\\}]*?\\}/i",
|
||||
//BASH-style Heredoc
|
||||
2 => '/<<-?\s*?([\'"]?)([a-zA-Z0-9]+)\1;[^\n]*?\\n.*\\n\\2(?![a-zA-Z0-9])/siU',
|
||||
2 => '/<<-?\s*?(\'?)([a-zA-Z0-9]+)\1\\n.*\\n\\2(?![a-zA-Z0-9])/siU',
|
||||
//Escaped String Starters
|
||||
3 => "/\\\\['\"]/siU"
|
||||
3 => "/\\\\['\"]/siU",
|
||||
// Single-Line Shell usage: Hide the prompt at the beginning
|
||||
/* 4 => "/\A(?!#!)\s*(?>[\w:@\\/\\-\\._~]*[$#]\s?)?(?=[^\n]+\n?\Z)|^(?!#!)(\w+@)?[\w\\-\\.]+(:~?)[\w\\/\\-\\._]*?[$#]\s?/ms" */
|
||||
4 => "/\A(?!#!)(?:(?>[\w:@\\/\\-\\._~]*)[$#]\s?)(?=(?>[^\n]+)\n?\Z)|^(?!#!)(?:\w+@)?(?>[\w\\-\\.]+)(?>:~?[\w\\/\\-\\._]*?)?[$#]\s?/sm"
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
|
@ -90,12 +93,55 @@ $language_data = array (
|
|||
'if', 'in', 'select', 'set', 'then', 'until', 'while', 'time'
|
||||
),
|
||||
2 => array(
|
||||
'aclocal', 'aconnect', 'aplay', 'apm', 'apmsleep', 'apropos',
|
||||
'apt-cache', 'apt-get', 'apt-key', 'aptitude',
|
||||
'ar', 'arch', 'arecord', 'as', 'as86', 'ash', 'autoconf',
|
||||
'autoheader', 'automake', 'awk',
|
||||
'aclocal', 'aconnect', 'apachectl', 'apache2ctl', 'aplay', 'apm',
|
||||
'apmsleep', 'apropos', 'apt-cache', 'apt-cdrom', 'apt-config',
|
||||
'apt-file', 'apt-ftparchive', 'apt-get', 'apt-key', 'apt-listbugs',
|
||||
'apt-listchanges', 'apt-mark', 'apt-mirror', 'apt-sortpkgs',
|
||||
'apt-src', 'apticron', 'aptitude', 'aptsh', 'apxs', 'apxs2', 'ar',
|
||||
'arch', 'arecord', 'as', 'as86', 'ash', 'autoconf', 'autoheader',
|
||||
'automake', 'awk',
|
||||
|
||||
'basename', 'bash', 'bc', 'bison', 'bunzip2', 'bzcat',
|
||||
'apachectl start', 'apachectl stop', 'apachectl restart',
|
||||
'apachectl graceful', 'apachectl graceful-stop',
|
||||
'apachectl configtest', 'apachectl status', 'apachectl fullstatus',
|
||||
'apachectl help', 'apache2ctl start', 'apache2ctl stop',
|
||||
'apache2ctl restart', 'apache2ctl graceful',
|
||||
'apache2ctl graceful-stop', 'apache2ctl configtest',
|
||||
'apache2ctl status', 'apache2ctl fullstatus', 'apache2ctl help',
|
||||
|
||||
'apt-cache add', 'apt-cache depends', 'apt-cache dotty',
|
||||
'apt-cache dump', 'apt-cache dumpavail', 'apt-cache gencaches',
|
||||
'apt-cache pkgnames', 'apt-cache policy', 'apt-cache rdepends',
|
||||
'apt-cache search', 'apt-cache show', 'apt-cache showauto',
|
||||
'apt-cache showpkg', 'apt-cache showsrc', 'apt-cache stats',
|
||||
'apt-cache unmet', 'apt-cache xvcg', 'apt-cdrom add',
|
||||
'apt-cdrom ident', 'apt-config dump', 'apt-config shell',
|
||||
'apt-file find', 'apt-file list', 'apt-file purge',
|
||||
'apt-file search', 'apt-file shot', 'apt-file update',
|
||||
'apt-get autoclean', 'apt-get autoremove', 'apt-get build-dep',
|
||||
'apt-get check', 'apt-get clean', 'apt-get dist-upgrade',
|
||||
'apt-get dselect-upgrade', 'apt-get install', 'apt-get markauto',
|
||||
'apt-get purge', 'apt-get remove', 'apt-get source',
|
||||
'apt-get unmarkauto', 'apt-get update', 'apt-get upgrade',
|
||||
'apt-key add', 'apt-key adv', 'apt-key del', 'apt-key export',
|
||||
'apt-key exportall', 'apt-key finger', 'apt-key list',
|
||||
'apt-key net-update', 'apt-key update', 'apt-listbugs apt',
|
||||
'apt-listbugs list', 'apt-listbugs rss', 'apt-src build',
|
||||
'apt-src clean', 'apt-src import', 'apt-src install',
|
||||
'apt-src list', 'apt-src location', 'apt-src name',
|
||||
'apt-src remove', 'apt-src update', 'apt-src upgrade',
|
||||
'apt-src version',
|
||||
|
||||
'aptitude autoclean', 'aptitude build-dep', 'aptitude changelog',
|
||||
'aptitude clean', 'aptitude download', 'aptitude forbid-version',
|
||||
'aptitude forget-new', 'aptitude full-upgrade', 'aptitude hold',
|
||||
'aptitude install', 'aptitude markauto', 'aptitude purge',
|
||||
'aptitude reinstall', 'aptitude remove', 'aptitude safe-upgrade',
|
||||
'aptitude search', 'aptitude show', 'aptitude unhold',
|
||||
'aptitude unmarkauto', 'aptitude update', 'aptitude versions',
|
||||
'aptitude why', 'aptitude why-not',
|
||||
|
||||
'basename', 'bash', 'batctl', 'bc', 'bison', 'bunzip2', 'bzcat',
|
||||
'bzcmp', 'bzdiff', 'bzegrep', 'bzfgrep', 'bzgrep',
|
||||
'bzip2', 'bzip2recover', 'bzless', 'bzmore',
|
||||
|
||||
|
@ -104,26 +150,120 @@ $language_data = array (
|
|||
'chown', 'chroot', 'chsh', 'chvt', 'clear', 'cmp', 'comm', 'co',
|
||||
'col', 'cp', 'cpio', 'cpp', 'csh', 'cut', 'cvs', 'cvs-pserver',
|
||||
|
||||
'dash', 'date', 'dd', 'dc', 'dcop', 'deallocvt', 'df', 'dialog',
|
||||
'diff', 'diff3', 'dir', 'dircolors', 'directomatic', 'dirname',
|
||||
'dmesg', 'dnsdomainname', 'domainname', 'dpkg', 'dselect', 'du',
|
||||
'dumpkeys',
|
||||
'cvs add', 'cvs admin', 'cvs annotate', 'cvs checkout',
|
||||
'cvs commit', 'cvs diff', 'cvs edit', 'cvs editors', 'cvs export',
|
||||
'cvs history', 'cvs import', 'cvs init', 'cvs log', 'cvs login',
|
||||
'cvs logout', 'cvs ls', 'cvs pserver', 'cvs rannotate',
|
||||
'cvs rdiff', 'cvs release', 'cvs remove', 'cvs rlog', 'cvs rls',
|
||||
'cvs rtag', 'cvs server', 'cvs status', 'cvs tag', 'cvs unedit',
|
||||
'cvs update', 'cvs version', 'cvs watch', 'cvs watchers',
|
||||
|
||||
'dash', 'date', 'dc', 'dch', 'dcop', 'dd', 'ddate', 'ddd',
|
||||
'deallocvt', 'debconf', 'defoma', 'depmod', 'df', 'dh',
|
||||
'dialog', 'diff', 'diff3', 'dig', 'dir', 'dircolors', 'directomatic',
|
||||
'dirname', 'dmesg', 'dnsdomainname', 'domainname', 'dpkg',
|
||||
'dselect', 'du', 'dumpkeys',
|
||||
|
||||
'ed', 'egrep', 'env', 'expr',
|
||||
|
||||
'false', 'fbset', 'ffmpeg', 'fgconsole','fgrep', 'file', 'find',
|
||||
'flex', 'flex++', 'fmt', 'free', 'ftp', 'funzip', 'fuser',
|
||||
'false', 'fbset', 'fdisk', 'ffmpeg', 'fgconsole','fgrep', 'file',
|
||||
'find', 'flex', 'flex++', 'fmt', 'free', 'ftp', 'funzip', 'fuser',
|
||||
|
||||
'g++', 'gawk', 'gc','gcc', 'gdb', 'getent', 'getkeycodes',
|
||||
'g++', 'gawk', 'gc','gcc', 'gdb', 'gdisk', 'getent', 'getkeycodes',
|
||||
'getopt', 'gettext', 'gettextize', 'gimp', 'gimp-remote',
|
||||
'gimptool', 'gmake', 'gocr', 'grep', 'groups', 'gs', 'gunzip',
|
||||
'gzexe', 'gzip',
|
||||
|
||||
'head', 'hexdump', 'hostname',
|
||||
'git', 'git add', 'git add--interactive', 'git am', 'git annotate',
|
||||
'git apply', 'git archive', 'git bisect', 'git bisect--helper',
|
||||
'git blame', 'git branch', 'git bundle', 'git cat-file',
|
||||
'git check-attr', 'git checkout', 'git checkout-index',
|
||||
'git check-ref-format', 'git cherry', 'git cherry-pick',
|
||||
'git clean', 'git clone', 'git commit', 'git commit-tree',
|
||||
'git config', 'git count-objects', 'git daemon', 'git describe',
|
||||
'git diff', 'git diff-files', 'git diff-index', 'git difftool',
|
||||
'git difftool--helper', 'git diff-tree', 'git fast-export',
|
||||
'git fast-import', 'git fetch', 'git fetch-pack',
|
||||
'git filter-branch', 'git fmt-merge-msg', 'git for-each-ref',
|
||||
'git format-patch', 'git fsck', 'git fsck-objects', 'git gc', 'git gui',
|
||||
'git get-tar-commit-id', 'git grep', 'git hash-object', 'git help',
|
||||
'git http-backend', 'git http-fetch', 'git http-push',
|
||||
'git imap-send', 'git index-pack', 'git init', 'git init-db',
|
||||
'git instaweb', 'git log', 'git lost-found', 'git ls-files',
|
||||
'git ls-remote', 'git ls-tree', 'git mailinfo', 'git mailsplit',
|
||||
'git merge', 'git merge-base', 'git merge-file', 'git merge-index',
|
||||
'git merge-octopus', 'git merge-one-file', 'git merge-ours',
|
||||
'git merge-recursive', 'git merge-resolve', 'git merge-subtree',
|
||||
'git mergetool', 'git merge-tree', 'git mktag', 'git mktree',
|
||||
'git mv', 'git name-rev', 'git notes', 'git pack-objects',
|
||||
'git pack-redundant', 'git pack-refs', 'git patch-id',
|
||||
'git peek-remote', 'git prune', 'git prune-packed', 'git pull',
|
||||
'git push', 'git quiltimport', 'git read-tree', 'git rebase',
|
||||
'git rebase--interactive', 'git receive-pack', 'git reflog',
|
||||
'git relink', 'git remote', 'git remote-ftp', 'git remote-ftps',
|
||||
'git remote-http', 'git remote-https', 'git remote-testgit',
|
||||
'git repack', 'git replace', 'git repo-config', 'git request-pull',
|
||||
'git rerere', 'git reset', 'git revert', 'git rev-list',
|
||||
'git rev-parse', 'git rm', 'git send-pack', 'git shell',
|
||||
'git shortlog', 'git show', 'git show-branch', 'git show-index',
|
||||
'git show-ref', 'git stage', 'git stash', 'git status',
|
||||
'git stripspace', 'git submodule', 'git symbolic-ref', 'git tag',
|
||||
'git tar-tree', 'git unpack-file', 'git unpack-objects',
|
||||
'git update-index', 'git update-ref', 'git update-server-info',
|
||||
'git upload-archive', 'git upload-pack', 'git var',
|
||||
'git verify-pack', 'git verify-tag', 'git web--browse',
|
||||
'git whatchanged', 'git write-tree',
|
||||
|
||||
'id', 'ifconfig', 'igawk', 'install',
|
||||
'gitaction', 'git-add', 'git-add--interactive', 'git-am',
|
||||
'git-annotate', 'git-apply', 'git-archive', 'git-bisect',
|
||||
'git-bisect--helper', 'git-blame', 'git-branch', 'git-bundle',
|
||||
'git-cat-file', 'git-check-attr', 'git-checkout',
|
||||
'git-checkout-index', 'git-check-ref-format', 'git-cherry',
|
||||
'git-cherry-pick', 'git-clean', 'git-clone', 'git-commit',
|
||||
'git-commit-tree', 'git-config', 'git-count-objects', 'git-daemon',
|
||||
'git-describe', 'git-diff', 'git-diff-files', 'git-diff-index',
|
||||
'git-difftool', 'git-difftool--helper', 'git-diff-tree',
|
||||
'gitdpkgname', 'git-fast-export', 'git-fast-import', 'git-fetch',
|
||||
'git-fetch-pack', 'git-fetch--tool', 'git-filter-branch', 'gitfm',
|
||||
'git-fmt-merge-msg', 'git-for-each-ref', 'git-format-patch',
|
||||
'git-fsck', 'git-fsck-objects', 'git-gc', 'git-get-tar-commit-id',
|
||||
'git-grep', 'git-hash-object', 'git-help', 'git-http-fetch',
|
||||
'git-http-push', 'git-imap-send', 'git-index-pack', 'git-init',
|
||||
'git-init-db', 'git-instaweb', 'gitkeys', 'git-log',
|
||||
'git-lost-found', 'git-ls-files', 'git-ls-remote', 'git-ls-tree',
|
||||
'git-mailinfo', 'git-mailsplit', 'git-merge', 'git-merge-base',
|
||||
'git-merge-file', 'git-merge-index', 'git-merge-octopus',
|
||||
'git-merge-one-file', 'git-merge-ours', 'git-merge-recursive',
|
||||
'git-merge-resolve', 'git-merge-subtree', 'git-mergetool',
|
||||
'git-mergetool--lib', 'git-merge-tree', 'gitmkdirs', 'git-mktag',
|
||||
'git-mktree', 'gitmount', 'git-mv', 'git-name-rev',
|
||||
'git-pack-objects', 'git-pack-redundant', 'git-pack-refs',
|
||||
'git-parse-remote', 'git-patch-id', 'git-peek-remote', 'git-prune',
|
||||
'git-prune-packed', 'gitps', 'git-pull', 'git-push',
|
||||
'git-quiltimport', 'git-read-tree', 'git-rebase',
|
||||
'git-rebase--interactive', 'git-receive-pack', 'git-reflog',
|
||||
'gitregrep', 'git-relink', 'git-remote', 'git-repack',
|
||||
'git-repo-config', 'git-request-pull', 'git-rerere', 'git-reset',
|
||||
'git-revert', 'git-rev-list', 'git-rev-parse', 'gitrfgrep',
|
||||
'gitrgrep', 'git-rm', 'git-send-pack', 'git-shell', 'git-shortlog',
|
||||
'git-show', 'git-show-branch', 'git-show-index', 'git-show-ref',
|
||||
'git-sh-setup', 'git-stage', 'git-stash', 'git-status',
|
||||
'git-stripspace', 'git-submodule', 'git-svn', 'git-symbolic-ref',
|
||||
'git-tag', 'git-tar-tree', 'gitunpack', 'git-unpack-file',
|
||||
'git-unpack-objects', 'git-update-index', 'git-update-ref',
|
||||
'git-update-server-info', 'git-upload-archive', 'git-upload-pack',
|
||||
'git-var', 'git-verify-pack', 'git-verify-tag', 'gitview',
|
||||
'git-web--browse', 'git-whatchanged', 'gitwhich', 'gitwipe',
|
||||
'git-write-tree', 'gitxgrep',
|
||||
|
||||
'join',
|
||||
'head', 'hexdump', 'hostname', 'htop',
|
||||
|
||||
'id', 'ifconfig', 'ifdown', 'ifup', 'igawk', 'install',
|
||||
|
||||
'ip', 'ip addr', 'ip addrlabel', 'ip link', 'ip maddr', 'ip mroute',
|
||||
'ip neigh', 'ip route', 'ip rule', 'ip tunnel', 'ip xfrm',
|
||||
|
||||
'jar', 'java', 'javac', 'join',
|
||||
|
||||
'kbd_mode','kbdrate', 'kdialog', 'kfile', 'kill', 'killall',
|
||||
|
||||
|
@ -140,10 +280,11 @@ $language_data = array (
|
|||
|
||||
'od', 'openvt',
|
||||
|
||||
'passwd', 'patch', 'pcregrep', 'pcretest', 'perl', 'perror',
|
||||
'pgawk', 'pidof', 'ping', 'pr', 'procmail', 'prune', 'ps', 'pstree',
|
||||
'ps2ascii', 'ps2epsi', 'ps2frag', 'ps2pdf', 'ps2ps', 'psbook',
|
||||
'psmerge', 'psnup', 'psresize', 'psselect', 'pstops',
|
||||
'passwd', 'patch', 'pbzip2', 'pcregrep', 'pcretest', 'perl',
|
||||
'perror', 'pgawk', 'pidof', 'pigz', 'ping', 'pr', 'procmail',
|
||||
'prune', 'ps', 'pstree', 'ps2ascii', 'ps2epsi', 'ps2frag',
|
||||
'ps2pdf', 'ps2ps', 'psbook', 'psmerge', 'psnup', 'psresize',
|
||||
'psselect', 'pstops',
|
||||
|
||||
'rbash', 'rcs', 'rcs2log', 'read', 'readlink', 'red', 'resizecons',
|
||||
'rev', 'rm', 'rmdir', 'rsh', 'run-parts',
|
||||
|
@ -152,11 +293,49 @@ $language_data = array (
|
|||
'setkeycodes', 'setleds', 'setmetamode', 'setserial', 'setterm',
|
||||
'sh', 'showkey', 'shred', 'size', 'size86', 'skill', 'sleep',
|
||||
'slogin', 'snice', 'sort', 'sox', 'split', 'ssed', 'ssh', 'ssh-add',
|
||||
'ssh-agent', 'ssh-keygen', 'ssh-keyscan', 'stat', 'strace',
|
||||
'ssh-agent', 'ssh-keygen', 'ssh-keyscan', 'sshfs', 'stat', 'strace',
|
||||
'strings', 'strip', 'stty', 'su', 'sudo', 'suidperl', 'sum', 'svn',
|
||||
'svnadmin', 'svndumpfilter', 'svnlook', 'svnmerge', 'svnmucc',
|
||||
'svnserve', 'svnshell', 'svnsync', 'svnversion', 'svnwrap', 'sync',
|
||||
|
||||
'svn add', 'svn ann', 'svn annotate', 'svn blame', 'svn cat',
|
||||
'svn changelist', 'svn checkout', 'svn ci', 'svn cl', 'svn cleanup',
|
||||
'svn co', 'svn commit', 'svn copy', 'svn cp', 'svn del',
|
||||
'svn delete', 'svn di', 'svn diff', 'svn export', 'svn help',
|
||||
'svn import', 'svn info', 'svn list', 'svn lock', 'svn log',
|
||||
'svn ls', 'svn merge', 'svn mergeinfo', 'svn mkdir', 'svn move',
|
||||
'svn mv', 'svn patch', 'svn pd', 'svn pdel', 'svn pe', 'svn pedit',
|
||||
'svn pg', 'svn pget', 'svn pl', 'svn plist', 'svn praise',
|
||||
'svn propdel', 'svn propedit', 'svn propget', 'svn proplist',
|
||||
'svn propset', 'svn ps', 'svn pset', 'svn relocate', 'svn remove',
|
||||
'svn rename', 'svn resolve', 'svn resolved', 'svn revert', 'svn rm',
|
||||
'svn st', 'svn stat', 'svn status', 'svn sw', 'svn switch',
|
||||
'svn unlock', 'svn up', 'svn update', 'svn upgrade',
|
||||
|
||||
'svnadmin crashtest', 'svnadmin create', 'svnadmin deltify',
|
||||
'svnadmin dump', 'svnadmin help', 'svnadmin hotcopy',
|
||||
'svnadmin list-dblogs', 'svnadmin list-unused-dblogs',
|
||||
'svnadmin load', 'svnadmin lslocks', 'svnadmin lstxns',
|
||||
'svnadmin pack', 'svnadmin recover', 'svnadmin rmlocks',
|
||||
'svnadmin rmtxns', 'svnadmin setlog', 'svnadmin setrevprop',
|
||||
'svnadmin setuuid', 'svnadmin upgrade', 'svnadmin verify',
|
||||
|
||||
'svndumpfilter exclude', 'svndumpfilter help',
|
||||
'svndumpfilter include',
|
||||
|
||||
'svnlook author', 'svnlook cat', 'svnlook changed', 'svnlook date',
|
||||
'svnlook diff', 'svnlook dirs-changed', 'svnlook filesize',
|
||||
'svnlook help', 'svnlook history', 'svnlook info', 'svnlook lock',
|
||||
'svnlook log', 'svnlook pg', 'svnlook pget', 'svnlook pl',
|
||||
'svnlook plist', 'svnlook propget', 'svnlook proplist',
|
||||
'svnlook tree', 'svnlook uuid', 'svnlook youngest',
|
||||
|
||||
'svnrdump dump', 'svnrdump help', 'svnrdump load',
|
||||
|
||||
'svnsync copy-revprops', 'svnsync help', 'svnsync info',
|
||||
'svnsync init', 'svnsync initialize', 'svnsync sync',
|
||||
'svnsync synchronize',
|
||||
|
||||
'tac', 'tail', 'tar', 'tee', 'tempfile', 'touch', 'tr', 'tree',
|
||||
'true',
|
||||
|
||||
|
@ -166,12 +345,21 @@ $language_data = array (
|
|||
|
||||
'valgrind', 'vdir', 'vi', 'vim', 'vmstat',
|
||||
|
||||
'w', 'wall', 'wc', 'wget', 'whatis', 'whereis', 'which', 'whiptail',
|
||||
'who', 'whoami', 'write',
|
||||
'w', 'wall', 'watch', 'wc', 'wget', 'whatis', 'whereis',
|
||||
'which', 'whiptail', 'who', 'whoami', 'whois', 'wine', 'wineboot',
|
||||
'winebuild', 'winecfg', 'wineconsole', 'winedbg', 'winedump',
|
||||
'winefile', 'wodim', 'write',
|
||||
|
||||
'xargs', 'xhost', 'xmodmap', 'xset',
|
||||
|
||||
'yacc', 'yes', 'ypdomainname',
|
||||
'yacc', 'yes', 'ypdomainname', 'yum',
|
||||
|
||||
'yum check-update', 'yum clean', 'yum deplist', 'yum erase',
|
||||
'yum groupinfo', 'yum groupinstall', 'yum grouplist',
|
||||
'yum groupremove', 'yum groupupdate', 'yum info', 'yum install',
|
||||
'yum list', 'yum localinstall', 'yum localupdate', 'yum makecache',
|
||||
'yum provides', 'yum remove', 'yum resolvedep', 'yum search',
|
||||
'yum shell', 'yum update', 'yum upgrade', 'yum whatprovides',
|
||||
|
||||
'zcat', 'zcmp', 'zdiff', 'zdump', 'zegrep', 'zfgrep', 'zforce',
|
||||
'zgrep', 'zip', 'zipgrep', 'zipinfo', 'zless', 'zmore', 'znew',
|
||||
|
@ -207,7 +395,8 @@ $language_data = array (
|
|||
0 => 'color: #666666; font-style: italic;',
|
||||
1 => 'color: #800000;',
|
||||
2 => 'color: #cc0000; font-style: italic;',
|
||||
3 => 'color: #000000; font-weight: bold;'
|
||||
3 => 'color: #000000; font-weight: bold;',
|
||||
4 => 'color: #666666;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
|
@ -258,9 +447,9 @@ $language_data = array (
|
|||
//Variable assignment
|
||||
2 => "(?<![\.a-zA-Z_\-])([a-zA-Z_][a-zA-Z0-9_]*?)(?==)",
|
||||
//Shorthand shell variables
|
||||
4 => "\\$[*#\$\\-\\?!]",
|
||||
4 => "\\$[*#\$\\-\\?!\d]",
|
||||
//Parameters of commands
|
||||
5 => "(?<=\s)--?[0-9a-zA-Z\-]+(?=[\s=]|$)"
|
||||
5 => "(?<=\s)--?[0-9a-zA-Z\-]+(?=[\s=]|<(?:SEMI|PIPE)>|$)"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
|
@ -273,10 +462,11 @@ $language_data = array (
|
|||
'DISALLOWED_BEFORE' => '$'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![\.\-a-zA-Z0-9_\$\#])",
|
||||
'DISALLOWED_AFTER' => "(?![\.\-a-zA-Z0-9_%])"
|
||||
'DISALLOWED_BEFORE' => "(?<![\.\-a-zA-Z0-9_\$\#:])",
|
||||
'DISALLOWED_AFTER' => "(?![\.\-a-zA-Z0-9_%=\\/:])",
|
||||
2 => array(
|
||||
'SPACE_AS_WHITESPACE' => false
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Matthew Webb (bmatthew1@blueyonder.co.uk)
|
||||
* Copyright: (c) 2004 Matthew Webb (http://matthew-4gl.wikispaces.com)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/09/15
|
||||
*
|
||||
* Basic4GL language file for GeSHi.
|
||||
|
@ -337,5 +337,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
228
serendipity_event_geshi/geshi/batch.php
Normal file
228
serendipity_event_geshi/geshi/batch.php
Normal file
|
@ -0,0 +1,228 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* batch.php
|
||||
* ------------
|
||||
* Author: FraidZZ ( fraidzz [@] bk.ru )
|
||||
* Copyright: (c) 2015 FraidZZ ( http://vk.com/fraidzz , http://www.cyberforum.ru/members/340557.html )
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2015/03/28
|
||||
*
|
||||
* Windows batch file language file for GeSHi.
|
||||
*
|
||||
*************************************************************************************
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'Windows Batch file',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(
|
||||
100 => '/(?:^|[&|])\\s*(?:rem|::)[^\\n]*/msi',
|
||||
101 => '/[\\/-]\\S*/si',
|
||||
102 => '/^\s*:[^:]\\S*/msi',
|
||||
103 => '/(?:([%!])[^"\'~ ][^"\' ]*\\1|%%?(?:~[dpnxsatz]*)?[^"\'])/si'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
100 => '/(?:([%!])\\S+\\1|%%(?:~[dpnxsatz]*)?[^"\'])/si'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'echo',
|
||||
'set',
|
||||
'for',
|
||||
'if',
|
||||
'exit',
|
||||
'else',
|
||||
'do',
|
||||
'not',
|
||||
'defined',
|
||||
'exist'
|
||||
),
|
||||
2 => array(
|
||||
"ASSOC",
|
||||
"ATTRIB",
|
||||
"BREAK",
|
||||
"BCDEDIT",
|
||||
"CACLS",
|
||||
"CD",
|
||||
"CHCP",
|
||||
"CHDIR",
|
||||
"CHKDSK",
|
||||
"CHKNTFS",
|
||||
"CLS",
|
||||
"CMD",
|
||||
"COLOR",
|
||||
"COMP",
|
||||
"COMPACT",
|
||||
"CONVERT",
|
||||
"COPY",
|
||||
"DATE",
|
||||
"DEL",
|
||||
"DIR",
|
||||
"DISKCOMP",
|
||||
"DISKCOPY",
|
||||
"DISKPART",
|
||||
"DOSKEY",
|
||||
"DRIVERQUERY",
|
||||
"ECHO",
|
||||
"ENDLOCAL",
|
||||
"ERASE",
|
||||
"EXIT",
|
||||
"FC",
|
||||
"FIND",
|
||||
"FINDSTR",
|
||||
"FOR",
|
||||
"FORMAT",
|
||||
"FSUTIL",
|
||||
"FTYPE",
|
||||
"GPRESULT",
|
||||
"GRAFTABL",
|
||||
"HELP",
|
||||
"ICACLS",
|
||||
"IF",
|
||||
"LABEL",
|
||||
"MD",
|
||||
"MKDIR",
|
||||
"MKLINK",
|
||||
"MODE",
|
||||
"MORE",
|
||||
"MOVE",
|
||||
"OPENFILES",
|
||||
"PATH",
|
||||
"PAUSE",
|
||||
"POPD",
|
||||
"PRINT",
|
||||
"PROMPT",
|
||||
"PUSHD",
|
||||
"RD",
|
||||
"RECOVER",
|
||||
"REN",
|
||||
"RENAME",
|
||||
"REPLACE",
|
||||
"RMDIR",
|
||||
"ROBOCOPY",
|
||||
"SET",
|
||||
"SETLOCAL",
|
||||
"SC",
|
||||
"SCHTASKS",
|
||||
"SHIFT",
|
||||
"SHUTDOWN",
|
||||
"SORT",
|
||||
"START",
|
||||
"SUBST",
|
||||
"SYSTEMINFO",
|
||||
"TASKLIST",
|
||||
"TASKKILL",
|
||||
"TIME",
|
||||
"TITLE",
|
||||
"TREE",
|
||||
"TYPE",
|
||||
"VER",
|
||||
"VERIFY",
|
||||
"VOL",
|
||||
"XCOPY",
|
||||
"WMIC",
|
||||
"CSCRIPT"
|
||||
),
|
||||
3 => array(
|
||||
"enabledelayedexpansion",
|
||||
"enableextensions"
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(',
|
||||
')',
|
||||
'+',
|
||||
'-',
|
||||
'~',
|
||||
'^',
|
||||
'@',
|
||||
'&',
|
||||
'*',
|
||||
'|',
|
||||
'/',
|
||||
'<',
|
||||
'>'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #800080; font-weight: bold;',
|
||||
2 => 'color: #0080FF; font-weight: bold;',
|
||||
3 => 'color: #0000FF; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
101 => 'color: #44aa44; font-weight: bold;',
|
||||
100 => 'color: #888888;',
|
||||
102 => 'color: #990000; font-weight: bold;',
|
||||
103 => 'color: #000099; font-weight: bold;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
100 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66; font-weight: bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;',
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #006600;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #44aa44; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #990000; font-weight: bold',
|
||||
1 => 'color: #800080; font-weight: bold;'
|
||||
),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(
|
||||
0 => array(
|
||||
GESHI_SEARCH => "((?:goto|call)\\s*)(\\S+)",
|
||||
GESHI_REPLACE => "\\2",
|
||||
GESHI_BEFORE => "\\1",
|
||||
GESHI_MODIFIERS => "si",
|
||||
GESHI_AFTER => ""
|
||||
),
|
||||
1 => "goto|call"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
113
serendipity_event_geshi/geshi/bf.php
Normal file
113
serendipity_event_geshi/geshi/bf.php
Normal file
|
@ -0,0 +1,113 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* bf.php
|
||||
* ----------
|
||||
* Author: Benny Baumann (BenBE@geshi.org)
|
||||
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/10/31
|
||||
*
|
||||
* Brainfuck language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2008/10/31 (1.0.8.1)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* ----
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Brainfuck',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(1 => '/[^\n+\-<>\[\]\.\,Y]+/s'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
|
||||
'QUOTEMARKS' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array('+', '-'),
|
||||
1 => array('[', ']'),
|
||||
2 => array('<', '>'),
|
||||
3 => array('.', ','),
|
||||
4 => array('Y') //Brainfork Extension ;-)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #660000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #006600;',
|
||||
1 => 'color: #660000;',
|
||||
2 => 'color: #000066;',
|
||||
3 => 'color: #666600;',
|
||||
4 => 'color: #660066;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'STRINGS' => GESHI_NEVER,
|
||||
'NUMBERS' => GESHI_NEVER,
|
||||
'BRACKETS' => GESHI_NEVER
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOW_BEFORE' => '',
|
||||
'DISALLOW_AFTER' => ''
|
||||
)
|
||||
)
|
||||
);
|
200
serendipity_event_geshi/geshi/biblatex.php
Normal file
200
serendipity_event_geshi/geshi/biblatex.php
Normal file
|
@ -0,0 +1,200 @@
|
|||
<?php
|
||||
/********************************************************************************
|
||||
* bibtex.php
|
||||
* -----
|
||||
* Author: Maïeul Rouquette from
|
||||
* Quinn Taylor (quinntaylor@mac.com)
|
||||
* Copyright: (c) 2009 Quinn Taylor (quinntaylor@mac.com), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/04/29
|
||||
*
|
||||
* BibLaTeX language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* 2015/12/29 (1.0.8.13) Biblatex parser
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/04/29 (1.0.8.4)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* -------------------------
|
||||
* - Add regex for matching and replacing URLs with corresponding hyperlinks
|
||||
* - Add regex for matching more LaTeX commands that may be embedded in BibTeX
|
||||
* (Someone who understands regex better than I should borrow from latex.php)
|
||||
********************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
// http://en.wikipedia.org/wiki/BibTeX
|
||||
// http://www.fb10.uni-bremen.de/anglistik/langpro/bibliographies/jacobsen-bibtex.html
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'BibTeX',
|
||||
'OOLANG' => false,
|
||||
'COMMENT_SINGLE' => array(
|
||||
1 => '%%'
|
||||
),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
0 => array(
|
||||
'@comment','@preamble','@string'
|
||||
),
|
||||
// Standard entry types
|
||||
1 => array(
|
||||
'@article','@book','@booklet','@conference','@inbook',
|
||||
'@incollection','@inproceedings','@manual','@mastersthesis',
|
||||
'@misc','@phdthesis','@proceedings','@techreport','@unpublished'
|
||||
),
|
||||
// Custom entry types
|
||||
2 => array(
|
||||
'@collection','@patent','@webpage'
|
||||
),
|
||||
// Standard entry field names
|
||||
3 => array(
|
||||
'address','annote','author','booktitle','chapter','crossref',
|
||||
'edition','editor','howpublished','institution','journal','key',
|
||||
'month','note','number','organization','pages','publisher','school',
|
||||
'series','title','type','volume','year',
|
||||
),
|
||||
// Custom entry field names
|
||||
4 => array(
|
||||
'abstract','affiliation','chaptername','cited-by','cites',
|
||||
'contents','copyright','date-added','date-modified','doi','eprint',
|
||||
'isbn','issn','keywords','language','lccn','lib-congress',
|
||||
'location','price','rating','read','size','source','url',
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
0 => '',
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'{', '}', '#', '=', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
GESHI_COMMENTS => false,
|
||||
),
|
||||
// Define the colors for the groups listed above
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #C02020;', // Standard entry types
|
||||
2 => 'color: #C02020;', // Custom entry types
|
||||
3 => 'color: #C08020;', // Standard entry field names
|
||||
4 => 'color: #C08020;' // Custom entry field names
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #2C922C; font-style: italic;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #2020C0;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #E02020;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color: #2020C0;', // {...}
|
||||
2 => 'color: #C08020;', // BibDesk fields
|
||||
3 => 'color: #800000;', // LaTeX commands
|
||||
4 => 'color: #C08020;', // Custom entry field (biblatex)
|
||||
5 => 'color: #C02020;', // Custom entry types (biblatex)
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #E02020;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
// {parameters}
|
||||
1 => array(
|
||||
GESHI_SEARCH => "(?<=\\{)(?:\\{(?R)\\}|[^\\{\\}])*(?=\\})",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 's',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
2 => array(
|
||||
GESHI_SEARCH => "\bBdsk-(File|Url)-\d+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
3 => array(
|
||||
GESHI_SEARCH => "\\\\[A-Za-z0-9]*+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
4 => array(
|
||||
GESHI_SEARCH => "([A-z]+)\s+=",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
5 => array(
|
||||
GESHI_SEARCH => "@([A-z])+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'NUMBERS' => GESHI_NEVER
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
3 => array(
|
||||
'DISALLOWED_AFTER' => '(?=\s*=)'
|
||||
),
|
||||
4 => array(
|
||||
'DISALLOWED_AFTER' => '(?=\s*=)'
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
181
serendipity_event_geshi/geshi/bibtex.php
Normal file
181
serendipity_event_geshi/geshi/bibtex.php
Normal file
|
@ -0,0 +1,181 @@
|
|||
<?php
|
||||
/********************************************************************************
|
||||
* bibtex.php
|
||||
* -----
|
||||
* Author: Quinn Taylor (quinntaylor@mac.com)
|
||||
* Copyright: (c) 2009 Quinn Taylor (quinntaylor@mac.com), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/04/29
|
||||
*
|
||||
* BibTeX language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/04/29 (1.0.8.4)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* -------------------------
|
||||
* - Add regex for matching and replacing URLs with corresponding hyperlinks
|
||||
* - Add regex for matching more LaTeX commands that may be embedded in BibTeX
|
||||
* (Someone who understands regex better than I should borrow from latex.php)
|
||||
********************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
*
|
||||
*******************************************************************************/
|
||||
|
||||
// http://en.wikipedia.org/wiki/BibTeX
|
||||
// http://www.fb10.uni-bremen.de/anglistik/langpro/bibliographies/jacobsen-bibtex.html
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'BibTeX',
|
||||
'OOLANG' => false,
|
||||
'COMMENT_SINGLE' => array(
|
||||
1 => '%%'
|
||||
),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
0 => array(
|
||||
'@comment','@preamble','@string'
|
||||
),
|
||||
// Standard entry types
|
||||
1 => array(
|
||||
'@article','@book','@booklet','@conference','@inbook',
|
||||
'@incollection','@inproceedings','@manual','@mastersthesis',
|
||||
'@misc','@phdthesis','@proceedings','@techreport','@unpublished'
|
||||
),
|
||||
// Custom entry types
|
||||
2 => array(
|
||||
'@collection','@patent','@webpage'
|
||||
),
|
||||
// Standard entry field names
|
||||
3 => array(
|
||||
'address','annote','author','booktitle','chapter','crossref',
|
||||
'edition','editor','howpublished','institution','journal','key',
|
||||
'month','note','number','organization','pages','publisher','school',
|
||||
'series','title','type','volume','year'
|
||||
),
|
||||
// Custom entry field names
|
||||
4 => array(
|
||||
'abstract','affiliation','chaptername','cited-by','cites',
|
||||
'contents','copyright','date-added','date-modified','doi','eprint',
|
||||
'isbn','issn','keywords','language','lccn','lib-congress',
|
||||
'location','price','rating','read','size','source','url'
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
0 => '',
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'{', '}', '#', '=', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
GESHI_COMMENTS => false,
|
||||
),
|
||||
// Define the colors for the groups listed above
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #C02020;', // Standard entry types
|
||||
2 => 'color: #C02020;', // Custom entry types
|
||||
3 => 'color: #C08020;', // Standard entry field names
|
||||
4 => 'color: #C08020;' // Custom entry field names
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #2C922C; font-style: italic;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #2020C0;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #E02020;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color: #2020C0;', // {...}
|
||||
2 => 'color: #C08020;', // BibDesk fields
|
||||
3 => 'color: #800000;' // LaTeX commands
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #E02020;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
// {parameters}
|
||||
1 => array(
|
||||
GESHI_SEARCH => "(?<=\\{)(?:\\{(?R)\\}|[^\\{\\}])*(?=\\})",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 's',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
2 => array(
|
||||
GESHI_SEARCH => "\bBdsk-(File|Url)-\d+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
3 => array(
|
||||
GESHI_SEARCH => "\\\\[A-Za-z0-9]*+",
|
||||
GESHI_REPLACE => '\0',
|
||||
GESHI_MODIFIERS => 'Us',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'NUMBERS' => GESHI_NEVER
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
3 => array(
|
||||
'DISALLOWED_AFTER' => '(?=\s*=)'
|
||||
),
|
||||
4 => array(
|
||||
'DISALLOWED_AFTER' => '(?=\s*=)'
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* --------------
|
||||
* Author: P<EFBFBD>draig O`Connel (info@moonsword.info)
|
||||
* Copyright: (c) 2005 P<EFBFBD>draig O`Connel (http://moonsword.info)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 16.10.2005
|
||||
*
|
||||
* BlitzBasic language file for GeSHi.
|
||||
|
@ -56,7 +56,7 @@ $language_data = array (
|
|||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'If','EndIf','ElseIf','Else If','Else','While','Wend','Return','Next','Include','End Type','End Select','End If','End Function','End','Select',
|
||||
'If','EndIf','ElseIf','Else','While','Wend','Return','Next','Include','End Type','End Select','End If','End Function','End','Select',
|
||||
'Type','Forever','For','Or','And','AppTitle','Case','Goto','Gosub','Step','Stop','Int','Last','False','Then','To','True','Until','Float',
|
||||
'String','Before','Not'
|
||||
),
|
||||
|
@ -181,5 +181,3 @@ $language_data = array (
|
|||
1 => false
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Rowan Rodrik van der Molen (rowan@bigsmoke.us)
|
||||
* Copyright: (c) 2006 Rowan Rodrik van der Molen (http://www.bigsmoke.us/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/09/28
|
||||
*
|
||||
* BNF (Backus-Naur form) language file for GeSHi.
|
||||
|
@ -45,21 +45,26 @@
|
|||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'bnf',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_SINGLE' => array(';'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"', "'"),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '<', '>', '::=', '|'
|
||||
0 => array('(', ')'),
|
||||
1 => array('<', '>'),
|
||||
2 => array('[', ']'),
|
||||
3 => array('{', '}'),
|
||||
4 => array('=', '*', '/', '|', ':'),
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
//GESHI_COMMENTS => false
|
||||
GESHI_COMMENTS => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(),
|
||||
'COMMENTS' => array(
|
||||
0 => 'color: #666666; font-style: italic;', // Single Line comments
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => ''
|
||||
|
@ -78,8 +83,12 @@ $language_data = array (
|
|||
0 => ''
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000066; font-weight: bold;', // Unused
|
||||
),
|
||||
0 => 'color: #000066; font-weight: bold;', // Round brackets
|
||||
1 => 'color: #000066; font-weight: bold;', // Angel Brackets
|
||||
2 => 'color: #000066; font-weight: bold;', // Square Brackets
|
||||
3 => 'color: #000066; font-weight: bold;', // BRaces
|
||||
4 => 'color: #006600; font-weight: bold;', // Other operator symbols
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #007;',
|
||||
),
|
||||
|
@ -106,5 +115,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Marcus Griep (neoeinstein+GeSHi@gmail.com)
|
||||
* Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/09/10
|
||||
*
|
||||
* Boo language file for GeSHi.
|
||||
|
@ -213,5 +213,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -5,14 +5,17 @@
|
|||
* Author: Nigel McNie (nigel@geshi.org)
|
||||
* Contributors:
|
||||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* - Michael Mol (mikemol@gmail.com)
|
||||
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/04
|
||||
*
|
||||
* C language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/01/22 (1.0.8.3)
|
||||
* - Made keywords case-sensitive.
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/XX/XX (1.0.4)
|
||||
|
@ -26,7 +29,7 @@
|
|||
* 2004/07/14 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2004/11/27)
|
||||
* TODO (updated 2009/02/08)
|
||||
* -------------------------
|
||||
* - Get a list of inbuilt functions to add (and explore C more
|
||||
* to complete this rather bare language file
|
||||
|
@ -53,13 +56,29 @@
|
|||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'C',
|
||||
'COMMENT_SINGLE' => array(2 => '#'),
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
//Multiline-continued single-line comments
|
||||
'COMMENT_REGEXP' => array(1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[\\\\abfnrtv\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
|
@ -73,12 +92,105 @@ $language_data = array (
|
|||
'null', 'false', 'break', 'true', 'function', 'enum', 'extern', 'inline'
|
||||
),
|
||||
3 => array(
|
||||
'printf', 'cout'
|
||||
// assert.h
|
||||
'assert',
|
||||
|
||||
//complex.h
|
||||
'cabs', 'cacos', 'cacosh', 'carg', 'casin', 'casinh', 'catan',
|
||||
'catanh', 'ccos', 'ccosh', 'cexp', 'cimag', 'cis', 'clog', 'conj',
|
||||
'cpow', 'cproj', 'creal', 'csin', 'csinh', 'csqrt', 'ctan', 'ctanh',
|
||||
|
||||
//ctype.h
|
||||
'digittoint', 'isalnum', 'isalpha', 'isascii', 'isblank', 'iscntrl',
|
||||
'isdigit', 'isgraph', 'islower', 'isprint', 'ispunct', 'isspace',
|
||||
'isupper', 'isxdigit', 'toascii', 'tolower', 'toupper',
|
||||
|
||||
//inttypes.h
|
||||
'imaxabs', 'imaxdiv', 'strtoimax', 'strtoumax', 'wcstoimax',
|
||||
'wcstoumax',
|
||||
|
||||
//locale.h
|
||||
'localeconv', 'setlocale',
|
||||
|
||||
//math.h
|
||||
'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh', 'exp',
|
||||
'fabs', 'floor', 'frexp', 'ldexp', 'log', 'log10', 'modf', 'pow',
|
||||
'sin', 'sinh', 'sqrt', 'tan', 'tanh',
|
||||
|
||||
//setjmp.h
|
||||
'longjmp', 'setjmp',
|
||||
|
||||
//signal.h
|
||||
'raise',
|
||||
|
||||
//stdarg.h
|
||||
'va_arg', 'va_copy', 'va_end', 'va_start',
|
||||
|
||||
//stddef.h
|
||||
'offsetof',
|
||||
|
||||
//stdio.h
|
||||
'clearerr', 'fclose', 'fdopen', 'feof', 'ferror', 'fflush', 'fgetc',
|
||||
'fgetpos', 'fgets', 'fopen', 'fprintf', 'fputc', 'fputchar',
|
||||
'fputs', 'fread', 'freopen', 'fscanf', 'fseek', 'fsetpos', 'ftell',
|
||||
'fwrite', 'getc', 'getch', 'getchar', 'gets', 'perror', 'printf',
|
||||
'putc', 'putchar', 'puts', 'remove', 'rename', 'rewind', 'scanf',
|
||||
'setbuf', 'setvbuf', 'snprintf', 'sprintf', 'sscanf', 'tmpfile',
|
||||
'tmpnam', 'ungetc', 'vfprintf', 'vfscanf', 'vprintf', 'vscanf',
|
||||
'vsprintf', 'vsscanf',
|
||||
|
||||
//stdlib.h
|
||||
'abort', 'abs', 'atexit', 'atof', 'atoi', 'atol', 'bsearch',
|
||||
'calloc', 'div', 'exit', 'free', 'getenv', 'itoa', 'labs', 'ldiv',
|
||||
'ltoa', 'malloc', 'qsort', 'rand', 'realloc', 'srand', 'strtod',
|
||||
'strtol', 'strtoul', 'system',
|
||||
|
||||
//string.h
|
||||
'memchr', 'memcmp', 'memcpy', 'memmove', 'memset', 'strcat',
|
||||
'strchr', 'strcmp', 'strcoll', 'strcpy', 'strcspn', 'strerror',
|
||||
'strlen', 'strncat', 'strncmp', 'strncpy', 'strpbrk', 'strrchr',
|
||||
'strspn', 'strstr', 'strtok', 'strxfrm',
|
||||
|
||||
//time.h
|
||||
'asctime', 'clock', 'ctime', 'difftime', 'gmtime', 'localtime',
|
||||
'mktime', 'strftime', 'time',
|
||||
|
||||
//wchar.h
|
||||
'btowc', 'fgetwc', 'fgetws', 'fputwc', 'fputws', 'fwide',
|
||||
'fwprintf', 'fwscanf', 'getwc', 'getwchar', 'mbrlen', 'mbrtowc',
|
||||
'mbsinit', 'mbsrtowcs', 'putwc', 'putwchar', 'swprintf', 'swscanf',
|
||||
'ungetwc', 'vfwprintf', 'vswprintf', 'vwprintf', 'wcrtomb',
|
||||
'wcscat', 'wcschr', 'wcscmp', 'wcscoll', 'wcscpy', 'wcscspn',
|
||||
'wcsftime', 'wcslen', 'wcsncat', 'wcsncmp', 'wcsncpy', 'wcspbrk',
|
||||
'wcsrchr', 'wcsrtombs', 'wcsspn', 'wcsstr', 'wcstod', 'wcstok',
|
||||
'wcstol', 'wcstoul', 'wcsxfrm', 'wctob', 'wmemchr', 'wmemcmp',
|
||||
'wmemcpy', 'wmemmove', 'wmemset', 'wprintf', 'wscanf',
|
||||
|
||||
//wctype.h
|
||||
'iswalnum', 'iswalpha', 'iswcntrl', 'iswctype', 'iswdigit',
|
||||
'iswgraph', 'iswlower', 'iswprint', 'iswpunct', 'iswspace',
|
||||
'iswupper', 'iswxdigit', 'towctrans', 'towlower', 'towupper',
|
||||
'wctrans', 'wctype'
|
||||
),
|
||||
4 => array(
|
||||
'auto', 'char', 'const', 'double', 'float', 'int', 'long',
|
||||
'register', 'short', 'signed', 'sizeof', 'static', 'string', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'wchar_t'
|
||||
'register', 'short', 'signed', 'sizeof', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'wchar_t',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t',
|
||||
'size_t', 'off_t'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -91,10 +203,10 @@ $language_data = array (
|
|||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
|
@ -109,7 +221,13 @@ $language_data = array (
|
|||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
|
@ -159,5 +277,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
321
serendipity_event_geshi/geshi/c_loadrunner.php
Normal file
321
serendipity_event_geshi/geshi/c_loadrunner.php
Normal file
|
@ -0,0 +1,321 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* c_loadrunner.php
|
||||
* ---------------------------------
|
||||
* Author: Stuart Moncrieff (stuart at myloadtest dot com)
|
||||
* Copyright: (c) 2010 Stuart Moncrieff (http://www.myloadtest.com/loadrunner-syntax-highlighter/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010-07-25
|
||||
*
|
||||
* C (for LoadRunner) language file for GeSHi.
|
||||
*
|
||||
* Based on LoadRunner 9.52.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010-08-01 (1.0.8.9)
|
||||
* - Added highlighting support for LoadRunner {parameters}.
|
||||
* 2010-07-25 (1.0.8.8)
|
||||
* - First Release. Syntax highlighting support for lr_, web_, and sapgui_ functions only.
|
||||
*
|
||||
* TODO (updated 2010-07-25)
|
||||
* -------------------------
|
||||
* - Add support for other vuser types: MMS, FTP, etc.
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
* ************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
// The First Indices
|
||||
'LANG_NAME' => 'C (LoadRunner)',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
// Escape characters within strings (like \\) are not highlighted differently in LoadRunner, so
|
||||
// I am using GeSHi escape characters (or regular expressions) to highlight LoadRunner {parameters}.
|
||||
// LoadRunner {parameters} must begin with a letter and contain only alphanumeric characters and '_'
|
||||
'ESCAPE_REGEXP' => array(
|
||||
0 => "#\{[a-zA-Z]{1}[a-zA-Z_]{0,}\}#",
|
||||
),
|
||||
|
||||
// Keywords
|
||||
'KEYWORDS' => array(
|
||||
// Keywords from http://en.wikipedia.org/wiki/C_syntax
|
||||
1 => array(
|
||||
'auto', 'break', 'case', 'char', 'const', 'continue', 'default',
|
||||
'do', 'double', 'else', 'enum', 'extern', 'float', 'for', 'goto',
|
||||
'if', 'inline', 'int', 'long', 'register', 'restrict', 'return',
|
||||
'short', 'signed', 'sizeof', 'static', 'struct', 'switch',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'while',
|
||||
'_Bool', '_Complex', '_Imaginary'
|
||||
),
|
||||
// C preprocessor directives from http://en.wikipedia.org/wiki/C_preprocessor
|
||||
2 => array(
|
||||
'#define', '#if', '#ifdef', '#ifndef', '#include', '#else', '#elif', '#endif', '#pragma', '#undef'
|
||||
),
|
||||
// Functions from lrun.h
|
||||
3 => array(
|
||||
'lr_start_transaction', 'lr_start_sub_transaction', 'lr_start_transaction_instance', 'lr_end_transaction',
|
||||
'lr_end_sub_transaction', 'lr_end_transaction_instance', 'lr_stop_transaction', 'lr_stop_transaction_instance',
|
||||
'lr_resume_transaction', 'lr_resume_transaction_instance', 'lr_wasted_time', 'lr_set_transaction', 'lr_user_data_point',
|
||||
'lr_user_data_point_instance', 'lr_user_data_point_ex', 'lr_user_data_point_instance_ex', 'lr_get_transaction_duration',
|
||||
'lr_get_trans_instance_duration', 'lr_get_transaction_think_time', 'lr_get_trans_instance_think_time',
|
||||
'lr_get_transaction_wasted_time', 'lr_get_trans_instance_wasted_time', 'lr_get_transaction_status',
|
||||
'lr_get_trans_instance_status', 'lr_set_transaction_status', 'lr_set_transaction_status_by_name',
|
||||
'lr_set_transaction_instance_status', 'lr_start_timer', 'lr_end_timer', 'lr_rendezvous', 'lr_rendezvous_ex',
|
||||
'lr_get_vuser_ip', 'lr_whoami', 'lr_get_host_name', 'lr_get_master_host_name', 'lr_get_attrib_long',
|
||||
'lr_get_attrib_string', 'lr_get_attrib_double', 'lr_paramarr_idx', 'lr_paramarr_random', 'lr_paramarr_len',
|
||||
'lr_param_unique', 'lr_param_sprintf', 'lr_load_dll', 'lr_continue_on_error', 'lr_decrypt', 'lr_abort', 'lr_exit',
|
||||
'lr_peek_events', 'lr_think_time', 'lr_debug_message', 'lr_log_message', 'lr_message', 'lr_error_message',
|
||||
'lr_output_message', 'lr_vuser_status_message', 'lr_fail_trans_with_error', 'lr_next_row', 'lr_advance_param',
|
||||
'lr_eval_string', 'lr_eval_string_ext', 'lr_eval_string_ext_free', 'lr_param_increment', 'lr_save_var',
|
||||
'lr_save_string', 'lr_save_int', 'lr_save_datetime', 'lr_save_searched_string', 'lr_set_debug_message',
|
||||
'lr_get_debug_message', 'lr_enable_ip_spoofing', 'lr_disable_ip_spoofing', 'lr_convert_string_encoding'
|
||||
),
|
||||
// Constants from lrun.h
|
||||
4 => array(
|
||||
'DP_FLAGS_NO_LOG', 'DP_FLAGS_STANDARD_LOG', 'DP_FLAGS_EXTENDED_LOG', 'merc_timer_handle_t', 'LR_EXIT_VUSER',
|
||||
'LR_EXIT_ACTION_AND_CONTINUE', 'LR_EXIT_ITERATION_AND_CONTINUE', 'LR_EXIT_VUSER_AFTER_ITERATION',
|
||||
'LR_EXIT_VUSER_AFTER_ACTION', 'LR_EXIT_MAIN_ITERATION_AND_CONTINUE', 'LR_MSG_CLASS_DISABLE_LOG',
|
||||
'LR_MSG_CLASS_STANDARD_LOG', 'LR_MSG_CLASS_RETURNED_DATA', 'LR_MSG_CLASS_PARAMETERS', 'LR_MSG_CLASS_ADVANCED_TRACE',
|
||||
'LR_MSG_CLASS_EXTENDED_LOG', 'LR_MSG_CLASS_SENT_DATA', 'LR_MSG_CLASS_JIT_LOG_ON_ERROR', 'LR_SWITCH_OFF', 'LR_SWITCH_ON',
|
||||
'LR_SWITCH_DEFAULT', 'ONE_DAY', 'ONE_HOUR', 'ONE_MIN', 'DATE_NOW', 'TIME_NOW', 'LR_MSG_CLASS_BRIEF_LOG',
|
||||
'LR_MSG_CLASS_RESULT_DATA', 'LR_MSG_CLASS_FULL_TRACE', 'LR_MSG_CLASS_AUTO_LOG', 'LR_MSG_OFF', 'LR_MSG_ON',
|
||||
'LR_MSG_DEFAULT'
|
||||
),
|
||||
// Functions from web_api.h
|
||||
5 => array(
|
||||
'web_reg_add_cookie', 'web_report_data_point', 'web_text_link', 'web_element', 'web_image_link', 'web_static_image',
|
||||
'web_image_submit', 'web_button', 'web_edit_field', 'web_radio_group', 'web_check_box', 'web_list', 'web_text_area',
|
||||
'web_map_area', 'web_eval_java_script', 'web_reg_dialog', 'web_reg_cross_step_download', 'web_browser',
|
||||
'web_set_rts_key', 'web_save_param_length', 'web_save_timestamp_param', 'web_load_cache', 'web_dump_cache',
|
||||
'web_add_cookie_ex'
|
||||
),
|
||||
// Constants from web_api.h
|
||||
6 => array(
|
||||
'DESCRIPTION', 'ACTION', 'VERIFICATION', 'LR_NOT_FOUND', 'HTTP_INFO_TOTAL_REQUEST_STAT',
|
||||
'HTTP_INFO_TOTAL_RESPONSE_STAT', 'LRW_OPT_STOP_VUSER_ON_ERROR', 'LRW_OPT_DISPLAY_IMAGE_BODY'
|
||||
),
|
||||
// Functions from as_web.h
|
||||
7 => array(
|
||||
'web_add_filter', 'web_add_auto_filter', 'web_add_auto_header', 'web_add_header', 'web_add_cookie',
|
||||
'web_cleanup_auto_headers', 'web_cleanup_cookies', 'web_concurrent_end', 'web_concurrent_start', 'web_create_html_param',
|
||||
'web_create_html_param_ex', 'web_custom_request', 'web_disable_keep_alive', 'web_enable_keep_alive', 'web_find',
|
||||
'web_get_int_property', 'web_image', 'web_image_check', 'web_link', 'web_global_verification', 'web_reg_find',
|
||||
'web_reg_save_param', 'web_convert_param', 'web_remove_auto_filter', 'web_remove_auto_header', 'web_revert_auto_header',
|
||||
'web_remove_cookie', 'web_save_header', 'web_set_certificate', 'web_set_certificate_ex', 'web_set_connections_limit',
|
||||
'web_set_max_html_param_len', 'web_set_max_retries', 'web_set_proxy', 'web_set_proxy_bypass', 'web_set_secure_proxy',
|
||||
'web_set_sockets_option', 'web_set_option', 'web_set_timeout', 'web_set_user', 'web_sjis_to_euc_param',
|
||||
'web_submit_data', 'web_submit_form', 'web_url', 'web_set_proxy_bypass_local', 'web_cache_cleanup',
|
||||
'web_create_html_query', 'web_create_radio_button_param', 'web_switch_net_layer'
|
||||
),
|
||||
// Constants from as_web.h
|
||||
8 => array(
|
||||
'ENDFORM', 'LAST', 'ENDITEM', 'EXTRARES', 'ITEMDATA', 'STARTHIDDENS', 'ENDHIDDENS', 'CONNECT', 'RECEIVE', 'RESOLVE',
|
||||
'STEP', 'REQUEST', 'RESPONSE', 'STARTQUERY', 'ENDQUERY', 'INPROPS', 'OUTPROPS', 'ENDPROPS', 'RAW_BODY_START',
|
||||
'RAW_BODY_END', 'HTTP_INFO_RETURN_CODE', 'HTTP_INFO_DOWNLOAD_SIZE', 'HTTP_INFO_DOWNLOAD_TIME',
|
||||
'LRW_NET_SOCKET_OPT_LOAD_VERIFY_FILE', 'LRW_NET_SOCKET_OPT_DEFAULT_VERIFY_PATH', 'LRW_NET_SOCKET_OPT_SSL_VERSION',
|
||||
'LRW_NET_SOCKET_OPT_SSL_CIPHER_LIST', 'LRW_NET_SOCKET_OPT_SO_REUSE_ADDRESS', 'LRW_NET_SOCKET_OPT_USER_IP_ADDRESS',
|
||||
'LRW_NET_SOCKET_OPT_IP_ADDRESS_BY_INDEX', 'LRW_NET_SOCKET_OPT_HELP', 'LRW_NET_SOCKET_OPT_PRINT_USER_IP_ADDRESS_LIST',
|
||||
'LRW_OPT_HTML_CHAR_REF_BACKWARD_COMPATIBILITY', 'LRW_OPT_VALUE_YES', 'LRW_OPT_VALUE_NO'
|
||||
),
|
||||
// Functions from as_sapgui.h
|
||||
9 => array(
|
||||
'sapgui_open_connection', 'sapgui_open_connection_ex', 'sapgui_logon', 'sapgui_create_session',
|
||||
'sapgui_create_new_session', 'sapgui_call_method', 'sapgui_call_method_ex', 'sapgui_set_property',
|
||||
'sapgui_get_property', 'sapgui_set_collection_property', 'sapgui_active_object_from_parent_method',
|
||||
'sapgui_active_object_from_parent_property', 'sapgui_call_method_of_active_object',
|
||||
'sapgui_call_method_of_active_object_ex', 'sapgui_set_property_of_active_object', 'sapgui_get_property_of_active_object',
|
||||
'sapgui_select_active_connection', 'sapgui_select_active_session', 'sapgui_select_active_window ',
|
||||
'sapgui_status_bar_get_text', 'sapgui_status_bar_get_param', 'sapgui_status_bar_get_type', 'sapgui_get_status_bar_text',
|
||||
'sapgui_get_active_window_title', 'sapgui_is_object_available', 'sapgui_is_tab_selected', 'sapgui_is_object_changeable',
|
||||
'sapgui_set_ok_code', 'sapgui_send_vkey', 'sapgui_resize_window', 'sapgui_window_resize', 'sapgui_window_maximize',
|
||||
'sapgui_window_close', 'sapgui_window_restore', 'sapgui_window_scroll_to_row', 'sapgui_press_button',
|
||||
'sapgui_select_radio_button', 'sapgui_set_password', 'sapgui_set_text', 'sapgui_select_menu', 'sapgui_select_tab',
|
||||
'sapgui_set_checkbox', 'sapgui_set_focus', 'sapgui_select_combobox_entry', 'sapgui_get_ok_code',
|
||||
'sapgui_is_radio_button_selected', 'sapgui_get_text', 'sapgui_is_checkbox_selected', 'sapgui_table_set_focus',
|
||||
'sapgui_table_press_button', 'sapgui_table_select_radio_button', 'sapgui_table_set_password', 'sapgui_table_set_text',
|
||||
'sapgui_table_set_checkbox', 'sapgui_table_select_combobox_entry', 'sapgui_table_set_row_selected',
|
||||
'sapgui_table_set_column_selected', 'sapgui_table_set_column_width', 'sapgui_table_reorder', 'sapgui_table_fill_data',
|
||||
'sapgui_table_get_text', 'sapgui_table_is_radio_button_selected', 'sapgui_table_is_checkbox_selected',
|
||||
'sapgui_table_is_row_selected', 'sapgui_table_is_column_selected', 'sapgui_table_get_column_width',
|
||||
'sapgui_grid_clear_selection', 'sapgui_grid_select_all', 'sapgui_grid_selection_changed',
|
||||
'sapgui_grid_press_column_header', 'sapgui_grid_select_cell', 'sapgui_grid_select_rows', 'sapgui_grid_select_column',
|
||||
'sapgui_grid_deselect_column', 'sapgui_grid_select_columns', 'sapgui_grid_select_cells', 'sapgui_grid_select_cell_row',
|
||||
'sapgui_grid_select_cell_column', 'sapgui_grid_set_column_order', 'sapgui_grid_set_column_width',
|
||||
'sapgui_grid_scroll_to_row', 'sapgui_grid_double_click', 'sapgui_grid_click', 'sapgui_grid_press_button',
|
||||
'sapgui_grid_press_total_row', 'sapgui_grid_set_cell_data', 'sapgui_grid_set_checkbox',
|
||||
'sapgui_grid_double_click_current_cell', 'sapgui_grid_click_current_cell', 'sapgui_grid_press_button_current_cell',
|
||||
'sapgui_grid_press_total_row_current_cell', 'sapgui_grid_press_F1', 'sapgui_grid_press_F4', 'sapgui_grid_press_ENTER',
|
||||
'sapgui_grid_press_toolbar_button', 'sapgui_grid_press_toolbar_context_button', 'sapgui_grid_open_context_menu',
|
||||
'sapgui_grid_select_context_menu', 'sapgui_grid_select_toolbar_menu', 'sapgui_grid_fill_data',
|
||||
'sapgui_grid_get_current_cell_row', 'sapgui_grid_get_current_cell_column', 'sapgui_grid_get_rows_count',
|
||||
'sapgui_grid_get_columns_count', 'sapgui_grid_get_cell_data', 'sapgui_grid_is_checkbox_selected',
|
||||
'sapgui_tree_scroll_to_node', 'sapgui_tree_set_hierarchy_header_width', 'sapgui_tree_set_selected_node',
|
||||
'sapgui_tree_double_click_node', 'sapgui_tree_press_key', 'sapgui_tree_press_button', 'sapgui_tree_set_checkbox',
|
||||
'sapgui_tree_double_click_item', 'sapgui_tree_click_link', 'sapgui_tree_open_default_context_menu',
|
||||
'sapgui_tree_open_node_context_menu', 'sapgui_tree_open_header_context_menu', 'sapgui_tree_open_item_context_menu',
|
||||
'sapgui_tree_select_context_menu', 'sapgui_tree_select_item', 'sapgui_tree_select_node', 'sapgui_tree_unselect_node',
|
||||
'sapgui_tree_unselect_all', 'sapgui_tree_select_column', 'sapgui_tree_unselect_column', 'sapgui_tree_set_column_order',
|
||||
'sapgui_tree_collapse_node', 'sapgui_tree_expand_node', 'sapgui_tree_scroll_to_item', 'sapgui_tree_set_column_width',
|
||||
'sapgui_tree_press_header', 'sapgui_tree_is_checkbox_selected', 'sapgui_tree_get_node_text', 'sapgui_tree_get_item_text',
|
||||
'sapgui_calendar_scroll_to_date', 'sapgui_calendar_focus_date', 'sapgui_calendar_select_interval',
|
||||
'sapgui_apogrid_select_all', 'sapgui_apogrid_clear_selection', 'sapgui_apogrid_select_cell',
|
||||
'sapgui_apogrid_deselect_cell', 'sapgui_apogrid_select_row', 'sapgui_apogrid_deselect_row',
|
||||
'sapgui_apogrid_select_column', 'sapgui_apogrid_deselect_column', 'sapgui_apogrid_scroll_to_row',
|
||||
'sapgui_apogrid_scroll_to_column', 'sapgui_apogrid_double_click', 'sapgui_apogrid_set_cell_data',
|
||||
'sapgui_apogrid_get_cell_data', 'sapgui_apogrid_is_cell_changeable', 'sapgui_apogrid_get_cell_format',
|
||||
'sapgui_apogrid_get_cell_tooltip', 'sapgui_apogrid_press_ENTER', 'sapgui_apogrid_open_cell_context_menu',
|
||||
'sapgui_apogrid_select_context_menu_item', 'sapgui_text_edit_scroll_to_line', 'sapgui_text_edit_set_selection_indexes',
|
||||
'sapgui_text_edit_set_unprotected_text_part', 'sapgui_text_edit_get_first_visible_line',
|
||||
'sapgui_text_edit_get_selection_index_start', 'sapgui_text_edit_get_selection_index_end',
|
||||
'sapgui_text_edit_get_number_of_unprotected_text_parts', 'sapgui_text_edit_double_click',
|
||||
'sapgui_text_edit_single_file_dropped', 'sapgui_text_edit_multiple_files_dropped', 'sapgui_text_edit_press_F1',
|
||||
'sapgui_text_edit_press_F4', 'sapgui_text_edit_open_context_menu', 'sapgui_text_edit_select_context_menu',
|
||||
'sapgui_text_edit_modified_status_changed', 'sapgui_htmlviewer_send_event', 'sapgui_htmlviewer_dom_get_property',
|
||||
'sapgui_toolbar_press_button', 'sapgui_toolbar_press_context_button', 'sapgui_toolbar_select_menu_item',
|
||||
'sapgui_toolbar_select_menu_item_by_text', 'sapgui_toolbar_select_context_menu_item',
|
||||
'sapgui_toolbar_select_context_menu_item_by_text'
|
||||
),
|
||||
// Constants from as_sapgui.h
|
||||
10 => array(
|
||||
'BEGIN_OPTIONAL', 'END_OPTIONAL', 'al-keys', 'ENTER', 'HELP', 'F2', 'BACK', 'F4', 'F5', 'F6', 'F7', 'F8', 'F9',
|
||||
'F10', 'F11', 'ESC', 'SHIFT_F1', 'SHIFT_F2', 'SHIFT_F3', 'SHIFT_F4', 'SHIFT_F5', 'SHIFT_F6', 'SHIFT_F7', 'SHIFT_F8',
|
||||
'SHIFT_F9', 'SHIFT_F10', 'SHIFT_F11', 'SHIFT_F12', 'CTRL_F1', 'CTRL_F2', 'CTRL_F3', 'CTRL_F4', 'CTRL_F5', 'CTRL_F6',
|
||||
'CTRL_F7', 'CTRL_F8', 'CTRL_F9', 'CTRL_F10', 'CTRL_F11', 'CTRL_F12', 'CTRL_SHIFT_F1', 'CTRL_SHIFT_F2', 'CTRL_SHIFT_F3',
|
||||
'CTRL_SHIFT_F4', 'CTRL_SHIFT_F5', 'CTRL_SHIFT_F6', 'CTRL_SHIFT_F7', 'CTRL_SHIFT_F8', 'CTRL_SHIFT_F9', 'CTRL_SHIFT_F10',
|
||||
'CTRL_SHIFT_F11', 'CTRL_SHIFT_F12', 'CANCEL', 'CTRL_F', 'CTRL_PAGE_UP', 'PAGE_UP', 'PAGE_DOWN', 'CTRL_PAGE_DOWN',
|
||||
'CTRL_G', 'CTRL_P'
|
||||
),
|
||||
),
|
||||
|
||||
// Symbols and Case Sensitivity
|
||||
// Symbols from: http://en.wikipedia.org/wiki/C_syntax
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']',
|
||||
'+', '-', '*', '/', '%',
|
||||
'=', '<', '>', '!', '^', '&', '|', '?', ':', ';', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true, // Standard C reserved keywords
|
||||
2 => true, // C preprocessor directives
|
||||
3 => true, // Functions from lrun.h
|
||||
4 => true, // Constants from lrun.h
|
||||
5 => true, // Functions from web_api.h
|
||||
6 => true, // Constants from web_api.h
|
||||
7 => true, // Functions from as_web.h
|
||||
8 => true, // Constants from as_web.h
|
||||
9 => true, // Functions from as_sapgui.h
|
||||
10 => true, // Constants from as_sapgui.h
|
||||
),
|
||||
|
||||
// Styles
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
// Functions are brown, constants and reserved words are blue
|
||||
1 => 'color: #0000ff;', // Standard C reserved keywords
|
||||
2 => 'color: #0000ff;', // C preprocessor directives
|
||||
3 => 'color: #8a0000;', // Functions from lrun.h
|
||||
4 => 'color: #0000ff;', // Constants from lrun.h
|
||||
5 => 'color: #8a0000;', // Functions from web_api.h
|
||||
6 => 'color: #0000ff;', // Constants from web_api.h
|
||||
7 => 'color: #8a0000;', // Functions from as_web.h
|
||||
8 => 'color: #0000ff;', // Constants from as_web.h
|
||||
9 => 'color: #8a0000;', // Functions from as_sapgui.h
|
||||
10 => 'color: #0000ff;', // Constants from as_sapgui.h
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
// Comments are grey
|
||||
1 => 'color: #9b9b9b;',
|
||||
'MULTI' => 'color: #9b9b9b;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
// GeSHi cannot define a separate style for ESCAPE_REGEXP. The style for ESCAPE_CHAR also applies to ESCAPE_REGEXP.
|
||||
// This is used for LoadRunner {parameters}
|
||||
// {parameters} are pink
|
||||
0 => 'color: #c000c0;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
// Strings are green
|
||||
0 => 'color: #008080;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
// Numbers are green
|
||||
0 => 'color: #008080;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #008080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #008080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #008080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#008080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#008080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#008080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#008080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #000000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
|
||||
// URLs for Functions
|
||||
'URLS' => array(
|
||||
1 => '', // Standard C reserved keywords
|
||||
2 => '', // C preprocessor directives
|
||||
3 => '', // Functions from lrun.h
|
||||
4 => '', // Constants from lrun.h
|
||||
5 => '', // Functions from web_api.h
|
||||
6 => '', // Constants from web_api.h
|
||||
7 => '', // Functions from as_web.h
|
||||
8 => '', // Constants from as_web.h
|
||||
9 => '', // Functions from as_sapgui.h
|
||||
10 => '', // Constants from as_sapgui.h
|
||||
),
|
||||
|
||||
// Object Orientation
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
|
||||
// Regular Expressions
|
||||
// Note that REGEXPS are not applied within strings.
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
|
||||
// Contextual Highlighting and Strict Mode
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
|
||||
// Tabs
|
||||
// Note that if you are using <pre> tags for your code, then the browser chooses how many spaces your tabs will translate to.
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ---------
|
||||
* Author: M. Uli Kusterer (witness.of.teachtext@gmx.net)
|
||||
* Copyright: (c) 2004 M. Uli Kusterer, Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/04
|
||||
*
|
||||
* C for Macs language file for GeSHi.
|
||||
|
@ -43,11 +43,27 @@ $language_data = array (
|
|||
'LANG_NAME' => 'C (Mac)',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
//Multiline-continued single-line comments
|
||||
'COMMENT_REGEXP' => array(1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[\\\\abfnrtv\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
|
@ -96,10 +112,25 @@ $language_data = array (
|
|||
),
|
||||
4 => array(
|
||||
'auto', 'char', 'const', 'double', 'float', 'int', 'long',
|
||||
'register', 'short', 'signed', 'static', 'string', 'struct',
|
||||
'register', 'short', 'signed', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
||||
'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t',
|
||||
|
||||
// Mac-specific types:
|
||||
'CFArrayRef', 'CFDictionaryRef', 'CFMutableDictionaryRef', 'CFBundleRef', 'CFSetRef', 'CFStringRef',
|
||||
'CFURLRef', 'CFLocaleRef', 'CFDateFormatterRef', 'CFNumberFormatterRef', 'CFPropertyListRef',
|
||||
|
@ -118,10 +149,10 @@ $language_data = array (
|
|||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
|
@ -136,7 +167,13 @@ $language_data = array (
|
|||
'MULTI' => 'color: #ff0000; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #666666; font-weight: bold;'
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;'
|
||||
|
@ -186,5 +223,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
870
serendipity_event_geshi/geshi/c_winapi.php
Normal file
870
serendipity_event_geshi/geshi/c_winapi.php
Normal file
|
@ -0,0 +1,870 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* c_winapi.php
|
||||
* -----
|
||||
* Author: Benny Baumann (BenBE@geshi.org)
|
||||
* Contributors:
|
||||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* - Michael Mol (mikemol@gmail.com)
|
||||
* Copyright: (c) 2012 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2012/08/12
|
||||
*
|
||||
* C (WinAPI) language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/01/22 (1.0.8.3)
|
||||
* - Made keywords case-sensitive.
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/XX/XX (1.0.4)
|
||||
* - Added a couple of new keywords (Jack Lloyd)
|
||||
* 2004/11/27 (1.0.3)
|
||||
* - Added support for multiple object splitters
|
||||
* 2004/10/27 (1.0.2)
|
||||
* - Added support for URLs
|
||||
* 2004/08/05 (1.0.1)
|
||||
* - Added support for symbols
|
||||
* 2004/07/14 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2009/02/08)
|
||||
* -------------------------
|
||||
* - Get a list of inbuilt functions to add (and explore C more
|
||||
* to complete this rather bare language file
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'C (WinAPI)',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[\\\\abfnrtv\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'if', 'return', 'while', 'case', 'continue', 'default',
|
||||
'do', 'else', 'for', 'switch', 'goto'
|
||||
),
|
||||
2 => array(
|
||||
'null', 'false', 'break', 'true', 'function', 'enum', 'extern', 'inline'
|
||||
),
|
||||
3 => array(
|
||||
// assert.h
|
||||
'assert',
|
||||
|
||||
//complex.h
|
||||
'cabs', 'cacos', 'cacosh', 'carg', 'casin', 'casinh', 'catan',
|
||||
'catanh', 'ccos', 'ccosh', 'cexp', 'cimag', 'cis', 'clog', 'conj',
|
||||
'cpow', 'cproj', 'creal', 'csin', 'csinh', 'csqrt', 'ctan', 'ctanh',
|
||||
|
||||
//ctype.h
|
||||
'digittoint', 'isalnum', 'isalpha', 'isascii', 'isblank', 'iscntrl',
|
||||
'isdigit', 'isgraph', 'islower', 'isprint', 'ispunct', 'isspace',
|
||||
'isupper', 'isxdigit', 'toascii', 'tolower', 'toupper',
|
||||
|
||||
//inttypes.h
|
||||
'imaxabs', 'imaxdiv', 'strtoimax', 'strtoumax', 'wcstoimax',
|
||||
'wcstoumax',
|
||||
|
||||
//locale.h
|
||||
'localeconv', 'setlocale',
|
||||
|
||||
//math.h
|
||||
'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh', 'exp',
|
||||
'fabs', 'floor', 'frexp', 'ldexp', 'log', 'log10', 'modf', 'pow',
|
||||
'sin', 'sinh', 'sqrt', 'tan', 'tanh',
|
||||
|
||||
//setjmp.h
|
||||
'longjmp', 'setjmp',
|
||||
|
||||
//signal.h
|
||||
'raise',
|
||||
|
||||
//stdarg.h
|
||||
'va_arg', 'va_copy', 'va_end', 'va_start',
|
||||
|
||||
//stddef.h
|
||||
'offsetof',
|
||||
|
||||
//stdio.h
|
||||
'clearerr', 'fclose', 'fdopen', 'feof', 'ferror', 'fflush', 'fgetc',
|
||||
'fgetpos', 'fgets', 'fopen', 'fprintf', 'fputc', 'fputchar',
|
||||
'fputs', 'fread', 'freopen', 'fscanf', 'fseek', 'fsetpos', 'ftell',
|
||||
'fwrite', 'getc', 'getch', 'getchar', 'gets', 'perror', 'printf',
|
||||
'putc', 'putchar', 'puts', 'remove', 'rename', 'rewind', 'scanf',
|
||||
'setbuf', 'setvbuf', 'snprintf', 'sprintf', 'sscanf', 'tmpfile',
|
||||
'tmpnam', 'ungetc', 'vfprintf', 'vfscanf', 'vprintf', 'vscanf',
|
||||
'vsprintf', 'vsscanf',
|
||||
|
||||
//stdlib.h
|
||||
'abort', 'abs', 'atexit', 'atof', 'atoi', 'atol', 'bsearch',
|
||||
'calloc', 'div', 'exit', 'free', 'getenv', 'itoa', 'labs', 'ldiv',
|
||||
'ltoa', 'malloc', 'qsort', 'rand', 'realloc', 'srand', 'strtod',
|
||||
'strtol', 'strtoul', 'system',
|
||||
|
||||
//string.h
|
||||
'memchr', 'memcmp', 'memcpy', 'memmove', 'memset', 'strcat',
|
||||
'strchr', 'strcmp', 'strcoll', 'strcpy', 'strcspn', 'strerror',
|
||||
'strlen', 'strncat', 'strncmp', 'strncpy', 'strpbrk', 'strrchr',
|
||||
'strspn', 'strstr', 'strtok', 'strxfrm',
|
||||
|
||||
//time.h
|
||||
'asctime', 'clock', 'ctime', 'difftime', 'gmtime', 'localtime',
|
||||
'mktime', 'strftime', 'time',
|
||||
|
||||
//wchar.h
|
||||
'btowc', 'fgetwc', 'fgetws', 'fputwc', 'fputws', 'fwide',
|
||||
'fwprintf', 'fwscanf', 'getwc', 'getwchar', 'mbrlen', 'mbrtowc',
|
||||
'mbsinit', 'mbsrtowcs', 'putwc', 'putwchar', 'swprintf', 'swscanf',
|
||||
'ungetwc', 'vfwprintf', 'vswprintf', 'vwprintf', 'wcrtomb',
|
||||
'wcscat', 'wcschr', 'wcscmp', 'wcscoll', 'wcscpy', 'wcscspn',
|
||||
'wcsftime', 'wcslen', 'wcsncat', 'wcsncmp', 'wcsncpy', 'wcspbrk',
|
||||
'wcsrchr', 'wcsrtombs', 'wcsspn', 'wcsstr', 'wcstod', 'wcstok',
|
||||
'wcstol', 'wcstoul', 'wcsxfrm', 'wctob', 'wmemchr', 'wmemcmp',
|
||||
'wmemcpy', 'wmemmove', 'wmemset', 'wprintf', 'wscanf',
|
||||
|
||||
//wctype.h
|
||||
'iswalnum', 'iswalpha', 'iswcntrl', 'iswctype', 'iswdigit',
|
||||
'iswgraph', 'iswlower', 'iswprint', 'iswpunct', 'iswspace',
|
||||
'iswupper', 'iswxdigit', 'towctrans', 'towlower', 'towupper',
|
||||
'wctrans', 'wctype'
|
||||
),
|
||||
4 => array(
|
||||
'auto', 'char', 'const', 'double', 'float', 'int', 'long',
|
||||
'register', 'short', 'signed', 'sizeof', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'wchar_t',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t',
|
||||
'size_t', 'off_t'
|
||||
),
|
||||
// Public API
|
||||
5 => array(
|
||||
'AssignProcessToJobObject', 'CommandLineToArgvW', 'ConvertThreadToFiber',
|
||||
'CreateFiber', 'CreateJobObjectA', 'CreateJobObjectW', 'CreateProcessA',
|
||||
'CreateProcessAsUserA', 'CreateProcessAsUserW', 'CreateProcessW',
|
||||
'CreateRemoteThread', 'CreateThread', 'DeleteFiber', 'ExitProcess',
|
||||
'ExitThread', 'FreeEnvironmentStringsA', 'FreeEnvironmentStringsW',
|
||||
'GetCommandLineA', 'GetCommandLineW', 'GetCurrentProcess',
|
||||
'GetCurrentProcessId', 'GetCurrentThread', 'GetCurrentThreadId',
|
||||
'GetEnvironmentStringsA', 'GetEnvironmentStringsW',
|
||||
'GetEnvironmentVariableA', 'GetEnvironmentVariableW', 'GetExitCodeProcess',
|
||||
'GetExitCodeThread', 'GetGuiResources', 'GetPriorityClass',
|
||||
'GetProcessAffinityMask', 'GetProcessPriorityBoost',
|
||||
'GetProcessShutdownParameters', 'GetProcessTimes', 'GetProcessVersion',
|
||||
'GetProcessWorkingSetSize', 'GetStartupInfoA', 'GetStartupInfoW',
|
||||
'GetThreadPriority', 'GetThreadPriorityBoost', 'GetThreadTimes',
|
||||
'OpenJobObjectA', 'OpenJobObjectW', 'OpenProcess',
|
||||
'QueryInformationJobObject', 'ResumeThread', 'SetEnvironmentVariableA',
|
||||
'SetEnvironmentVariableW', 'SetInformationJobObject', 'SetPriorityClass',
|
||||
'SetProcessAffinityMask', 'SetProcessPriorityBoost',
|
||||
'SetProcessShutdownParameters', 'SetProcessWorkingSetSize',
|
||||
'SetThreadAffinityMask', 'SetThreadIdealProcessor', 'SetThreadPriority',
|
||||
'SetThreadPriorityBoost', 'Sleep', 'SleepEx', 'SuspendThread',
|
||||
'SwitchToFiber', 'SwitchToThread', 'TerminateJobObject', 'TerminateProcess',
|
||||
'TerminateThread', 'WaitForInputIdle', 'WinExec',
|
||||
|
||||
'_hread', '_hwrite', '_lclose', '_lcreat', '_llseek', '_lopen', '_lread',
|
||||
'_lwrite', 'AreFileApisANSI', 'CancelIo', 'CopyFileA', 'CopyFileW',
|
||||
'CreateDirectoryA', 'CreateDirectoryExA', 'CreateDirectoryExW',
|
||||
'CreateDirectoryW', 'CreateFileA', 'CreateFileW', 'DeleteFileA',
|
||||
'DeleteFileW', 'FindClose', 'FindCloseChangeNotification',
|
||||
'FindFirstChangeNotificationA', 'FindFirstChangeNotificationW',
|
||||
'FindFirstFileA', 'FindFirstFileW', 'FindNextFileA', 'FindNextFileW',
|
||||
'FlushFileBuffers', 'GetCurrentDirectoryA', 'GetCurrentDirectoryW',
|
||||
'GetDiskFreeSpaceA', 'GetDiskFreeSpaceExA', 'GetDiskFreeSpaceExW',
|
||||
'GetDiskFreeSpaceW', 'GetDriveTypeA', 'GetDriveTypeW', 'GetFileAttributesA',
|
||||
'GetFileAttributesExA', 'GetFileAttributesExW', 'GetFileAttributesW',
|
||||
'GetFileInformationByHandle', 'GetFileSize', 'GetFileType',
|
||||
'GetFullPathNameA', 'GetFullPathNameW', 'GetLogicalDrives',
|
||||
'GetLogicalDriveStringsA', 'GetLogicalDriveStringsW', 'GetLongPathNameA',
|
||||
'GetLongPathNameW', 'GetShortPathNameA', 'GetShortPathNameW',
|
||||
'GetTempFileNameA', 'GetTempFileNameW', 'GetTempPathA', 'GetTempPathW',
|
||||
'LockFile', 'MoveFileA', 'MoveFileW', 'MulDiv', 'OpenFile',
|
||||
'QueryDosDeviceA', 'QueryDosDeviceW', 'ReadFile', 'ReadFileEx',
|
||||
'RemoveDirectoryA', 'RemoveDirectoryW', 'SearchPathA', 'SearchPathW',
|
||||
'SetCurrentDirectoryA', 'SetCurrentDirectoryW', 'SetEndOfFile',
|
||||
'SetFileApisToANSI', 'SetFileApisToOEM', 'SetFileAttributesA',
|
||||
'SetFileAttributesW', 'SetFilePointer', 'SetHandleCount',
|
||||
'SetVolumeLabelA', 'SetVolumeLabelW', 'UnlockFile', 'WriteFile',
|
||||
'WriteFileEx',
|
||||
|
||||
'DeviceIoControl',
|
||||
|
||||
'GetModuleFileNameA', 'GetModuleFileNameW', 'GetProcAddress',
|
||||
'LoadLibraryA', 'LoadLibraryExA', 'LoadLibraryExW', 'LoadLibraryW',
|
||||
'LoadModule',
|
||||
|
||||
'GetPrivateProfileIntA', 'GetPrivateProfileIntW',
|
||||
'GetPrivateProfileSectionA', 'GetPrivateProfileSectionNamesA',
|
||||
'GetPrivateProfileSectionNamesW', 'GetPrivateProfileSectionW',
|
||||
'GetPrivateProfileStringA', 'GetPrivateProfileStringW',
|
||||
'GetPrivateProfileStructA', 'GetPrivateProfileStructW',
|
||||
'GetProfileIntA', 'GetProfileIntW', 'GetProfileSectionA',
|
||||
'GetProfileSectionW', 'GetProfileStringA', 'GetProfileStringW',
|
||||
'RegCloseKey', 'RegConnectRegistryA', 'RegConnectRegistryW',
|
||||
'RegCreateKeyA', 'RegCreateKeyExA', 'RegCreateKeyExW',
|
||||
'RegCreateKeyW', 'RegDeleteKeyA', 'RegDeleteKeyW', 'RegDeleteValueA',
|
||||
'RegDeleteValueW', 'RegEnumKeyA', 'RegEnumKeyExA', 'RegEnumKeyExW',
|
||||
'RegEnumKeyW', 'RegEnumValueA', 'RegEnumValueW', 'RegFlushKey',
|
||||
'RegGetKeySecurity', 'RegLoadKeyA', 'RegLoadKeyW',
|
||||
'RegNotifyChangeKeyValue', 'RegOpenKeyA', 'RegOpenKeyExA', 'RegOpenKeyExW',
|
||||
'RegOpenKeyW', 'RegOverridePredefKey', 'RegQueryInfoKeyA',
|
||||
'RegQueryInfoKeyW', 'RegQueryMultipleValuesA', 'RegQueryMultipleValuesW',
|
||||
'RegQueryValueA', 'RegQueryValueExA', 'RegQueryValueExW', 'RegQueryValueW',
|
||||
'RegReplaceKeyA', 'RegReplaceKeyW', 'RegRestoreKeyA', 'RegRestoreKeyW',
|
||||
'RegSaveKeyA', 'RegSaveKeyW', 'RegSetKeySecurity', 'RegSetValueA',
|
||||
'RegSetValueExA', 'RegSetValueExW', 'RegSetValueW', 'RegUnLoadKeyA',
|
||||
'RegUnLoadKeyW', 'WritePrivateProfileSectionA', 'WritePrivateProfileSectionW',
|
||||
'WritePrivateProfileStringA', 'WritePrivateProfileStringW',
|
||||
'WritePrivateProfileStructA', 'WritePrivateProfileStructW',
|
||||
'WriteProfileSectionA', 'WriteProfileSectionW', 'WriteProfileStringA',
|
||||
'WriteProfileStringW',
|
||||
|
||||
'AccessCheck', 'AccessCheckAndAuditAlarmA', 'AccessCheckAndAuditAlarmW',
|
||||
'AccessCheckByType', 'AccessCheckByTypeAndAuditAlarmA',
|
||||
'AccessCheckByTypeAndAuditAlarmW', 'AccessCheckByTypeResultList',
|
||||
'AccessCheckByTypeResultListAndAuditAlarmA', 'AccessCheckByTypeResultListAndAuditAlarmW',
|
||||
'AddAccessAllowedAce', 'AddAccessAllowedAceEx', 'AddAccessAllowedObjectAce',
|
||||
'AddAccessDeniedAce', 'AddAccessDeniedAceEx', 'AddAccessDeniedObjectAce',
|
||||
'AddAce', 'AddAuditAccessAce', 'AddAuditAccessAceEx', 'AddAuditAccessObjectAce',
|
||||
'AdjustTokenGroups', 'AdjustTokenPrivileges', 'AllocateAndInitializeSid',
|
||||
'AllocateLocallyUniqueId', 'AreAllAccessesGranted', 'AreAnyAccessesGranted',
|
||||
'BuildExplicitAccessWithNameA', 'BuildExplicitAccessWithNameW',
|
||||
'BuildImpersonateExplicitAccessWithNameA', 'BuildImpersonateExplicitAccessWithNameW',
|
||||
'BuildImpersonateTrusteeA', 'BuildImpersonateTrusteeW', 'BuildSecurityDescriptorA',
|
||||
'BuildSecurityDescriptorW', 'BuildTrusteeWithNameA', 'BuildTrusteeWithNameW',
|
||||
'BuildTrusteeWithSidA', 'BuildTrusteeWithSidW',
|
||||
'ConvertToAutoInheritPrivateObjectSecurity', 'CopySid', 'CreatePrivateObjectSecurity',
|
||||
'CreatePrivateObjectSecurityEx', 'CreateRestrictedToken', 'DeleteAce',
|
||||
'DestroyPrivateObjectSecurity', 'DuplicateToken', 'DuplicateTokenEx',
|
||||
'EqualPrefixSid', 'EqualSid', 'FindFirstFreeAce', 'FreeSid', 'GetAce',
|
||||
'GetAclInformation', 'GetAuditedPermissionsFromAclA', 'GetAuditedPermissionsFromAclW',
|
||||
'GetEffectiveRightsFromAclA', 'GetEffectiveRightsFromAclW',
|
||||
'GetExplicitEntriesFromAclA', 'GetExplicitEntriesFromAclW', 'GetFileSecurityA',
|
||||
'GetFileSecurityW', 'GetKernelObjectSecurity', 'GetLengthSid', 'GetMultipleTrusteeA',
|
||||
'GetMultipleTrusteeOperationA', 'GetMultipleTrusteeOperationW', 'GetMultipleTrusteeW',
|
||||
'GetNamedSecurityInfoA', 'GetNamedSecurityInfoW', 'GetPrivateObjectSecurity',
|
||||
'GetSecurityDescriptorControl', 'GetSecurityDescriptorDacl',
|
||||
'GetSecurityDescriptorGroup', 'GetSecurityDescriptorLength',
|
||||
'GetSecurityDescriptorOwner', 'GetSecurityDescriptorSacl', 'GetSecurityInfo',
|
||||
'GetSidIdentifierAuthority', 'GetSidLengthRequired', 'GetSidSubAuthority',
|
||||
'GetSidSubAuthorityCount', 'GetTokenInformation', 'GetTrusteeFormA',
|
||||
'GetTrusteeFormW', 'GetTrusteeNameA', 'GetTrusteeNameW', 'GetTrusteeTypeA',
|
||||
'GetTrusteeTypeW', 'GetUserObjectSecurity', 'ImpersonateLoggedOnUser',
|
||||
'ImpersonateNamedPipeClient', 'ImpersonateSelf', 'InitializeAcl',
|
||||
'InitializeSecurityDescriptor', 'InitializeSid', 'IsTokenRestricted', 'IsValidAcl',
|
||||
'IsValidSecurityDescriptor', 'IsValidSid', 'LogonUserA', 'LogonUserW',
|
||||
'LookupAccountNameA', 'LookupAccountNameW', 'LookupAccountSidA', 'LookupAccountSidW',
|
||||
'LookupPrivilegeDisplayNameA', 'LookupPrivilegeDisplayNameW', 'LookupPrivilegeNameA',
|
||||
'LookupPrivilegeNameW', 'LookupPrivilegeValueA', 'LookupPrivilegeValueW',
|
||||
'LookupSecurityDescriptorPartsA', 'LookupSecurityDescriptorPartsW', 'MakeAbsoluteSD',
|
||||
'MakeSelfRelativeSD', 'MapGenericMask', 'ObjectCloseAuditAlarmA',
|
||||
'ObjectCloseAuditAlarmW', 'ObjectDeleteAuditAlarmA', 'ObjectDeleteAuditAlarmW',
|
||||
'ObjectOpenAuditAlarmA', 'ObjectOpenAuditAlarmW', 'ObjectPrivilegeAuditAlarmA',
|
||||
'ObjectPrivilegeAuditAlarmW', 'OpenProcessToken', 'OpenThreadToken', 'PrivilegeCheck',
|
||||
'PrivilegedServiceAuditAlarmA', 'PrivilegedServiceAuditAlarmW', 'RevertToSelf',
|
||||
'SetAclInformation', 'SetEntriesInAclA', 'SetEntriesInAclW', 'SetFileSecurityA',
|
||||
'SetFileSecurityW', 'SetKernelObjectSecurity', 'SetNamedSecurityInfoA',
|
||||
'SetNamedSecurityInfoW', 'SetPrivateObjectSecurity', 'SetPrivateObjectSecurityEx',
|
||||
'SetSecurityDescriptorControl', 'SetSecurityDescriptorDacl',
|
||||
'SetSecurityDescriptorGroup', 'SetSecurityDescriptorOwner',
|
||||
'SetSecurityDescriptorSacl', 'SetSecurityInfo', 'SetThreadToken',
|
||||
'SetTokenInformation', 'SetUserObjectSecurity', 'ChangeServiceConfig2A',
|
||||
'ChangeServiceConfig2W', 'ChangeServiceConfigA', 'ChangeServiceConfigW',
|
||||
'CloseServiceHandle', 'ControlService', 'CreateServiceA', 'CreateServiceW',
|
||||
'DeleteService', 'EnumDependentServicesA', 'EnumDependentServicesW',
|
||||
'EnumServicesStatusA', 'EnumServicesStatusW', 'GetServiceDisplayNameA',
|
||||
'GetServiceDisplayNameW', 'GetServiceKeyNameA', 'GetServiceKeyNameW',
|
||||
'LockServiceDatabase', 'NotifyBootConfigStatus', 'OpenSCManagerA', 'OpenSCManagerW',
|
||||
'OpenServiceA', 'OpenServiceW', 'QueryServiceConfig2A', 'QueryServiceConfig2W',
|
||||
'QueryServiceConfigA', 'QueryServiceConfigW', 'QueryServiceLockStatusA',
|
||||
'QueryServiceLockStatusW', 'QueryServiceObjectSecurity', 'QueryServiceStatus',
|
||||
'RegisterServiceCtrlHandlerA', 'RegisterServiceCtrlHandlerW',
|
||||
'SetServiceObjectSecurity', 'SetServiceStatus', 'StartServiceA',
|
||||
'StartServiceCtrlDispatcherA', 'StartServiceCtrlDispatcherW', 'StartServiceW',
|
||||
'UnlockServiceDatabase',
|
||||
|
||||
'MultinetGetConnectionPerformanceA', 'MultinetGetConnectionPerformanceW',
|
||||
'NetAlertRaise', 'NetAlertRaiseEx', 'NetApiBufferAllocate', 'NetApiBufferFree',
|
||||
'NetApiBufferReallocate', 'NetApiBufferSize', 'NetConnectionEnum', 'NetFileClose',
|
||||
'NetFileGetInfo', 'NetGetAnyDCName', 'NetGetDCName', 'NetGetDisplayInformationIndex',
|
||||
'NetGroupAdd', 'NetGroupAddUser', 'NetGroupDel', 'NetGroupDelUser', 'NetGroupEnum',
|
||||
'NetGroupGetInfo', 'NetGroupGetUsers', 'NetGroupSetInfo', 'NetGroupSetUsers',
|
||||
'NetLocalGroupAdd', 'NetLocalGroupAddMember', 'NetLocalGroupAddMembers',
|
||||
'NetLocalGroupDel', 'NetLocalGroupDelMember', 'NetLocalGroupDelMembers',
|
||||
'NetLocalGroupEnum', 'NetLocalGroupGetInfo', 'NetLocalGroupGetMembers',
|
||||
'NetLocalGroupSetInfo', 'NetLocalGroupSetMembers', 'NetMessageBufferSend',
|
||||
'NetMessageNameAdd', 'NetMessageNameDel', 'NetMessageNameEnum',
|
||||
'NetMessageNameGetInfo', 'NetQueryDisplayInformation', 'NetRemoteComputerSupports',
|
||||
'NetRemoteTOd', 'NetReplExportDirAdd', 'NetReplExportDirDel', 'NetReplExportDirEnum',
|
||||
'NetReplExportDirGetInfo', 'NetReplExportDirLock', 'NetReplExportDirSetInfo',
|
||||
'NetReplExportDirUnlock', 'NetReplGetInfo', 'NetReplImportDirAdd',
|
||||
'NetReplImportDirDel', 'NetReplImportDirEnum', 'NetReplImportDirGetInfo',
|
||||
'NetReplImportDirLock', 'NetReplImportDirUnlock', 'NetReplSetInfo',
|
||||
'NetScheduleJobAdd', 'NetScheduleJobDel', 'NetScheduleJobEnum',
|
||||
'NetScheduleJobGetInfo', 'NetServerComputerNameAdd', 'NetServerComputerNameDel',
|
||||
'NetServerDiskEnum', 'NetServerEnum', 'NetServerEnumEx', 'NetServerGetInfo',
|
||||
'NetServerSetInfo', 'NetServerTransportAdd', 'NetServerTransportAddEx',
|
||||
'NetServerTransportDel', 'NetServerTransportEnum', 'NetSessionDel', 'NetSessionEnum',
|
||||
'NetSessionGetInfo', 'NetShareAdd', 'NetShareCheck', 'NetShareDel', 'NetShareEnum',
|
||||
'NetShareGetInfo', 'NetShareSetInfo', 'NetStatisticsGet', 'NetUseAdd', 'NetUseDel',
|
||||
'NetUseEnum', 'NetUseGetInfo', 'NetUserAdd', 'NetUserChangePassword', 'NetUserDel',
|
||||
'NetUserEnum', 'NetUserGetGroups', 'NetUserGetInfo', 'NetUserGetLocalGroups',
|
||||
'NetUserModalsGet', 'NetUserModalsSet', 'NetUserSetGroups', 'NetUserSetInfo',
|
||||
'NetWkstaGetInfo', 'NetWkstaSetInfo', 'NetWkstaTransportAdd', 'NetWkstaTransportDel',
|
||||
'NetWkstaTransportEnum', 'NetWkstaUserEnum', 'NetWkstaUserGetInfo',
|
||||
'NetWkstaUserSetInfo', 'WNetAddConnection2A', 'WNetAddConnection2W',
|
||||
'WNetAddConnection3A', 'WNetAddConnection3W', 'WNetAddConnectionA',
|
||||
'WNetAddConnectionW', 'WNetCancelConnection2A', 'WNetCancelConnection2W',
|
||||
'WNetCancelConnectionA', 'WNetCancelConnectionW', 'WNetCloseEnum',
|
||||
'WNetConnectionDialog', 'WNetConnectionDialog1A', 'WNetConnectionDialog1W',
|
||||
'WNetDisconnectDialog', 'WNetDisconnectDialog1A', 'WNetDisconnectDialog1W',
|
||||
'WNetEnumResourceA', 'WNetEnumResourceW', 'WNetGetConnectionA', 'WNetGetConnectionW',
|
||||
'WNetGetLastErrorA', 'WNetGetLastErrorW', 'WNetGetNetworkInformationA',
|
||||
'WNetGetNetworkInformationW', 'WNetGetProviderNameA', 'WNetGetProviderNameW',
|
||||
'WNetGetResourceInformationA', 'WNetGetResourceInformationW',
|
||||
'WNetGetResourceParentA', 'WNetGetResourceParentW', 'WNetGetUniversalNameA',
|
||||
'WNetGetUniversalNameW', 'WNetGetUserA', 'WNetGetUserW', 'WNetOpenEnumA',
|
||||
'WNetOpenEnumW', 'WNetUseConnectionA', 'WnetUseConnectionW',
|
||||
|
||||
'accept', 'bind', 'closesocket', 'connect', 'gethostbyaddr', 'gethostbyname',
|
||||
'gethostname', 'getpeername', 'getprotobyname', 'getprotobynumber', 'getservbyname',
|
||||
'getservbyport', 'getsockname', 'getsockopt', 'htonl', 'htons', 'inet_addr',
|
||||
'inet_ntoa', 'ioctlsocket', 'listen', 'ntohl', 'ntohs', 'recv', 'recvfrom', 'select',
|
||||
'send', 'sendto', 'setsockopt', 'shutdown', 'socket', 'WSAAccept',
|
||||
'WSAAddressToStringA', 'WSAAddressToStringW', 'WSAAsyncGetHostByAddr',
|
||||
'WSAAsyncGetHostByName', 'WSAAsyncGetProtoByName', 'WSAAsyncGetProtoByNumber',
|
||||
'WSAAsyncGetServByName', 'WSAAsyncGetServByPort', 'WSAAsyncSelect',
|
||||
'WSACancelAsyncRequest', 'WSACancelBlockingCall', 'WSACleanup', 'WSACloseEvent',
|
||||
'WSAConnect', 'WSACreateEvent', 'WSADuplicateSocketA', 'WSADuplicateSocketW',
|
||||
'WSAEnumNameSpaceProvidersA', 'WSAEnumNameSpaceProvidersW', 'WSAEnumNetworkEvents',
|
||||
'WSAEnumProtocolsA', 'WSAEnumProtocolsW', 'WSAEventSelect', 'WSAGetLastError',
|
||||
'WSAGetOverlappedResult', 'WSAGetQOSByName', 'WSAGetServiceClassInfoA',
|
||||
'WSAGetServiceClassInfoW', 'WSAGetServiceClassNameByClassIdA',
|
||||
'WSAGetServiceClassNameByClassIdW', 'WSAHtonl', 'WSAHtons', 'WSAInstallServiceClassA',
|
||||
'WSAInstallServiceClassW', 'WSAIoctl', 'WSAIsBlocking', 'WSAJoinLeaf',
|
||||
'WSALookupServiceBeginA', 'WSALookupServiceBeginW', 'WSALookupServiceEnd',
|
||||
'WSALookupServiceNextA', 'WSALookupServiceNextW', 'WSANtohl', 'WSANtohs',
|
||||
'WSAProviderConfigChange', 'WSARecv', 'WSARecvDisconnect', 'WSARecvFrom',
|
||||
'WSARemoveServiceClass', 'WSAResetEvent', 'WSASend', 'WSASendDisconnect', 'WSASendTo',
|
||||
'WSASetBlockingHook', 'WSASetEvent', 'WSASetLastError', 'WSASetServiceA',
|
||||
'WSASetServiceW', 'WSASocketA', 'WSASocketW', 'WSAStartup', 'WSAStringToAddressA',
|
||||
'WSAStringToAddressW', 'WSAUnhookBlockingHook', 'WSAWaitForMultipleEvents',
|
||||
'WSCDeinstallProvider', 'WSCEnableNSProvider', 'WSCEnumProtocols',
|
||||
'WSCGetProviderPath', 'WSCInstallNameSpace', 'WSCInstallProvider',
|
||||
'WSCUnInstallNameSpace',
|
||||
|
||||
'ContinueDebugEvent', 'DebugActiveProcess', 'DebugBreak', 'FatalExit',
|
||||
'FlushInstructionCache', 'GetThreadContext', 'GetThreadSelectorEntry',
|
||||
'IsDebuggerPresent', 'OutputDebugStringA', 'OutputDebugStringW', 'ReadProcessMemory',
|
||||
'SetDebugErrorLevel', 'SetThreadContext', 'WaitForDebugEvent', 'WriteProcessMemory',
|
||||
|
||||
'CloseHandle', 'DuplicateHandle', 'GetHandleInformation', 'SetHandleInformation',
|
||||
|
||||
'AdjustWindowRect', 'AdjustWindowRectEx', 'AllowSetForegroundWindow',
|
||||
'AnimateWindow', 'AnyPopup', 'ArrangeIconicWindows', 'BeginDeferWindowPos',
|
||||
'BringWindowToTop', 'CascadeWindows', 'ChildWindowFromPoint',
|
||||
'ChildWindowFromPointEx', 'CloseWindow', 'CreateWindowExA', 'CreateWindowExW',
|
||||
'DeferWindowPos', 'DestroyWindow', 'EndDeferWindowPos', 'EnumChildWindows',
|
||||
'EnumThreadWindows', 'EnumWindows', 'FindWindowA', 'FindWindowExA', 'FindWindowExW',
|
||||
'FindWindowW', 'GetAltTabInfoA', 'GetAltTabInfoW', 'GetAncestor', 'GetClientRect',
|
||||
'GetDesktopWindow', 'GetForegroundWindow', 'GetGUIThreadInfo', 'GetLastActivePopup',
|
||||
'GetLayout', 'GetParent', 'GetProcessDefaultLayout', 'GetTitleBarInf', 'GetTopWindow',
|
||||
'GetWindow', 'GetWindowInfo', 'GetWindowModuleFileNameA', 'GetWindowModuleFileNameW',
|
||||
'GetWindowPlacement', 'GetWindowRect', 'GetWindowTextA', 'GetWindowTextLengthA',
|
||||
'GetWindowTextLengthW', 'GetWindowTextW', 'GetWindowThreadProcessId', 'IsChild',
|
||||
'IsIconic', 'IsWindow', 'IsWindowUnicode', 'IsWindowVisible', 'IsZoomed',
|
||||
'LockSetForegroundWindow', 'MoveWindow', 'OpenIcon', 'RealChildWindowFromPoint',
|
||||
'RealGetWindowClassA', 'RealGetWindowClassW', 'SetForegroundWindow',
|
||||
'SetLayeredWindowAttributes', 'SetLayout', 'SetParent', 'SetProcessDefaultLayout',
|
||||
'SetWindowPlacement', 'SetWindowPos', 'SetWindowTextA', 'SetWindowTextW',
|
||||
'ShowOwnedPopups', 'ShowWindow', 'ShowWindowAsync', 'TileWindows',
|
||||
'UpdateLayeredWindow', 'WindowFromPoint',
|
||||
|
||||
'CreateDialogIndirectParamA', 'CreateDialogIndirectParamW', 'CreateDialogParamA',
|
||||
'CreateDialogParamW', 'DefDlgProcA', 'DefDlgProcW', 'DialogBoxIndirectParamA',
|
||||
'DialogBoxIndirectParamW', 'DialogBoxParamA', 'DialogBoxParamW', 'EndDialog',
|
||||
'GetDialogBaseUnits', 'GetDlgCtrlID', 'GetDlgItem', 'GetDlgItemInt',
|
||||
'GetDlgItemTextA', 'GetDlgItemTextW', 'GetNextDlgGroupItem', 'GetNextDlgTabItem',
|
||||
'IsDialogMessageA', 'IsDialogMessageW', 'MapDialogRect', 'MessageBoxA',
|
||||
'MessageBoxExA', 'MessageBoxExW', 'MessageBoxIndirectA', 'MessageBoxIndirectW',
|
||||
'MessageBoxW', 'SendDlgItemMessageA', 'SendDlgItemMessageW', 'SetDlgItemInt',
|
||||
'SetDlgItemTextA', 'SetDlgItemTextW',
|
||||
|
||||
'GetWriteWatch', 'GlobalMemoryStatus', 'GlobalMemoryStatusEx', 'IsBadCodePtr',
|
||||
'IsBadReadPtr', 'IsBadStringPtrA', 'IsBadStringPtrW', 'IsBadWritePtr',
|
||||
'ResetWriteWatch', 'AllocateUserPhysicalPages', 'FreeUserPhysicalPages',
|
||||
'MapUserPhysicalPages', 'MapUserPhysicalPagesScatter', 'GlobalAlloc', 'GlobalFlags',
|
||||
'GlobalFree', 'GlobalHandle', 'GlobalLock', 'GlobalReAlloc', 'GlobalSize',
|
||||
'GlobalUnlock', 'LocalAlloc', 'LocalFlags', 'LocalFree', 'LocalHandle', 'LocalLock',
|
||||
'LocalReAlloc', 'LocalSize', 'LocalUnlock', 'GetProcessHeap', 'GetProcessHeaps',
|
||||
'HeapAlloc', 'HeapCompact', 'HeapCreate', 'HeapDestroy', 'HeapFree', 'HeapLock',
|
||||
'HeapReAlloc', 'HeapSize', 'HeapUnlock', 'HeapValidate', 'HeapWalk', 'VirtualAlloc',
|
||||
'VirtualAllocEx', 'VirtualFree', 'VirtualFreeEx', 'VirtualLock', 'VirtualProtect',
|
||||
'VirtualProtectEx', 'VirtualQuery', 'VirtualQueryEx', 'VirtualUnlock',
|
||||
'GetFreeSpace', 'GlobalCompact', 'GlobalFix', 'GlobalUnfix', 'GlobalUnWire',
|
||||
'GlobalWire', 'IsBadHugeReadPtr', 'IsBadHugeWritePtr', 'LocalCompact', 'LocalShrink',
|
||||
|
||||
'GetClassInfoA', 'GetClassInfoW', 'GetClassInfoExA', 'GetClassInfoExW',
|
||||
'GetClassLongA', 'GetClassLongW', 'GetClassLongPtrA', 'GetClassLongPtrW',
|
||||
'RegisterClassA', 'RegisterClassW', 'RegisterClassExA', 'RegisterClassExW',
|
||||
'SetClassLongA', 'SetClassLongW', 'SetClassLongPtrA', 'SetClassLongPtrW',
|
||||
'SetWindowLongA', 'SetWindowLongW', 'SetWindowLongPtrA', 'SetWindowLongPtrW',
|
||||
'UnregisterClassA', 'UnregisterClassW', 'GetClassWord', 'GetWindowWord',
|
||||
'SetClassWord', 'SetWindowWord'
|
||||
),
|
||||
// Native API
|
||||
6 => array(
|
||||
'CsrAllocateCaptureBuffer', 'CsrAllocateCapturePointer', 'CsrAllocateMessagePointer',
|
||||
'CsrCaptureMessageBuffer', 'CsrCaptureMessageString', 'CsrCaptureTimeout',
|
||||
'CsrClientCallServer', 'CsrClientConnectToServer', 'CsrFreeCaptureBuffer',
|
||||
'CsrIdentifyAlertableThread', 'CsrNewThread', 'CsrProbeForRead', 'CsrProbeForWrite',
|
||||
'CsrSetPriorityClass',
|
||||
|
||||
'LdrAccessResource', 'LdrDisableThreadCalloutsForDll', 'LdrEnumResources',
|
||||
'LdrFindEntryForAddress', 'LdrFindResource_U', 'LdrFindResourceDirectory_U',
|
||||
'LdrGetDllHandle', 'LdrGetProcedureAddress', 'LdrInitializeThunk', 'LdrLoadDll',
|
||||
'LdrProcessRelocationBlock', 'LdrQueryImageFileExecutionOptions',
|
||||
'LdrQueryProcessModuleInformation', 'LdrShutdownProcess', 'LdrShutdownThread',
|
||||
'LdrUnloadDll', 'LdrVerifyImageMatchesChecksum',
|
||||
|
||||
'NtAcceptConnectPort', 'ZwAcceptConnectPort', 'NtCompleteConnectPort',
|
||||
'ZwCompleteConnectPort', 'NtConnectPort', 'ZwConnectPort', 'NtCreatePort',
|
||||
'ZwCreatePort', 'NtImpersonateClientOfPort', 'ZwImpersonateClientOfPort',
|
||||
'NtListenPort', 'ZwListenPort', 'NtQueryInformationPort', 'ZwQueryInformationPort',
|
||||
'NtReadRequestData', 'ZwReadRequestData', 'NtReplyPort', 'ZwReplyPort',
|
||||
'NtReplyWaitReceivePort', 'ZwReplyWaitReceivePort', 'NtReplyWaitReplyPort',
|
||||
'ZwReplyWaitReplyPort', 'NtRequestPort', 'ZwRequestPort', 'NtRequestWaitReplyPort',
|
||||
'ZwRequestWaitReplyPort', 'NtSecureConnectPort', 'ZwSecureConnectPort',
|
||||
'NtWriteRequestData', 'ZwWriteRequestData',
|
||||
|
||||
'NtAccessCheck', 'ZwAccessCheck', 'NtAccessCheckAndAuditAlarm',
|
||||
'ZwAccessCheckAndAuditAlarm', 'NtAccessCheckByType', 'ZwAccessCheckByType',
|
||||
'NtAccessCheckByTypeAndAuditAlarm', 'ZwAccessCheckByTypeAndAuditAlarm',
|
||||
'NtAccessCheckByTypeResultList', 'ZwAccessCheckByTypeResultList',
|
||||
'NtAdjustGroupsToken', 'ZwAdjustGroupsToken', 'NtAdjustPrivilegesToken',
|
||||
'ZwAdjustPrivilegesToken', 'NtCloseObjectAuditAlarm', 'ZwCloseObjectAuditAlarm',
|
||||
'NtCreateToken', 'ZwCreateToken', 'NtDeleteObjectAuditAlarm',
|
||||
'ZwDeleteObjectAuditAlarm', 'NtDuplicateToken', 'ZwDuplicateToken',
|
||||
'NtFilterToken', 'ZwFilterToken', 'NtImpersonateThread', 'ZwImpersonateThread',
|
||||
'NtOpenObjectAuditAlarm', 'ZwOpenObjectAuditAlarm', 'NtOpenProcessToken',
|
||||
'ZwOpenProcessToken', 'NtOpenThreadToken', 'ZwOpenThreadToken', 'NtPrivilegeCheck',
|
||||
'ZwPrivilegeCheck', 'NtPrivilegedServiceAuditAlarm', 'ZwPrivilegedServiceAuditAlarm',
|
||||
'NtPrivilegeObjectAuditAlarm', 'ZwPrivilegeObjectAuditAlarm',
|
||||
'NtQueryInformationToken', 'ZwQueryInformationToken', 'NtQuerySecurityObject',
|
||||
'ZwQuerySecurityObject', 'NtSetInformationToken', 'ZwSetInformationToken',
|
||||
'NtSetSecurityObject', 'ZwSetSecurityObject',
|
||||
|
||||
'NtAddAtom', 'ZwAddAtom', 'NtDeleteAtom', 'ZwDeleteAtom', 'NtFindAtom', 'ZwFindAtom',
|
||||
'NtQueryInformationAtom', 'ZwQueryInformationAtom',
|
||||
|
||||
'NtAlertResumeThread', 'ZwAlertResumeThread', 'NtAlertThread', 'ZwAlertThread',
|
||||
'NtCreateProcess', 'ZwCreateProcess', 'NtCreateThread', 'ZwCreateThread',
|
||||
'NtCurrentTeb', 'NtDelayExecution', 'ZwDelayExecution', 'NtGetContextThread',
|
||||
'ZwGetContextThread', 'NtOpenProcess', 'ZwOpenProcess', 'NtOpenThread',
|
||||
'ZwOpenThread', 'NtQueryInformationProcess', 'ZwQueryInformationProcess',
|
||||
'NtQueryInformationThread', 'ZwQueryInformationThread', 'NtQueueApcThread',
|
||||
'ZwQueueApcThread', 'NtResumeThread', 'ZwResumeThread', 'NtSetContextThread',
|
||||
'ZwSetContextThread', 'NtSetHighWaitLowThread', 'ZwSetHighWaitLowThread',
|
||||
'NtSetInformationProcess', 'ZwSetInformationProcess', 'NtSetInformationThread',
|
||||
'ZwSetInformationThread', 'NtSetLowWaitHighThread', 'ZwSetLowWaitHighThread',
|
||||
'NtSuspendThread', 'ZwSuspendThread', 'NtTerminateProcess', 'ZwTerminateProcess',
|
||||
'NtTerminateThread', 'ZwTerminateThread', 'NtTestAlert', 'ZwTestAlert',
|
||||
'NtYieldExecution', 'ZwYieldExecution',
|
||||
|
||||
'NtAllocateVirtualMemory', 'ZwAllocateVirtualMemory', 'NtAllocateVirtualMemory64',
|
||||
'ZwAllocateVirtualMemory64', 'NtAreMappedFilesTheSame', 'ZwAreMappedFilesTheSame',
|
||||
'NtCreateSection', 'ZwCreateSection', 'NtExtendSection', 'ZwExtendSection',
|
||||
'NtFlushVirtualMemory', 'ZwFlushVirtualMemory', 'NtFreeVirtualMemory',
|
||||
'ZwFreeVirtualMemory', 'NtFreeVirtualMemory64', 'ZwFreeVirtualMemory64',
|
||||
'NtLockVirtualMemory', 'ZwLockVirtualMemory', 'NtMapViewOfSection',
|
||||
'ZwMapViewOfSection', 'NtMapViewOfVlmSection', 'ZwMapViewOfVlmSection',
|
||||
'NtOpenSection', 'ZwOpenSection', 'NtProtectVirtualMemory', 'ZwProtectVirtualMemory',
|
||||
'NtProtectVirtualMemory64', 'ZwProtectVirtualMemory64', 'NtQueryVirtualMemory',
|
||||
'ZwQueryVirtualMemory', 'NtQueryVirtualMemory64', 'ZwQueryVirtualMemory64',
|
||||
'NtReadVirtualMemory', 'ZwReadVirtualMemory', 'NtReadVirtualMemory64',
|
||||
'ZwReadVirtualMemory64', 'NtUnlockVirtualMemory', 'ZwUnlockVirtualMemory',
|
||||
'NtUnmapViewOfSection', 'ZwUnmapViewOfSection', 'NtUnmapViewOfVlmSection',
|
||||
'ZwUnmapViewOfVlmSection', 'NtWriteVirtualMemory', 'ZwWriteVirtualMemory',
|
||||
'NtWriteVirtualMemory64', 'ZwWriteVirtualMemory64',
|
||||
|
||||
'NtAssignProcessToJobObject', 'ZwAssignProcessToJobObject', 'NtCreateJobObject',
|
||||
'ZwCreateJobObject', 'NtOpenJobObject', 'ZwOpenJobObject',
|
||||
'NtQueryInformationJobObject', 'ZwQueryInformationJobObject',
|
||||
'NtSetInformationJobObject', 'ZwSetInformationJobObject', 'NtTerminateJobObject',
|
||||
'ZwTerminateJobObject',
|
||||
|
||||
'NtCancelIoFile', 'ZwCancelIoFile', 'NtCreateFile', 'ZwCreateFile',
|
||||
'NtCreateIoCompletion', 'ZwCreateIoCompletion', 'NtDeleteFile', 'ZwDeleteFile',
|
||||
'NtDeviceIoControlFile', 'ZwDeviceIoControlFile', 'NtFlushBuffersFile',
|
||||
'ZwFlushBuffersFile', 'NtFsControlFile', 'ZwFsControlFile', 'NtLockFile', 'ZwLockFile',
|
||||
'NtNotifyChangeDirectoryFile', 'ZwNotifyChangeDirectoryFile', 'NtOpenFile',
|
||||
'ZwOpenFile', 'NtOpenIoCompletion', 'ZwOpenIoCompletion', 'NtQueryAttributesFile',
|
||||
'ZwQueryAttributesFile', 'NtQueryDirectoryFile', 'ZwQueryDirectoryFile',
|
||||
'NtQueryEaFile', 'ZwQueryEaFile', 'NtQueryIoCompletion', 'ZwQueryIoCompletion',
|
||||
'NtQueryQuotaInformationFile', 'ZwQueryQuotaInformationFile',
|
||||
'NtQueryVolumeInformationFile', 'ZwQueryVolumeInformationFile', 'NtReadFile',
|
||||
'ZwReadFile', 'NtReadFile64', 'ZwReadFile64', 'NtReadFileScatter', 'ZwReadFileScatter',
|
||||
'NtRemoveIoCompletion', 'ZwRemoveIoCompletion', 'NtSetEaFile', 'ZwSetEaFile',
|
||||
'NtSetInformationFile', 'ZwSetInformationFile', 'NtSetIoCompletion',
|
||||
'ZwSetIoCompletion', 'NtSetQuotaInformationFile', 'ZwSetQuotaInformationFile',
|
||||
'NtSetVolumeInformationFile', 'ZwSetVolumeInformationFile', 'NtUnlockFile',
|
||||
'ZwUnlockFile', 'NtWriteFile', 'ZwWriteFile', 'NtWriteFile64','ZwWriteFile64',
|
||||
'NtWriteFileGather', 'ZwWriteFileGather', 'NtQueryFullAttributesFile',
|
||||
'ZwQueryFullAttributesFile', 'NtQueryInformationFile', 'ZwQueryInformationFile',
|
||||
|
||||
'RtlAbortRXact', 'RtlAbsoluteToSelfRelativeSD', 'RtlAcquirePebLock',
|
||||
'RtlAcquireResourceExclusive', 'RtlAcquireResourceShared', 'RtlAddAccessAllowedAce',
|
||||
'RtlAddAccessDeniedAce', 'RtlAddAce', 'RtlAddActionToRXact', 'RtlAddAtomToAtomTable',
|
||||
'RtlAddAttributeActionToRXact', 'RtlAddAuditAccessAce', 'RtlAddCompoundAce',
|
||||
'RtlAdjustPrivilege', 'RtlAllocateAndInitializeSid', 'RtlAllocateHandle',
|
||||
'RtlAllocateHeap', 'RtlAnsiCharToUnicodeChar', 'RtlAnsiStringToUnicodeSize',
|
||||
'RtlAnsiStringToUnicodeString', 'RtlAppendAsciizToString', 'RtlAppendStringToString',
|
||||
'RtlAppendUnicodeStringToString', 'RtlAppendUnicodeToString', 'RtlApplyRXact',
|
||||
'RtlApplyRXactNoFlush', 'RtlAreAllAccessesGranted', 'RtlAreAnyAccessesGranted',
|
||||
'RtlAreBitsClear', 'RtlAreBitsSet', 'RtlAssert', 'RtlCaptureStackBackTrace',
|
||||
'RtlCharToInteger', 'RtlCheckRegistryKey', 'RtlClearAllBits', 'RtlClearBits',
|
||||
'RtlClosePropertySet', 'RtlCompactHeap', 'RtlCompareMemory', 'RtlCompareMemoryUlong',
|
||||
'RtlCompareString', 'RtlCompareUnicodeString', 'RtlCompareVariants',
|
||||
'RtlCompressBuffer', 'RtlConsoleMultiByteToUnicodeN', 'RtlConvertExclusiveToShared',
|
||||
'RtlConvertLongToLargeInteger', 'RtlConvertPropertyToVariant',
|
||||
'RtlConvertSharedToExclusive', 'RtlConvertSidToUnicodeString',
|
||||
'RtlConvertUiListToApiList', 'RtlConvertUlongToLargeInteger',
|
||||
'RtlConvertVariantToProperty', 'RtlCopyLuid', 'RtlCopyLuidAndAttributesArray',
|
||||
'RtlCopySecurityDescriptor', 'RtlCopySid', 'RtlCopySidAndAttributesArray',
|
||||
'RtlCopyString', 'RtlCopyUnicodeString', 'RtlCreateAcl', 'RtlCreateAndSetSD',
|
||||
'RtlCreateAtomTable', 'RtlCreateEnvironment', 'RtlCreateHeap',
|
||||
'RtlCreateProcessParameters', 'RtlCreatePropertySet', 'RtlCreateQueryDebugBuffer',
|
||||
'RtlCreateRegistryKey', 'RtlCreateSecurityDescriptor', 'RtlCreateTagHeap',
|
||||
'RtlCreateUnicodeString', 'RtlCreateUnicodeStringFromAsciiz', 'RtlCreateUserProcess',
|
||||
'RtlCreateUserSecurityObject', 'RtlCreateUserThread', 'RtlCustomCPToUnicodeN',
|
||||
'RtlCutoverTimeToSystemTime', 'RtlDecompressBuffer', 'RtlDecompressFragment',
|
||||
'RtlDelete', 'RtlDeleteAce', 'RtlDeleteAtomFromAtomTable', 'RtlDeleteCriticalSection',
|
||||
'RtlDeleteElementGenericTable', 'RtlDeleteNoSplay', 'RtlDeleteRegistryValue',
|
||||
'RtlDeleteResource', 'RtlDeleteSecurityObject', 'RtlDeNormalizeProcessParams',
|
||||
'RtlDestroyAtomTable', 'RtlDestroyEnvironment', 'RtlDestroyHandleTable',
|
||||
'RtlDestroyHeap', 'RtlDestroyProcessParameters', 'RtlDestroyQueryDebugBuffer',
|
||||
'RtlDetermineDosPathNameType_U', 'RtlDoesFileExists_U', 'RtlDosPathNameToNtPathName_U',
|
||||
'RtlDosSearchPath_U', 'RtlDowncaseUnicodeString', 'RtlDumpResource',
|
||||
'RtlEmptyAtomTable', 'RtlEnlargedIntegerMultiply', 'RtlEnlargedUnsignedDivide',
|
||||
'RtlEnlargedUnsignedMultiply', 'RtlEnterCriticalSection', 'RtlEnumerateGenericTable',
|
||||
'RtlEnumerateGenericTableWithoutSplaying', 'RtlEnumerateProperties',
|
||||
'RtlEnumProcessHeaps', 'RtlEqualComputerName', 'RtlEqualDomainName', 'RtlEqualLuid',
|
||||
'RtlEqualPrefixSid', 'RtlEqualSid', 'RtlEqualString', 'RtlEqualUnicodeString',
|
||||
'RtlEraseUnicodeString', 'RtlExpandEnvironmentStrings_U', 'RtlExtendedIntegerMultiply',
|
||||
'RtlExtendedLargeIntegerDivide', 'RtlExtendedMagicDivide', 'RtlExtendHeap',
|
||||
'RtlFillMemory', 'RtlFillMemoryUlong', 'RtlFindClearBits', 'RtlFindClearBitsAndSet',
|
||||
'RtlFindLongestRunClear', 'RtlFindLongestRunSet', 'RtlFindMessage', 'RtlFindSetBits',
|
||||
'RtlFindSetBitsAndClear', 'RtlFirstFreeAce', 'RtlFlushPropertySet',
|
||||
'RtlFormatCurrentUserKeyPath', 'RtlFormatMessage', 'RtlFreeAnsiString',
|
||||
'RtlFreeHandle', 'RtlFreeHeap', 'RtlFreeOemString', 'RtlFreeSid',
|
||||
'RtlFreeUnicodeString', 'RtlFreeUserThreadStack', 'RtlGenerate8dot3Name', 'RtlGetAce',
|
||||
'RtlGetCallersAddress', 'RtlGetCompressionWorkSpaceSize',
|
||||
'RtlGetControlSecurityDescriptor', 'RtlGetCurrentDirectory_U',
|
||||
'RtlGetDaclSecurityDescriptor', 'RtlGetElementGenericTable', 'RtlGetFullPathName_U',
|
||||
'RtlGetGroupSecurityDescriptor', 'RtlGetLongestNtPathLength', 'RtlGetNtGlobalFlags',
|
||||
'RtlGetNtProductType', 'RtlGetOwnerSecurityDescriptor', 'RtlGetProcessHeaps',
|
||||
'RtlGetSaclSecurityDescriptor', 'RtlGetUserInfoHeap', 'RtlGuidToPropertySetName',
|
||||
'RtlIdentifierAuthoritySid', 'RtlImageDirectoryEntryToData', 'RtlImageNtHeader',
|
||||
'RtlImageRvaToSection', 'RtlImageRvaToVa', 'RtlImpersonateSelf', 'RtlInitAnsiString',
|
||||
'RtlInitCodePageTable', 'RtlInitializeAtomPackage', 'RtlInitializeBitMap',
|
||||
'RtlInitializeContext', 'RtlInitializeCriticalSection',
|
||||
'RtlInitializeCriticalSectionAndSpinCount', 'RtlInitializeGenericTable',
|
||||
'RtlInitializeHandleTable', 'RtlInitializeResource', 'RtlInitializeRXact',
|
||||
'RtlInitializeSid', 'RtlInitNlsTables', 'RtlInitString', 'RtlInitUnicodeString',
|
||||
'RtlInsertElementGenericTable', 'RtlIntegerToChar', 'RtlIntegerToUnicodeString',
|
||||
'RtlIsDosDeviceName_U', 'RtlIsGenericTableEmpty', 'RtlIsNameLegalDOS8Dot3',
|
||||
'RtlIsTextUnicode', 'RtlIsValidHandle', 'RtlIsValidIndexHandle', 'RtlLargeIntegerAdd',
|
||||
'RtlLargeIntegerArithmeticShift', 'RtlLargeIntegerDivide', 'RtlLargeIntegerNegate',
|
||||
'RtlLargeIntegerShiftLeft', 'RtlLargeIntegerShiftRight', 'RtlLargeIntegerSubtract',
|
||||
'RtlLargeIntegerToChar', 'RtlLeaveCriticalSection', 'RtlLengthRequiredSid',
|
||||
'RtlLengthSecurityDescriptor', 'RtlLengthSid', 'RtlLocalTimeToSystemTime',
|
||||
'RtlLockHeap', 'RtlLookupAtomInAtomTable', 'RtlLookupElementGenericTable',
|
||||
'RtlMakeSelfRelativeSD', 'RtlMapGenericMask', 'RtlMoveMemory',
|
||||
'RtlMultiByteToUnicodeN', 'RtlMultiByteToUnicodeSize', 'RtlNewInstanceSecurityObject',
|
||||
'RtlNewSecurityGrantedAccess', 'RtlNewSecurityObject', 'RtlNormalizeProcessParams',
|
||||
'RtlNtStatusToDosError', 'RtlNumberGenericTableElements', 'RtlNumberOfClearBits',
|
||||
'RtlNumberOfSetBits', 'RtlOemStringToUnicodeSize', 'RtlOemStringToUnicodeString',
|
||||
'RtlOemToUnicodeN', 'RtlOnMappedStreamEvent', 'RtlOpenCurrentUser',
|
||||
'RtlPcToFileHeader', 'RtlPinAtomInAtomTable', 'RtlpNtCreateKey',
|
||||
'RtlpNtEnumerateSubKey', 'RtlpNtMakeTemporaryKey', 'RtlpNtOpenKey',
|
||||
'RtlpNtQueryValueKey', 'RtlpNtSetValueKey', 'RtlPrefixString',
|
||||
'RtlPrefixUnicodeString', 'RtlPropertySetNameToGuid', 'RtlProtectHeap',
|
||||
'RtlpUnWaitCriticalSection', 'RtlpWaitForCriticalSection', 'RtlQueryAtomInAtomTable',
|
||||
'RtlQueryEnvironmentVariable_U', 'RtlQueryInformationAcl',
|
||||
'RtlQueryProcessBackTraceInformation', 'RtlQueryProcessDebugInformation',
|
||||
'RtlQueryProcessHeapInformation', 'RtlQueryProcessLockInformation',
|
||||
'RtlQueryProperties', 'RtlQueryPropertyNames', 'RtlQueryPropertySet',
|
||||
'RtlQueryRegistryValues', 'RtlQuerySecurityObject', 'RtlQueryTagHeap',
|
||||
'RtlQueryTimeZoneInformation', 'RtlRaiseException', 'RtlRaiseStatus', 'RtlRandom',
|
||||
'RtlReAllocateHeap', 'RtlRealPredecessor', 'RtlRealSuccessor', 'RtlReleasePebLock',
|
||||
'RtlReleaseResource', 'RtlRemoteCall', 'RtlResetRtlTranslations',
|
||||
'RtlRunDecodeUnicodeString', 'RtlRunEncodeUnicodeString', 'RtlSecondsSince1970ToTime',
|
||||
'RtlSecondsSince1980ToTime', 'RtlSelfRelativeToAbsoluteSD', 'RtlSetAllBits',
|
||||
'RtlSetAttributesSecurityDescriptor', 'RtlSetBits', 'RtlSetCriticalSectionSpinCount',
|
||||
'RtlSetCurrentDirectory_U', 'RtlSetCurrentEnvironment', 'RtlSetDaclSecurityDescriptor',
|
||||
'RtlSetEnvironmentVariable', 'RtlSetGroupSecurityDescriptor', 'RtlSetInformationAcl',
|
||||
'RtlSetOwnerSecurityDescriptor', 'RtlSetProperties', 'RtlSetPropertyNames',
|
||||
'RtlSetPropertySetClassId', 'RtlSetSaclSecurityDescriptor', 'RtlSetSecurityObject',
|
||||
'RtlSetTimeZoneInformation', 'RtlSetUnicodeCallouts', 'RtlSetUserFlagsHeap',
|
||||
'RtlSetUserValueHeap', 'RtlSizeHeap', 'RtlSplay', 'RtlStartRXact',
|
||||
'RtlSubAuthorityCountSid', 'RtlSubAuthoritySid', 'RtlSubtreePredecessor',
|
||||
'RtlSubtreeSuccessor', 'RtlSystemTimeToLocalTime', 'RtlTimeFieldsToTime',
|
||||
'RtlTimeToElapsedTimeFields', 'RtlTimeToSecondsSince1970', 'RtlTimeToSecondsSince1980',
|
||||
'RtlTimeToTimeFields', 'RtlTryEnterCriticalSection', 'RtlUnicodeStringToAnsiSize',
|
||||
'RtlUnicodeStringToAnsiString', 'RtlUnicodeStringToCountedOemString',
|
||||
'RtlUnicodeStringToInteger', 'RtlUnicodeStringToOemSize',
|
||||
'RtlUnicodeStringToOemString', 'RtlUnicodeToCustomCPN', 'RtlUnicodeToMultiByteN',
|
||||
'RtlUnicodeToMultiByteSize', 'RtlUnicodeToOemN', 'RtlUniform', 'RtlUnlockHeap',
|
||||
'RtlUnwind', 'RtlUpcaseUnicodeChar', 'RtlUpcaseUnicodeString',
|
||||
'RtlUpcaseUnicodeStringToAnsiString', 'RtlUpcaseUnicodeStringToCountedOemString',
|
||||
'RtlUpcaseUnicodeStringToOemString', 'RtlUpcaseUnicodeToCustomCPN',
|
||||
'RtlUpcaseUnicodeToMultiByteN', 'RtlUpcaseUnicodeToOemN', 'RtlUpperChar',
|
||||
'RtlUpperString', 'RtlUsageHeap', 'RtlValidAcl', 'RtlValidateHeap',
|
||||
'RtlValidateProcessHeaps', 'RtlValidSecurityDescriptor', 'RtlValidSid', 'RtlWalkHeap',
|
||||
'RtlWriteRegistryValue', 'RtlxAnsiStringToUnicodeSize', 'RtlxOemStringToUnicodeSize',
|
||||
'RtlxUnicodeStringToAnsiSize', 'RtlxUnicodeStringToOemSize', 'RtlZeroHeap',
|
||||
'RtlZeroMemory',
|
||||
|
||||
'NtCancelTimer', 'ZwCancelTimer', 'NtCreateTimer', 'ZwCreateTimer', 'NtGetTickCount',
|
||||
'ZwGetTickCount', 'NtOpenTimer', 'ZwOpenTimer', 'NtQueryPerformanceCounter',
|
||||
'ZwQueryPerformanceCounter', 'NtQuerySystemTime', 'ZwQuerySystemTime', 'NtQueryTimer',
|
||||
'ZwQueryTimer', 'NtQueryTimerResolution', 'ZwQueryTimerResolution', 'NtSetSystemTime',
|
||||
'ZwSetSystemTime', 'NtSetTimer', 'ZwSetTimer', 'NtSetTimerResolution',
|
||||
'ZwSetTimerResolution',
|
||||
|
||||
'NtClearEvent', 'ZwClearEvent', 'NtCreateEvent', 'ZwCreateEvent', 'NtCreateEventPair',
|
||||
'ZwCreateEventPair', 'NtCreateMutant', 'ZwCreateMutant', 'NtCreateSemaphore',
|
||||
'ZwCreateSemaphore', 'NtOpenEvent', 'ZwOpenEvent', 'NtOpenEventPair',
|
||||
'ZwOpenEventPair', 'NtOpenMutant', 'ZwOpenMutant', 'NtOpenSemaphore',
|
||||
'ZwOpenSemaphore', 'NtPulseEvent', 'ZwPulseEvent', 'NtQueryEvent', 'ZwQueryEvent',
|
||||
'NtQueryMutant', 'ZwQueryMutant', 'NtQuerySemaphore', 'ZwQuerySemaphore',
|
||||
'NtReleaseMutant', 'ZwReleaseMutant', 'NtReleaseProcessMutant',
|
||||
'ZwReleaseProcessMutant', 'NtReleaseSemaphore', 'ZwReleaseSemaphore',
|
||||
'NtReleaseThreadMutant', 'ZwReleaseThreadMutant', 'NtResetEvent', 'ZwResetEvent',
|
||||
'NtSetEvent', 'ZwSetEvent', 'NtSetHighEventPair', 'ZwSetHighEventPair',
|
||||
'NtSetHighWaitLowEventPair', 'ZwSetHighWaitLowEventPair', 'NtSetLowEventPair',
|
||||
'ZwSetLowEventPair', 'NtSetLowWaitHighEventPair', 'ZwSetLowWaitHighEventPair',
|
||||
'NtSignalAndWaitForSingleObject', 'ZwSignalAndWaitForSingleObject',
|
||||
'NtWaitForMultipleObjects', 'ZwWaitForMultipleObjects', 'NtWaitForSingleObject',
|
||||
'ZwWaitForSingleObject', 'NtWaitHighEventPair', 'ZwWaitHighEventPair',
|
||||
'NtWaitLowEventPair', 'ZwWaitLowEventPair',
|
||||
|
||||
'NtClose', 'ZwClose', 'NtCreateDirectoryObject', 'ZwCreateDirectoryObject',
|
||||
'NtCreateSymbolicLinkObject', 'ZwCreateSymbolicLinkObject',
|
||||
'NtDuplicateObject', 'ZwDuplicateObject', 'NtMakeTemporaryObject',
|
||||
'ZwMakeTemporaryObject', 'NtOpenDirectoryObject', 'ZwOpenDirectoryObject',
|
||||
'NtOpenSymbolicLinkObject', 'ZwOpenSymbolicLinkObject', 'NtQueryDirectoryObject',
|
||||
'ZwQueryDirectoryObject', 'NtQueryObject', 'ZwQueryObject',
|
||||
'NtQuerySymbolicLinkObject', 'ZwQuerySymbolicLinkObject', 'NtSetInformationObject',
|
||||
'ZwSetInformationObject',
|
||||
|
||||
'NtContinue', 'ZwContinue', 'NtRaiseException', 'ZwRaiseException',
|
||||
'NtRaiseHardError', 'ZwRaiseHardError', 'NtSetDefaultHardErrorPort',
|
||||
'ZwSetDefaultHardErrorPort',
|
||||
|
||||
'NtCreateChannel', 'ZwCreateChannel', 'NtListenChannel', 'ZwListenChannel',
|
||||
'NtOpenChannel', 'ZwOpenChannel', 'NtReplyWaitSendChannel', 'ZwReplyWaitSendChannel',
|
||||
'NtSendWaitReplyChannel', 'ZwSendWaitReplyChannel', 'NtSetContextChannel',
|
||||
'ZwSetContextChannel',
|
||||
|
||||
'NtCreateKey', 'ZwCreateKey', 'NtDeleteKey', 'ZwDeleteKey', 'NtDeleteValueKey',
|
||||
'ZwDeleteValueKey', 'NtEnumerateKey', 'ZwEnumerateKey', 'NtEnumerateValueKey',
|
||||
'ZwEnumerateValueKey', 'NtFlushKey', 'ZwFlushKey', 'NtInitializeRegistry',
|
||||
'ZwInitializeRegistry', 'NtLoadKey', 'ZwLoadKey', 'NtLoadKey2', 'ZwLoadKey2',
|
||||
'NtNotifyChangeKey', 'ZwNotifyChangeKey', 'NtOpenKey', 'ZwOpenKey', 'NtQueryKey',
|
||||
'ZwQueryKey', 'NtQueryMultipleValueKey', 'ZwQueryMultipleValueKey',
|
||||
'NtQueryMultiplValueKey', 'ZwQueryMultiplValueKey', 'NtQueryValueKey',
|
||||
'ZwQueryValueKey', 'NtReplaceKey', 'ZwReplaceKey', 'NtRestoreKey', 'ZwRestoreKey',
|
||||
'NtSaveKey', 'ZwSaveKey', 'NtSetInformationKey', 'ZwSetInformationKey',
|
||||
'NtSetValueKey', 'ZwSetValueKey', 'NtUnloadKey', 'ZwUnloadKey',
|
||||
|
||||
'NtCreateMailslotFile', 'ZwCreateMailslotFile', 'NtCreateNamedPipeFile',
|
||||
'ZwCreateNamedPipeFile', 'NtCreatePagingFile', 'ZwCreatePagingFile',
|
||||
|
||||
'NtCreateProfile', 'ZwCreateProfile', 'NtQueryIntervalProfile',
|
||||
'ZwQueryIntervalProfile', 'NtRegisterThreadTerminatePort',
|
||||
'ZwRegisterThreadTerminatePort', 'NtSetIntervalProfile', 'ZwSetIntervalProfile',
|
||||
'NtStartProfile', 'ZwStartProfile', 'NtStopProfile', 'ZwStopProfile',
|
||||
'NtSystemDebugControl', 'ZwSystemDebugControl',
|
||||
|
||||
'NtEnumerateBus', 'ZwEnumerateBus', 'NtFlushInstructionCache',
|
||||
'ZwFlushInstructionCache', 'NtFlushWriteBuffer', 'ZwFlushWriteBuffer',
|
||||
'NtSetLdtEntries', 'ZwSetLdtEntries',
|
||||
|
||||
'NtGetPlugPlayEvent', 'ZwGetPlugPlayEvent', 'NtPlugPlayControl', 'ZwPlugPlayControl',
|
||||
|
||||
'NtInitiatePowerAction', 'ZwInitiatePowerAction', 'NtPowerInformation',
|
||||
'ZwPowerInformation', 'NtRequestWakeupLatency', 'ZwRequestWakeupLatency',
|
||||
'NtSetSystemPowerState', 'ZwSetSystemPowerState', 'NtSetThreadExecutionState',
|
||||
'ZwSetThreadExecutionState',
|
||||
|
||||
'NtLoadDriver', 'ZwLoadDriver', 'NtRegisterNewDevice', 'ZwRegisterNewDevice',
|
||||
'NtUnloadDriver', 'ZwUnloadDriver',
|
||||
|
||||
'NtQueryDefaultLocale', 'ZwQueryDefaultLocale', 'NtQueryDefaultUILanguage',
|
||||
'ZwQueryDefaultUILanguage', 'NtQuerySystemEnvironmentValue',
|
||||
'ZwQuerySystemEnvironmentValue', 'NtSetDefaultLocale', 'ZwSetDefaultLocale',
|
||||
'NtSetDefaultUILanguage', 'ZwSetDefaultUILanguage', 'NtSetSystemEnvironmentValue',
|
||||
'ZwSetSystemEnvironmentValue',
|
||||
|
||||
'DbgBreakPoint', 'DbgPrint', 'DbgPrompt', 'DbgSsHandleKmApiMsg', 'DbgSsInitialize',
|
||||
'DbgUiConnectToDbg', 'DbgUiContinue', 'DbgUiWaitStateChange', 'DbgUserBreakPoint',
|
||||
'KiRaiseUserExceptionDispatcher', 'KiUserApcDispatcher', 'KiUserCallbackDispatcher',
|
||||
'KiUserExceptionDispatcher', 'NlsAnsiCodePage', 'NlsMbCodePageTag',
|
||||
'NlsMbOemCodePageTag', 'NtAllocateLocallyUniqueId', 'ZwAllocateLocallyUniqueId',
|
||||
'NtAllocateUuids', 'ZwAllocateUuids', 'NtCallbackReturn', 'ZwCallbackReturn',
|
||||
'NtDisplayString', 'ZwDisplayString', 'NtQueryOleDirectoryFile',
|
||||
'ZwQueryOleDirectoryFile', 'NtQuerySection', 'ZwQuerySection',
|
||||
'NtQuerySystemInformation', 'ZwQuerySystemInformation', 'NtSetSystemInformation',
|
||||
'ZwSetSystemInformation', 'NtShutdownSystem', 'ZwShutdownSystem', 'NtVdmControl',
|
||||
'ZwVdmControl', 'NtW32Call', 'ZwW32Call', 'PfxFindPrefix', 'PfxInitialize',
|
||||
'PfxInsertPrefix', 'PfxRemovePrefix', 'PropertyLengthAsVariant', 'RestoreEm87Context',
|
||||
'SaveEm87Context'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']',
|
||||
'+', '-', '*', '/', '%',
|
||||
'=', '<', '>',
|
||||
'!', '^', '&', '|',
|
||||
'?', ':',
|
||||
';', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #b1b100;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #000066;',
|
||||
4 => 'color: #993333;',
|
||||
5 => 'color: #4000dd;',
|
||||
6 => 'color: #4000dd;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
2 => 'color: #339933;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0000dd;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;',
|
||||
2 => 'color: #202020;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => 'http://www.opengroup.org/onlinepubs/009695399/functions/{FNAMEL}.html',
|
||||
4 => '',
|
||||
5 => 'http://www.google.com/search?q={FNAMEL}+msdn.microsoft.com',
|
||||
6 => 'http://www.google.com/search?q={FNAMEL}+msdn.microsoft.com'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
2 => '::'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Roberto Rossi (rsoftware@altervista.org)
|
||||
* Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/30
|
||||
*
|
||||
* CAD DCL (Dialog Control Language) language file for GeSHi.
|
||||
|
@ -122,5 +122,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* -----------
|
||||
* Author: Roberto Rossi (rsoftware@altervista.org)
|
||||
* Copyright: (c) 2004 Roberto Rossi (http://rsoftware.altervista.org), Nigel McNie (http://qbnz.com/blog)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/30
|
||||
*
|
||||
* AutoCAD/IntelliCAD Lisp language file for GeSHi.
|
||||
|
@ -182,5 +182,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
171
serendipity_event_geshi/geshi/ceylon.php
Normal file
171
serendipity_event_geshi/geshi/ceylon.php
Normal file
|
@ -0,0 +1,171 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* ceylon.php
|
||||
* ----------
|
||||
* Author: Lucas Werkmeister (mail@lucaswerkmeister.de)
|
||||
* Copyright: (c) 2015 Lucas Werkmeister (http://lucaswerkmeister.de)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2015-01-08
|
||||
*
|
||||
* Ceylon language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
*
|
||||
* TODO (updated 2015-06-19)
|
||||
* ------------------
|
||||
* * Regexes match and break help URLs, so those are commented out for now
|
||||
* * Ceylon supports nested block comments
|
||||
* * The Ceylon compiler correctly parses
|
||||
* "\{FICTITIOUS CHARACTER WITH " IN NAME}"
|
||||
* as a single string literal.
|
||||
* (However, that's not really important
|
||||
* since Unicode character names never contain quotes.)
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Ceylon',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#!'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
/*
|
||||
* 1. regular line comments (see COMMENT_SINGLE)
|
||||
* 2. shebang line comments (see COMMENT_SINGLE)
|
||||
* 3. strings (including string templates)
|
||||
*/
|
||||
3 => '/(?:"|``).*?(?:``|")/'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'"),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
/*
|
||||
* 1. lexer keywords (class, else, etc.)
|
||||
* 2. language modifiers (shared, formal, etc.)
|
||||
* 3. language doc modifiers (doc, see, etc.)
|
||||
*/
|
||||
1 => array(
|
||||
'assembly', 'module', 'package', 'import',
|
||||
'alias', 'class', 'interface', 'object', 'given',
|
||||
'value', 'assign', 'void', 'function',
|
||||
'new', 'of', 'extends', 'satisfies', 'abstracts',
|
||||
'in', 'out',
|
||||
'return', 'break', 'continue', 'throw', 'assert',
|
||||
'dynamic',
|
||||
'if', 'else', 'switch', 'case',
|
||||
'for', 'while', 'try', 'catch', 'finally',
|
||||
'then', 'let',
|
||||
'this', 'outer', 'super',
|
||||
'is', 'exists', 'nonempty'
|
||||
),
|
||||
2 => array(
|
||||
'shared', 'abstract', 'formal', 'default', 'actual',
|
||||
'variable', 'late', 'native', 'deprecated',
|
||||
'final', 'sealed', 'annotation', 'small'
|
||||
),
|
||||
3 => array(
|
||||
'doc', 'by', 'license', 'see', 'throws', 'tagged'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
',', ';', '...', '{', '}', '[', ']', '`', '?.', '*.',
|
||||
'?', '->', '=>',
|
||||
'**', '++', '--', '..', ':', '&&', '||',
|
||||
'+=', '-=', '*=', '/=', '%=', '|=', '&=', '~=', '||=', '&&=',
|
||||
'+', '-', '*', '/', '%', '^',
|
||||
'~', '&', '|', '===', '==', '=', '!=', '!',
|
||||
'<=>', '<=', '>=',
|
||||
'<', '>',
|
||||
'.'
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'font-weight:bold;color:#4C4C4C;',
|
||||
2 => 'color:#39C',
|
||||
3 => 'color:#39C'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color:darkgray;',
|
||||
2 => 'color:darkgray;',
|
||||
3 => 'color:blue',
|
||||
'MULTI' => 'color:darkgray;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color:blue;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color:#639;',
|
||||
2 => 'color:#039;',
|
||||
3 => 'color:#906;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(),
|
||||
'BRACKETS' => array(),
|
||||
'NUMBERS' => array(),
|
||||
'METHODS' => array(),
|
||||
'SYMBOLS' => array(),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
/*
|
||||
* 1. qualified lidentifiers
|
||||
* 2. lidentifiers
|
||||
* 3. uidentifiers
|
||||
*
|
||||
* All of these contain various lookahead and -behind to ensure
|
||||
* that we don't match various stuff that GeSHi escapes
|
||||
* (for instance, we see semicolons as <SEMI>).
|
||||
*/
|
||||
1 => array(
|
||||
GESHI_SEARCH => '\\b((\?|\*)?\.[[:space:]]*)([[:lower:]][[:alnum:]]*|\\\\i[[:alnum:]]*)\\b',
|
||||
GESHI_REPLACE => '\\3',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\\1',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
2 => array(
|
||||
GESHI_SEARCH => '(?<![|<>&![:alnum:]])([[:lower:]][[:alnum:]]*|\\\\i[[:alnum:]]*)(?![>[:alnum:]])',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
3 => array(
|
||||
GESHI_SEARCH => '(?<![|<>&![:alnum:]])([[:upper:]][[:alnum:]]*|\\\\I[[:alnum:]]*)(?![>[:alnum:]])',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
)
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '', 3 => '' // the real URLs are commented out because syntax highlighting breaks them
|
||||
// 2 => 'https://modules.ceylon-lang.org/repo/1/ceylon/language/1.1.0/module-doc/api/index.html#{FNAME}',
|
||||
// 3 => 'https://modules.ceylon-lang.org/repo/1/ceylon/language/1.1.0/module-doc/api/index.html#{FNAME}',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(1 => true, 2 => true, 3 => true),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: John Horigan <john@glyphic.com>
|
||||
* Copyright: (c) 2006 John Horigan http://www.ozonehouse.com/john/
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/03/11
|
||||
*
|
||||
* CFDG language file for GeSHi.
|
||||
|
@ -120,5 +120,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Diego
|
||||
* Copyright: (c) 2006 Diego
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/02/25
|
||||
*
|
||||
* ColdFusion language file for GeSHi.
|
||||
|
@ -295,5 +295,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
138
serendipity_event_geshi/geshi/chaiscript.php
Normal file
138
serendipity_event_geshi/geshi/chaiscript.php
Normal file
|
@ -0,0 +1,138 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* chaiscript.php
|
||||
* --------------
|
||||
* Author: Jason Turner & Jonathan Turner
|
||||
* Copyright: (c) 2010 Jason Turner (lefticus@gmail.com),
|
||||
* (c) 2009 Jonathan Turner,
|
||||
* (c) 2004 Ben Keen (ben.keen@gmail.com), Benny Baumann (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/07/03
|
||||
*
|
||||
* ChaiScript language file for GeSHi.
|
||||
*
|
||||
* Based on JavaScript by Ben Keen (ben.keen@gmail.com)
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/03/30 (1.0.8.8)
|
||||
* - Updated to include more language features
|
||||
* - Removed left over pieces from JavaScript
|
||||
* 2009/07/03 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'ChaiScript',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
//Regular Expressions
|
||||
'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'break', 'else', 'elseif', 'eval', 'for', 'if', 'return', 'while', 'try', 'catch', 'finally',
|
||||
),
|
||||
2 => array(
|
||||
'def', 'false', 'fun', 'true', 'var', 'attr',
|
||||
),
|
||||
3 => array(
|
||||
// built in functions
|
||||
'throw',
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']', '{', '}',
|
||||
'+', '-', '*', '/', '%',
|
||||
'!', '@', '&', '|', '^',
|
||||
'<', '>', '=',
|
||||
',', ';', '?', ':'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000066; font-weight: bold;',
|
||||
2 => 'color: #003366; font-weight: bold;',
|
||||
3 => 'color: #000066;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #006600; font-style: italic;',
|
||||
2 => 'color: #009966; font-style: italic;',
|
||||
'MULTI' => 'color: #006600; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #3366CC;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #CC0000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #660066;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
0 => '',
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
0 => array(
|
||||
),
|
||||
1 => array(
|
||||
)
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
0 => true,
|
||||
1 => true
|
||||
)
|
||||
);
|
169
serendipity_event_geshi/geshi/chapel.php
Normal file
169
serendipity_event_geshi/geshi/chapel.php
Normal file
|
@ -0,0 +1,169 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* chapel.php
|
||||
* -----
|
||||
* Author: Richard Molitor (richard.molitor@student.kit.edu)
|
||||
* Copyright: (c) 2013 Richard Molitor
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2013/06/22
|
||||
*
|
||||
* Chapel language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2013/06/22 (1.0.8.13)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2013/06/22)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Chapel',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI | GESHI_NUMBER_FLT_NONSCI_F |
|
||||
GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
// statements
|
||||
1 => array(
|
||||
'atomic', 'begin', 'break', 'class', 'cobegin', 'coforall',
|
||||
'continue', 'do', 'else', 'export', 'extern', 'for', 'forall', 'if',
|
||||
'iter', 'inline', 'label', 'let', 'local', 'module',
|
||||
'otherwise', 'proc', 'record', 'return', 'select', 'serial',
|
||||
'then', 'use', 'var', 'when', 'where', 'while', 'yield'
|
||||
),
|
||||
// literals
|
||||
2 => array(
|
||||
'nil', 'true', 'false'
|
||||
),
|
||||
// built-in functions
|
||||
3 => array(
|
||||
'by', 'delete', 'dmapped', 'domain', 'enum', 'index', 'min',
|
||||
'minloc', 'max', 'maxloc', 'new', 'range', 'reduce', 'scan',
|
||||
'sparse', 'subdomain', 'sync', 'union', 'zip'
|
||||
),
|
||||
// built-in types
|
||||
4 => array(
|
||||
'config', 'const', 'in', 'inout', 'opaque', 'on', 'out', 'param',
|
||||
'ref', 'single', 'type'
|
||||
),
|
||||
// library types
|
||||
5 => array(
|
||||
'void', 'bool', 'int', 'uint', 'real', 'imag', 'complex', 'string',
|
||||
'locale'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']',
|
||||
'+', '-', '*', '/', '%',
|
||||
'=', '<', '>',
|
||||
'!', '^', '&', '|',
|
||||
'?', ':',
|
||||
';', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #b1b100;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #000066;',
|
||||
4 => 'color: #993333;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
//2 => 'color: #339933;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0000dd;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;',
|
||||
2 => 'color: #202020;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Marcus Griep (neoeinstein+GeSHi@gmail.com)
|
||||
* Copyright: (c) 2007 Marcus Griep (http://www.xpdm.us)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/10/24
|
||||
*
|
||||
* CIL (Common Intermediate Language) language file for GeSHi.
|
||||
|
@ -192,5 +192,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
132
serendipity_event_geshi/geshi/clojure.php
Normal file
132
serendipity_event_geshi/geshi/clojure.php
Normal file
|
@ -0,0 +1,132 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* clojure.php
|
||||
* --------
|
||||
* Author: Jess Johnson (jess@grok-code.com)
|
||||
* Copyright: (c) 2009 Jess Johnson (http://grok-code.com)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/09/20
|
||||
*
|
||||
* Clojure language file for GeSHi.
|
||||
*
|
||||
* This file borrows significantly from the lisp language file for GeSHi
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/09/20 (1.0.8.6)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2009/09/20)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Clojure',
|
||||
'COMMENT_SINGLE' => array(1 => ';'),
|
||||
'COMMENT_MULTI' => array(';|' => '|;'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'defn', 'defn-', 'defmulti', 'defmethod', 'defmacro', 'deftest',
|
||||
'defstruct', 'def', 'defonce', 'let', 'letfn', 'do', 'cond', 'condp',
|
||||
'for', 'loop', 'recur', 'when', 'when-not', 'when-let', 'when-first',
|
||||
'if', 'if-let', 'if-not', 'doto', 'and', 'or','not','aget','aset',
|
||||
'dosync', 'doseq', 'dotimes', 'dorun', 'doall',
|
||||
'load', 'import', 'unimport', 'ns', 'in-ns', 'refer', 'print',
|
||||
'try', 'catch', 'finally', 'throw', 'fn', 'update-in',
|
||||
'with-open', 'with-local-vars', 'binding',
|
||||
'gen-class', 'gen-and-load-class', 'gen-and-save-class',
|
||||
'implement', 'proxy', 'lazy-cons', 'with-meta',
|
||||
'struct', 'struct-map', 'delay', 'locking', 'sync', 'time', 'apply',
|
||||
'remove', 'merge', 'interleave', 'interpose', 'distinct',
|
||||
'cons', 'concat', 'lazy-cat', 'cycle', 'rest', 'frest', 'drop',
|
||||
'drop-while', 'nthrest', 'take', 'take-while', 'take-nth', 'butlast',
|
||||
'reverse', 'sort', 'sort-by', 'split-at', 'partition', 'split-with',
|
||||
'first', 'ffirst', 'rfirst', 'zipmap', 'into', 'set', 'vec',
|
||||
'to-array-2d', 'not-empty', 'seq?', 'not-every?', 'every?', 'not-any?',
|
||||
'map', 'mapcat', 'vector?', 'list?', 'hash-map', 'reduce', 'filter',
|
||||
'vals', 'keys', 'rseq', 'subseq', 'rsubseq', 'count', 'empty?',
|
||||
'fnseq', 'repeatedly', 'iterate', 'drop-last',
|
||||
'repeat', 'replicate', 'range', 'into-array',
|
||||
'line-seq', 'resultset-seq', 're-seq', 're-find', 'tree-seq', 'file-seq',
|
||||
'iterator-seq', 'enumeration-seq', 'declare', 'xml-seq',
|
||||
'symbol?', 'string?', 'vector', 'conj', 'str',
|
||||
'pos?', 'neg?', 'zero?', 'nil?', 'inc', 'dec', 'format',
|
||||
'alter', 'commute', 'ref-set', 'floor', 'assoc', 'send', 'send-off'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']', '!', '%', '^', '&', '/','+','-','*','=','<','>',';','|', '.', '..', '->',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => true,
|
||||
1 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #b1b100;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080; font-style: italic;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #555;',
|
||||
1 => 'color: #555;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
'::', ':'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
179
serendipity_event_geshi/geshi/cmake.php
Normal file
179
serendipity_event_geshi/geshi/cmake.php
Normal file
|
@ -0,0 +1,179 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* cmake.php
|
||||
* -------
|
||||
* Author: Daniel Nelson (danieln@eng.utah.edu)
|
||||
* Copyright: (c) 2009 Daniel Nelson
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/04/06
|
||||
*
|
||||
* CMake language file for GeSHi.
|
||||
*
|
||||
* Keyword list generated using CMake 2.6.3.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* <date-of-release> (<GeSHi release>)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated <date-of-release>)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'CMake',
|
||||
'COMMENT_SINGLE' => array(1 => '#'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
// Quoted variables ${...}
|
||||
1 => "/\\$(ENV)?\\{[^\\n\\}]*?\\}/i",
|
||||
// Quoted registry keys [...]
|
||||
2 => "/\\[HKEY[^\n\\]]*?]/i"
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'add_custom_command', 'add_custom_target', 'add_definitions',
|
||||
'add_dependencies', 'add_executable', 'add_library',
|
||||
'add_subdirectory', 'add_test', 'aux_source_directory', 'break',
|
||||
'build_command', 'cmake_minimum_required', 'cmake_policy',
|
||||
'configure_file', 'create_test_sourcelist', 'define_property',
|
||||
'else', 'elseif', 'enable_language', 'enable_testing',
|
||||
'endforeach', 'endfunction', 'endif', 'endmacro',
|
||||
'endwhile', 'execute_process', 'export', 'file', 'find_file',
|
||||
'find_library', 'find_package', 'find_path', 'find_program',
|
||||
'fltk_wrap_ui', 'foreach', 'function', 'get_cmake_property',
|
||||
'get_directory_property', 'get_filename_component', 'get_property',
|
||||
'get_source_file_property', 'get_target_property',
|
||||
'get_test_property', 'if', 'include', 'include_directories',
|
||||
'include_external_msproject', 'include_regular_expression',
|
||||
'install', 'link_directories', 'list', 'load_cache',
|
||||
'load_command', 'macro', 'mark_as_advanced', 'math', 'message',
|
||||
'option', 'output_required_files', 'project', 'qt_wrap_cpp',
|
||||
'qt_wrap_ui', 'remove_definitions', 'return', 'separate_arguments',
|
||||
'set', 'set_directory_properties', 'set_property',
|
||||
'set_source_files_properties', 'set_target_properties',
|
||||
'set_tests_properties', 'site_name', 'source_group', 'string',
|
||||
'target_link_libraries', 'try_compile', 'try_run', 'unset',
|
||||
'variable_watch', 'while'
|
||||
),
|
||||
2 => array(
|
||||
// Deprecated commands
|
||||
'build_name', 'exec_program', 'export_library_dependencies',
|
||||
'install_files', 'install_programs', 'install_targets',
|
||||
'link_libraries', 'make_directory', 'remove', 'subdir_depends',
|
||||
'subdirs', 'use_mangled_mesa', 'utility_source',
|
||||
'variable_requires', 'write_file'
|
||||
),
|
||||
3 => array(
|
||||
// Special command arguments, this list is not comprehesive.
|
||||
'AND', 'APPEND', 'ASCII', 'BOOL', 'CACHE', 'COMMAND', 'COMMENT',
|
||||
'COMPARE', 'CONFIGURE', 'DEFINED', 'DEPENDS', 'DIRECTORY',
|
||||
'EQUAL', 'EXCLUDE_FROM_ALL', 'EXISTS', 'FALSE', 'FATAL_ERROR',
|
||||
'FILEPATH', 'FIND', 'FORCE', 'GET', 'GLOBAL', 'GREATER',
|
||||
'IMPLICIT_DEPENDS', 'INSERT', 'INTERNAL', 'IS_ABSOLUTE',
|
||||
'IS_DIRECTORY', 'IS_NEWER_THAN', 'LENGTH', 'LESS',
|
||||
'MAIN_DEPENDENCY', 'MATCH', 'MATCHALL', 'MATCHES', 'MODULE', 'NOT',
|
||||
'NOTFOUND', 'OFF', 'ON', 'OR', 'OUTPUT', 'PARENT_SCOPE', 'PATH',
|
||||
'POLICY', 'POST_BUILD', 'PRE_BUILD', 'PRE_LINK', 'PROPERTY',
|
||||
'RANDOM', 'REGEX', 'REMOVE_AT', 'REMOVE_DUPLICATES', 'REMOVE_ITEM',
|
||||
'REPLACE', 'REVERSE', 'SEND_ERROR', 'SHARED', 'SORT', 'SOURCE',
|
||||
'STATIC', 'STATUS', 'STREQUAL', 'STRGREATER', 'STRING', 'STRIP',
|
||||
'STRLESS', 'SUBSTRING', 'TARGET', 'TEST', 'TOLOWER', 'TOUPPER',
|
||||
'TRUE', 'VERBATIM', 'VERSION', 'VERSION_EQUAL', 'VERSION_GREATOR',
|
||||
'VERSION_LESS', 'WORKING_DIRECTORY',
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => true
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array('(', ')')
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #1f3f81; font-style: bold;',
|
||||
2 => 'color: #1f3f81;',
|
||||
3 => 'color: #077807; font-sytle: italic;'
|
||||
),
|
||||
'BRACKETS' => array(),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #b08000;',
|
||||
2 => 'color: #0000cd;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #912f11;',
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #197d8b;'
|
||||
),
|
||||
'NUMBERS' => array(),
|
||||
'METHODS' => array(),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #b08000;',
|
||||
1 => 'color: #0000cd;'
|
||||
),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://www.cmake.org/cmake/help/cmake2.6docs.html#command:{FNAMEL}',
|
||||
2 => 'http://www.cmake.org/cmake/help/cmake2.6docs.html#command:{FNAMEL}',
|
||||
3 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(
|
||||
// Unquoted variables
|
||||
0 => "\\$(ENV)?\\{[^\\n}]*?\\}",
|
||||
// Unquoted registry keys
|
||||
1 => "\\[HKEY[^\n\\]]*?]"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
// These keywords cannot come after a open paren
|
||||
1 => array(
|
||||
'DISALLOWED_AFTER' => '(?= *\()'
|
||||
),
|
||||
2 => array(
|
||||
'DISALLOWED_AFTER' => '(?= *\()'
|
||||
)
|
||||
),
|
||||
'ENABLE_FLAGS' => array(
|
||||
'BRACKETS' => GESHI_NEVER,
|
||||
'METHODS' => GESHI_NEVER,
|
||||
'NUMBERS' => GESHI_NEVER
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,15 +4,33 @@
|
|||
* ----------
|
||||
* Author: BenBE (BenBE@omorphia.org)
|
||||
* Copyright: (c) 2007-2008 BenBE (http://www.omorphia.de/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/07/02
|
||||
*
|
||||
* COBOL language file for GeSHi.
|
||||
*
|
||||
* Most of the compiler directives, reserved words and intrinsic functions are
|
||||
* from the 2009 COBOL Draft Standard, Micro Focus, and GNU Cobol. The lists of
|
||||
* these were found in the draft standard (Sections 8.9, 8.10, 8.11 and 8.12),
|
||||
* Micro Focus' COBOL Language Reference and the GNU Cobol FAQ.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2013/11/17 (1.0.8.13)
|
||||
* - Changed compiler directives to be handled like comments.
|
||||
* - Fixed bug where keywords in identifiers were highlighted.
|
||||
* 2013/08/19 (1.0.8.13)
|
||||
* - Added more intrinsic functions, reserved words, and compiler directives
|
||||
* from the (upcoming) standard.
|
||||
* 2013/07/07 (1.0.8.13)
|
||||
* - Added more reserved words, compiler directives and intrinsic functions.
|
||||
* - Added modern comment syntax and corrected the other one.
|
||||
* - Set OOLANG to true and added an object splitter.
|
||||
* - Added extra symbols.
|
||||
* - Fixed bug where scope terminators were only the statement in
|
||||
* end-statement was highlighted.
|
||||
*
|
||||
* TODO (updated 2007/07/02)
|
||||
* TODO (updated 2013/11/17)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
|
@ -37,149 +55,340 @@
|
|||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'COBOL',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_SINGLE' => array(
|
||||
1 => '*>', // COBOL 2002 inline comment
|
||||
2 => '>>' // COBOL compiler directive indicator
|
||||
),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(1 => '/^\*.*?$/m'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
1 => '/^......(\*.*?$)/m', // Fixed-form comment
|
||||
2 => '/\$SET.*/i' // MF compiler directive indicator
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"', "'"),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'ESCAPE_CHAR' => '',
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC |
|
||||
GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_SCI_SHORT |
|
||||
GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array( //Compiler Directives
|
||||
'ANSI', 'BLANK', 'NOBLANK', 'CALL-SHARED', 'CANCEL', 'NOCANCEL',
|
||||
'CHECK', 'CODE', 'NOCODE', 'COLUMNS', 'COMPACT', 'NOCOMPACT',
|
||||
'COMPILE', 'CONSULT', 'NOCONSULT', 'CROSSREF', 'NOCROSSREF',
|
||||
'DIAGNOSE-74', 'NODIAGNOSE-74', 'DIAGNOSE-85', 'NODIAGNOSE-85',
|
||||
'DIAGNOSEALL', 'NODIAGNOSEALL', 'ENDIF', 'ENDUNIT', 'ENV',
|
||||
'ERRORFILE', 'ERRORS', 'FIPS', 'NOFIPS', 'FMAP', 'HEADING', 'HEAP',
|
||||
'HIGHPIN', 'HIGHREQUESTERS', 'ICODE', 'NOICODE', 'IF', 'IFNOT',
|
||||
'INNERLIST', 'NOINNERLIST', 'INSPECT', 'NOINSPECT', 'LARGEDATA',
|
||||
'LD', 'LESS-CODE', 'LIBRARY', 'LINES', 'LIST', 'NOLIST', 'LMAP',
|
||||
'NOLMAP', 'MAIN', 'MAP', 'NOMAP', 'NLD', 'NONSTOP', 'NON-SHARED',
|
||||
'OPTIMIZE', 'PERFORM-TRACE', 'PORT', 'NOPORT', 'RESETTOG',
|
||||
'RUNNABLE', 'RUNNAMED', 'SAVE', 'SAVEABEND', 'NOSAVEABEND',
|
||||
'SEARCH', 'NOSEARCH', 'SECTION', 'SETTOG', 'SHARED', 'SHOWCOPY',
|
||||
'NOSHOWCOPY', 'SHOWFILE', 'NOSHOWFILE', 'SOURCE', 'SQL', 'NOSQL',
|
||||
'SQLMEM', 'SUBSET', 'SUBTYPE', 'SUPPRESS', 'NOSUPPRESS', 'SYMBOLS',
|
||||
'NOSYMBOLS', 'SYNTAX', 'TANDEM', 'TRAP2', 'NOTRAP2', 'TRAP2-74',
|
||||
'NOTRAP2-74', 'UL', 'WARN', 'NOWARN'
|
||||
// Statements containing spaces. These are separate to other statements
|
||||
// so that they are highlighted correctly.
|
||||
1 => array(
|
||||
'DELETE FILE', 'GO TO', 'NEXT SENTENCE', 'XML GENERATE',
|
||||
'XML PARSE'
|
||||
),
|
||||
2 => array( //Statement Keywords
|
||||
'ACCEPT', 'ADD', 'TO', 'GIVING', 'CORRESPONDING', 'ALTER', 'CALL',
|
||||
'CANCEL', 'CHECKPOINT', 'CLOSE', 'COMPUTE', 'CONTINUE', 'COPY',
|
||||
'DELETE', 'DISPLAY', 'DIVIDE', 'INTO', 'REMAINDER', 'ENTER',
|
||||
'COBOL', 'EVALUATE', 'EXIT', 'GO', 'IF', 'INITIALIZE', 'INSPECT',
|
||||
'TALLYING', 'REPLACING', 'CONVERTING', 'LOCKFILE', 'MERGE', 'MOVE',
|
||||
'MULTIPLY', 'BY', 'OPEN', 'PERFORM', 'TIMES',
|
||||
'UNTIL', 'VARYING', 'READ', 'RELEASE', 'REPLACE', 'RETURN',
|
||||
'REWRITE', 'SEARCH', 'SET', 'UP', 'DOWN', 'SORT', 'START',
|
||||
'STARTBACKUP', 'STOP', 'STRING', 'SUBTRACT', 'FROM', 'UNLOCKFILE',
|
||||
'UNLOCKRECORD', 'UNSTRING', 'USE', 'DEBUGGING', 'AFTER',
|
||||
'EXCEPTION', 'WRITE'
|
||||
|
||||
2 => array( // Other Reserved Words
|
||||
'3-D', 'ABSENT', 'ABSTRACT', 'ACCESS', 'ACQUIRE',
|
||||
'ACTION', 'ACTIVE-CLASS', 'ACTIVE-X', 'ACTUAL', 'ADDRESS',
|
||||
'ADDRESS-ARRAY', 'ADDRESS-OFFSET', 'ADJUSTABLE-COLUMNS',
|
||||
'ADVANCING', 'AFP-5A', 'AFTER', 'ALIGNED', 'ALIGNMENT', 'ALL',
|
||||
'ALLOW', 'ALLOWING', 'ALPHABET', 'ALPHABETIC',
|
||||
'ALPHABETIC-LOWER', 'ALPHABETIC-UPPER', 'ALPHANUMERIC',
|
||||
'ALPHANUMERIC-EDITED', 'ALSO', 'ALTERNATE', 'AND', 'ANY',
|
||||
'ANYCASE',
|
||||
'APPLY', 'ARE', 'AREA', 'AREAS', 'ARGUMENT-NUMBER',
|
||||
'ARGUMENT-VALUE',
|
||||
'ARITHMETIC', 'AS', 'ASCENDING',
|
||||
'ASSEMBLY-ATTRIBUTES', 'ASSIGN', 'AT', 'ATTRIBUTE', 'AUTHOR',
|
||||
'AUTO', 'AUTO-DECIMAL', 'AUTO-HYPHEN-SKIP', 'AUTO-MINIMIZE',
|
||||
'AUTO-RESIZE', 'AUTO-SKIP', 'AUTO-SPIN', 'AUTOMATIC',
|
||||
'AUTOTERMINATE', 'AWAY-FROM-ZERO',
|
||||
'AX-EVENT-LIST', 'B-AND', 'B-EXOR', 'B-LEFT',
|
||||
'B-NOT', 'B-OR', 'B-RIGHT', 'B-XOR', 'BACKGROUND-COLOR',
|
||||
'BACKGROUND-COLOUR', 'BACKGROUND-HIGH', 'BACKGROUND-LOW',
|
||||
'BACKGROUND-STANDARD', 'BACKWARD', 'BAR', 'BASED', 'BASIS', 'BEEP',
|
||||
'BEFORE', 'BEGINNING', 'BELL', 'BINARY', 'BINARY-CHAR',
|
||||
'BINARY-DOUBLE', 'BINARY-LONG', 'BINARY-SHORT', 'BIND', 'BIT',
|
||||
'BITMAP', 'BITMAP-END', 'BITMAP-HANDLE', 'BITMAP-NUMBER',
|
||||
'BITMAP-RAW-HEIGHT', 'BITMAP-RAW-WIDTH', 'BITMAP-SCALE',
|
||||
'BITMAP-START', 'BITMAP-TIMER', 'BITMAP-TRAILING', 'BITMAP-WIDTH',
|
||||
'BLANK', 'BLINK', 'BLINKING', 'BLOB', 'BLOB-FILE', 'BLOB-LOCATOR',
|
||||
'BLOCK', 'BOLD', 'BOOLEAN', 'BOTTOM', 'BOX', 'BOXED', 'BROWSING',
|
||||
'BUSY', 'BUTTONS', 'BY', 'C01', 'C02', 'C03', 'C04',
|
||||
'C05',
|
||||
'C06', 'C07', 'C08', 'C09', 'C10', 'C11', 'C12', 'CALENDAR-FONT',
|
||||
'CALLED', 'CANCEL-BUTTON', 'CAPACITY', 'CATCH', 'CBL',
|
||||
'CBL-CTR', 'CCOL', 'CD', 'CELL', 'CELL-COLOR', 'CELL-DATA',
|
||||
'CELL-FONT', 'CELL-PROTECTION', 'CELLS', 'CENTER', 'CENTERED',
|
||||
'CENTERED-HEADINGS', 'CENTURY-DATE', 'CENTURY-DAY', 'CF', 'CH',
|
||||
'CHAINING', 'CHANGED', 'CHAR-VARYING',
|
||||
'CHARACTER',
|
||||
'CHARACTERS', 'CHART', 'CHECK-BOX', 'CHECKING', 'CLASS',
|
||||
'CLASS-ATTRIBUTES', 'CLASS-CONTROL', 'CLASS-ID', 'CLASS-OBJECT',
|
||||
'CLASSIFICATION',
|
||||
'CLEAR-SELECTION', 'CLINE', 'CLINES', 'CLOB', 'CLOB-FILE',
|
||||
'CLOB-LOCATOR', 'CLOCK-UNITS', 'COBOL', 'CODE', 'CODE-SET',
|
||||
'COERCION', 'COL', 'COLLATING', 'COLORS', 'COLOUR',
|
||||
'COLOURS', 'COLS', 'COLUMN', 'COLUMN-COLOR', 'COLUMN-DIVIDERS',
|
||||
'COLUMN-FONT', 'COLUMN-HEADINGS', 'COLUMN-PROTECTION', 'COLUMNS',
|
||||
'COM-REG', 'COMBO-BOX', 'COMMA', 'COMMITMENT', 'COMMON',
|
||||
'COMMUNICATION', 'COMP', 'COMP-0', 'COMP-1', 'COMP-2', 'COMP-3',
|
||||
'COMP-4', 'COMP-5', 'COMP-6', 'COMP-X', 'COMPRESSION',
|
||||
'COMPUTATIONAL', 'COMPUTATIONAL-0', 'COMPUTATIONAL-1',
|
||||
'COMPUTATIONAL-2', 'COMPUTATIONAL-3', 'COMPUTATIONAL-4',
|
||||
'COMPUTATIONAL-5', 'COMPUTATIONAL-6', 'COMPUTATIONAL-X',
|
||||
'CONDITION-VALUE', 'CONFIGURATION', 'CONSOLE', 'CONSTANT',
|
||||
'CONSTRAIN', 'CONSTRAINTS', 'CONTAINS', 'CONTENT',
|
||||
'CONTROL', 'CONTROL-AREA', 'CONTROLS', 'CONTROLS-UNCROPPED',
|
||||
'CONVERSION', 'CONVERT', 'CONVERTING', 'COPY-SELECTION',
|
||||
'CORE-INDEX', 'CORR', 'CORRESPONDING', 'COUNT',
|
||||
'CREATING', 'CRT', 'CRT-UNDER', 'CSIZE', 'CSP', 'CURRENCY',
|
||||
'CURSOR', 'CURSOR-COL', 'CURSOR-COLOR',
|
||||
'CURSOR-FRAME-WIDTH', 'CURSOR-ROW', 'CURSOR-X', 'CURSOR-Y',
|
||||
'CUSTOM-ATTRIBUTE', 'CUSTOM-PRINT-TEMPLATE', 'CYCLE', 'CYL-INDEX',
|
||||
'CYL-OVERFLOW', 'DASHED', 'DATA', 'DATA-COLUMNS',
|
||||
'DATA-POINTER', 'DATA-TYPES', 'DATABASE-KEY', 'DATABASE-KEY-LONG',
|
||||
'DATE', 'DATE-COMPILED', 'DATE-ENTRY', 'DATE-RECORD',
|
||||
'DATE-WRITTEN', 'DAY', 'DAY-OF-WEEK', 'DBCLOB', 'DBCLOB-FILE',
|
||||
'DBCLOB-LOCATOR', 'DBCS', 'DE', 'DEBUG', 'DEBUG-CONTENTS',
|
||||
'DEBUG-ITEM', 'DEBUG-LINE', 'DEBUG-NAME', 'DEBUG-SUB-1',
|
||||
'DEBUG-SUB-2', 'DEBUG-SUB-3', 'DEBUGGING', 'DECIMAL',
|
||||
'DECIMAL-POINT', 'DECLARATIVES', 'DEFAULT',
|
||||
'DEFAULT-BUTTON', 'DEFAULT-FONT', 'DEFINITION',
|
||||
'DELEGATE-ID', 'DELIMITED', 'DELIMITER', 'DEPENDING',
|
||||
'DESCENDING', 'DESTINATION', 'DESTROY', 'DETAIL', 'DICTIONARY',
|
||||
'DISABLE', 'DISC', 'DISJOINING', 'DISK', 'DISP',
|
||||
'DISPLAY-1', 'DISPLAY-COLUMNS', 'DISPLAY-FORMAT', 'DISPLAY-ST',
|
||||
'DIVIDER-COLOR', 'DIVIDERS', 'DIVISION', 'DOT-DASH',
|
||||
'DOTTED', 'DOWN', 'DRAG-COLOR', 'DRAW', 'DROP', 'DROP-DOWN',
|
||||
'DROP-LIST', 'DUPLICATES', 'DYNAMIC', 'EBCDIC', 'EC', 'ECHO', 'EGCS',
|
||||
'EGI', 'EJECT', 'ELEMENTARY', 'ELSE', 'EMI', 'EMPTY-CHECK',
|
||||
'ENABLE', 'ENABLED', 'END', 'END-ACCEPT', 'END-ADD', 'END-CALL',
|
||||
'END-CHAIN', 'END-COLOR', 'END-COMPUTE', 'END-DELEGATE',
|
||||
'END-DELETE', 'END-DISPLAY', 'END-DIVIDE', 'END-EVALUATE',
|
||||
'END-IF', 'END-INVOKE', 'END-MODIFY', 'END-MOVE', 'END-MULTIPLY',
|
||||
'END-OF-PAGE', 'END-PERFORM', 'END-READ', 'END-RECEIVE',
|
||||
'END-RETURN', 'END-REWRITE', 'END-SEARCH', 'END-START',
|
||||
'END-STRING', 'END-SUBTRACT', 'END-SYNC', 'END-TRY',
|
||||
'END-UNSTRING', 'END-WAIT', 'END-WRITE', 'END-XML', 'ENDING',
|
||||
'ENGRAVED', 'ENSURE-VISIBLE', 'ENTRY-CONVENTION',
|
||||
'ENTRY-FIELD',
|
||||
'ENTRY-REASON', 'ENUM', 'ENUM-ID', 'ENVIRONMENT',
|
||||
'ENVIRONMENT-NAME', 'ENVIRONMENT-VALUE', 'EOL', 'EOP',
|
||||
'EOS', 'EQUAL', 'EQUALS', 'ERASE', 'ERROR', 'ESCAPE',
|
||||
'ESCAPE-BUTTON', 'ESI', 'EVENT', 'EVENT-LIST',
|
||||
'EVENT-POINTER', 'EVERY', 'EXCEEDS', 'EXCEPTION',
|
||||
'EXCEPTION-OBJECT', 'EXCEPTION-VALUE', 'EXCESS-3',
|
||||
'EXCLUDE-EVENT-LIST', 'EXCLUSIVE',
|
||||
'EXPAND', 'EXPANDS', 'EXTEND', 'EXTENDED',
|
||||
'EXTENDED-SEARCH', 'EXTENSION', 'EXTERNAL', 'EXTERNAL-FORM',
|
||||
'EXTERNALLY-DESCRIBED-KEY', 'FACTORY', 'FALSE', 'FD',
|
||||
'FH--FCD', 'FH--KEYDEF', 'FILE', 'FILE-CONTROL', 'FILE-ID',
|
||||
'FILE-LIMIT', 'FILE-LIMITS', 'FILE-NAME', 'FILE-POS', 'FILL-COLOR',
|
||||
'FILL-COLOR2', 'FILL-PERCENT', 'FILLER', 'FINAL', 'FINALLY',
|
||||
'FINISH-REASON', 'FIRST', 'FIXED', 'FIXED-FONT', 'FIXED-WIDTH',
|
||||
'FLAT', 'FLAT-BUTTONS', 'FLOAT-BINARY-7', 'FLOAT-BINARY-16',
|
||||
'FLOAT-BINARY-34', 'FLOAT-DECIMAL-16', 'FLOAT-DECIMAL-34',
|
||||
'FLOAT-EXTENDED', 'FLOAT-LONG',
|
||||
'FLOAT-SHORT', 'FLOATING', 'FONT', 'FOOTING', 'FOR',
|
||||
'FOREGROUND-COLOR', 'FOREGROUND-COLOUR', 'FOREVER', 'FORMAT',
|
||||
'FRAME', 'FRAMED', 'FROM', 'FULL', 'FULL-HEIGHT',
|
||||
'FUNCTION', 'FUNCTION-ID', 'FUNCTION-POINTER', 'GENERATE',
|
||||
'GET', 'GETTER', 'GIVING', 'GLOBAL', 'GO-BACK', 'GO-FORWARD',
|
||||
'GO-HOME', 'GO-SEARCH', 'GRAPHICAL', 'GREATER', 'GRID',
|
||||
'GRIP', 'GROUP', 'GROUP-USAGE', 'GROUP-VALUE', 'HANDLE',
|
||||
'HAS-CHILDREN', 'HEADING', 'HEADING-COLOR', 'HEADING-DIVIDER-COLOR',
|
||||
'HEADING-FONT', 'HEAVY', 'HEIGHT', 'HEIGHT-IN-CELLS', 'HELP-ID',
|
||||
'HIDDEN-DATA', 'HIGH', 'HIGH-COLOR', 'HIGH-VALUE', 'HIGH-VALUES',
|
||||
'HIGHLIGHT', 'HORIZONTAL', 'HOT-TRACK', 'HSCROLL', 'HSCROLL-POS',
|
||||
'I-O', 'I-O-CONTROL', 'ICON', 'ID', 'IDENTIFICATION',
|
||||
'IDENTIFIED', 'IFINITY', 'IGNORE', 'IGNORING', 'IMPLEMENTS', 'IN',
|
||||
'INDEPENDENT', 'INDEX', 'INDEXED', 'INDEXER', 'INDEXER-ID', 'INDIC',
|
||||
'INDICATE', 'INDICATOR', 'INDICATORS', 'INDIRECT',
|
||||
'INHERITING', 'INHERITS',
|
||||
'INITIAL', 'INITIALIZED', 'INPUT',
|
||||
'INPUT-OUTPUT', 'INQUIRE', 'INSERT', 'INSERT-ROWS',
|
||||
'INSERTION-INDEX', 'INSTALLATION', 'INSTANCE',
|
||||
'INTERFACE', 'INTERFACE-ID', 'INTERMEDIATE',
|
||||
'INTERNAL', 'INTO', 'INTRINSIC',
|
||||
'INVALID', 'INVOKED', 'IS', 'ITEM', 'ITEM-BOLD',
|
||||
'ITEM-ID', 'ITEM-TEXT', 'ITEM-TO-ADD', 'ITEM-TO-DELETE',
|
||||
'ITEM-TO-EMPTY', 'ITEM-VALUE', 'ITERATOR', 'ITERATOR-ID', 'J',
|
||||
'JOINED', 'JOINING', 'JUST', 'JUSTIFIED', 'KANJI',
|
||||
'KEPT', 'KEY', 'KEY-YY', 'KEYBOARD', 'LABEL', 'LABEL-OFFSET',
|
||||
'LARGE-FONT', 'LAST', 'LAST-ROW', 'LAYOUT-DATA', 'LAYOUT-MANAGER',
|
||||
'LC_ALL', 'LC_COLLATE', 'LC_CTYPE', 'LC_CURRENCY', 'LC_MESSAGES',
|
||||
'LC_MONETARY', 'LC_NUMERIC', 'LC_TIME', 'LEADING', 'LEADING-SHIFT',
|
||||
'LEAVE', 'LEFT', 'LEFT-JUSTIFY', 'LEFT-TEXT', 'LEFTLINE',
|
||||
'LENGTH-CHECK', 'LESS', 'LIMIT', 'LIMITS', 'LIN', 'LINAGE',
|
||||
'LINAGE-COUNTER', 'LINE', 'LINE-COUNTER', 'LINES', 'LINES-AT-ROOT',
|
||||
'LINK', 'LINKAGE', 'LIST', 'LIST-BOX', 'LM-RESIZE', 'LOCAL-STORAGE',
|
||||
'LOCALE', 'LOCK', 'LOCKING', 'LONG-DATE', 'LONG-VARBINARY',
|
||||
'LONG-VARCHAR', 'LOW', 'LOW-COLOR', 'LOW-VALUE', 'LOW-VALUES',
|
||||
'LOWER', 'LOWERED', 'LOWLIGHT', 'MANUAL', 'MASS-UPDATE',
|
||||
'MASTER-INDEX', 'MAX-HEIGHT', 'MAX-LINES', 'MAX-PROGRESS',
|
||||
'MAX-SIZE', 'MAX-TEXT', 'MAX-VAL', 'MAX-WIDTH', 'MDI-CHILD',
|
||||
'MDI-FRAME', 'MEDIUM-FONT', 'MEMORY', 'MENU', 'MESSAGE',
|
||||
'MESSAGES', 'METACLASS', 'METHOD', 'METHOD-ID', 'MIN-HEIGHT',
|
||||
'MIN-LINES', 'MIN-SIZE', 'MIN-VAL', 'MIN-WIDTH', 'MODAL', 'MODE',
|
||||
'MODELESS', 'MODIFIED', 'MODULES', 'MONITOR-POINTER',
|
||||
'MORE-LABELS', 'MULTILINE',
|
||||
'MUTEX-POINTER', 'NAME', 'NAMED', 'NATIONAL',
|
||||
'NATIONAL-EDITED', 'NATIVE', 'NAVIGATE-URL', 'NCHAR',
|
||||
'NEAREST-AWAY-FROM-ZERO', 'NEAREST-EVEN', 'NEAREST-TOWARD-ZERO',
|
||||
'NEGATIVE', 'NEGATIVE-INFINITY',
|
||||
'NESTED', 'NET-EVENT-LIST', 'NEW', 'NEWABLE', 'NEXT ', 'NEXT-ITEM',
|
||||
'NO', 'NO-AUTO-DEFAULT', 'NO-AUTOSEL', 'NO-BOX', 'NO-CELL-DRAG',
|
||||
'NO-CLOSE', 'NO-DIVIDERS', 'NO-ECHO', 'NO-F4', 'NO-FOCUS',
|
||||
'NO-GROUP-TAB', 'NO-KEY-LETTER', 'NO-SEARCH', 'NO-TAB', 'NO-UPDOWN',
|
||||
'NOMINAL', 'NONE', 'NORMAL', 'NOT', 'NOT-A-NUMBER', 'NOTIFY',
|
||||
'NOTIFY-CHANGE', 'NOTIFY-DBLCLICK', 'NOTIFY-SELCHANGE',
|
||||
'NSTD-REELS', 'NULL', 'NULLS', 'NUM-COL-HEADINGS',
|
||||
'NUM-ROW-HEADINGS', 'NUM-ROWS', 'NUMBER', 'NUMBERS', 'NUMERIC',
|
||||
'NUMERIC-EDITED', 'NUMERIC-FILL', 'O-FILL', 'OBJECT',
|
||||
'OBJECT-COMPUTER', 'OBJECT-ID', 'OBJECT-REFERENCE',
|
||||
'OBJECT-STORAGE', 'OCCURS', 'OF', 'OFF', 'OK-BUTTON', 'OMITTED',
|
||||
'ONLY', 'OOSTACKPTR', 'OPERATOR', 'OPERATOR-ID',
|
||||
'OPTIONAL', 'OPTIONS', 'OR', 'ORDER', 'ORGANIZATION', 'OTHER',
|
||||
'OTHERWISE', 'OUTPUT', 'OVERFLOW', 'OVERLAP-LEFT', 'OVERLAP-TOP',
|
||||
'OVERLAPPED', 'OVERLINE', 'OVERRIDE', 'PACKED-DECIMAL',
|
||||
'PADDING', 'PAGE', 'PAGE-COUNTER', 'PAGE-SETUP', 'PAGE-SIZE',
|
||||
'PAGED', 'PANEL-INDEX', 'PANEL-STYLE', 'PANEL-TEXT', 'PANEL-WIDTHS',
|
||||
'PARAGRAPH', 'PARAMS', 'PARENT', 'PARSE', 'PARTIAL', 'PASSWORD',
|
||||
'PERMANENT', 'PF', 'PH', 'PIC', 'PICTURE', 'PIXEL',
|
||||
'PIXELS', 'PLACEMENT', 'PLUS', 'POINTER', 'POP-UP', 'POSITION',
|
||||
'POSITION-SHIFT', 'POSITIONING', 'POSITIVE', 'POSITIVE-INFINITY',
|
||||
'PREFIXED', 'PREFIXING', 'PRESENT',
|
||||
'PREVIOUS', 'PRINT', 'PRINT-CONTROL', 'PRINT-NO-PROMPT',
|
||||
'PRINT-PREVIEW', 'PRINT-SWITCH', 'PRINTER', 'PRINTER-1', 'PRINTING',
|
||||
'PRIOR', 'PRIORITY', 'PRIVATE', 'PROCEDURE', 'PROCEDURE-POINTER',
|
||||
'PROCEDURES', 'PROCEED', 'PROCESS', 'PROCESSING', 'PROGRAM',
|
||||
'PROGRAM-ID', 'PROGRAM-POINTER', 'PROGRESS', 'PROHIBITED',
|
||||
'PROMPT', 'PROPERTIES',
|
||||
'PROPERTY', 'PROPERTY-ID', 'PROPERTY-VALUE', 'PROTECTED',
|
||||
'PROTOTYPE', 'PUBLIC', 'PURGE', 'PUSH-BUTTON', 'QUERY-INDEX',
|
||||
'QUEUE', 'QUOTE', 'QUOTES', 'RADIO-BUTTON', 'RAISED',
|
||||
'RAISING', 'RD', 'READ-ONLY', 'READING',
|
||||
'READY', 'RECORD', 'RECORD-DATA', 'RECORD-OVERFLOW',
|
||||
'RECORD-TO-ADD', 'RECORD-TO-DELETE', 'RECORDING', 'RECORDS',
|
||||
'RECURSIVE', 'REDEFINE', 'REDEFINES', 'REDEFINITION', 'REEL',
|
||||
'REFERENCE', 'REFERENCES', 'REFRESH', 'REGION-COLOR', 'RELATION',
|
||||
'RELATIVE', 'RELOAD', 'REMAINDER', 'REMARKS', 'REMOVAL',
|
||||
'RENAMES', 'REORG-CRITERIA', 'REPEATED', 'REPLACE', 'REPLACING',
|
||||
'REPORT', 'REPORTING', 'REPORTS', 'REPOSITORY', 'REQUIRED',
|
||||
'REPRESENTS-NOT-A-NUMBER',
|
||||
'REREAD', 'RERUN', 'RESERVE', 'RESET-GRID', 'RESET-LIST',
|
||||
'RESET-TABS', 'RESIZABLE', 'RESTRICTED', 'RESULT-SET-LOCATOR',
|
||||
'RETRY', 'RETURN-CODE', 'RETURNING',
|
||||
'REVERSE-VIDEO', 'REVERSED', 'REWIND', 'RF', 'RH',
|
||||
'RIGHT', 'RIGHT-ALIGN', 'RIGHT-JUSTIFY', 'RIMMED',
|
||||
'ROLLING', 'ROUNDED', 'ROUNDING', 'ROW-COLOR', 'ROW-COLOR-PATTERN',
|
||||
'ROW-DIVIDERS', 'ROW-FONT', 'ROW-HEADINGS', 'ROW-PROTECTION',
|
||||
'ROWID', 'RUN', 'S01', 'S02', 'S03', 'S04', 'S05', 'SAME',
|
||||
'SAVE-AS', 'SAVE-AS-NO-PROMPT', 'SCREEN', 'SCROLL', 'SCROLL-BAR',
|
||||
'SD', 'SEARCH-OPTIONS', 'SEARCH-TEXT', 'SECONDS',
|
||||
'SECTION', 'SECURE', 'SECURITY', 'SEEK', 'SEGMENT', 'SEGMENT-LIMIT',
|
||||
'SELECT-ALL', 'SELECTION-INDEX', 'SELECTION-TEXT',
|
||||
'SELECTIVE', 'SELF', 'SELF-ACT', 'SELFCLASS', 'SEMAPHORE-POINTER',
|
||||
'SEND', 'SENTENCE', 'SEPARATE', 'SEPARATION', 'SEQUENCE',
|
||||
'SEQUENTIAL', 'SETTER', 'SHADING', 'SHADOW',
|
||||
'SHARING', 'SHIFT-IN', 'SHIFT-OUT', 'SHORT-DATE', 'SHOW-LINES',
|
||||
'SHOW-NONE', 'SHOW-SEL-ALWAYS', 'SIGNED', 'SIGNED-INT',
|
||||
'SIGNED-LONG', 'SIGNED-SHORT', 'SIZE', 'SKIP1',
|
||||
'SKIP2', 'SKIP3', 'SMALL-FONT', 'SORT-CONTROL',
|
||||
'SORT-CORE-SIZE', 'SORT-FILE-SIZE', 'SORT-MERGE', 'SORT-MESSAGE',
|
||||
'SORT-MODE-SIZE', 'SORT-OPTION', 'SORT-ORDER', 'SORT-RETURN',
|
||||
'SORT-TAPE', 'SORT-TAPES', 'SOURCE', 'SOURCE-COMPUTER', 'SOURCES',
|
||||
'SPACE', 'SPACE-FILL', 'SPACES', 'SPECIAL-NAMES', 'SPINNER', 'SQL',
|
||||
'SQUARE', 'STANDARD', 'STANDARD-1', 'STANDARD-2', 'STANDARD-3',
|
||||
'STANDARD-BINARY', 'STANDARD-DECIMAL',
|
||||
'START-X', 'START-Y', 'STARTING', 'STATEMENT', 'STATIC',
|
||||
'STATIC-LIST',
|
||||
'STATUS', 'STATUS-BAR', 'STATUS-TEXT', 'STEP',
|
||||
'STOP-BROWSER', 'STRONG', 'STYLE', 'SUB-QUEUE-1',
|
||||
'SUB-QUEUE-2', 'SUB-QUEUE-3', 'SUBFILE', 'SUBWINDOW',
|
||||
'SUFFIXING', 'SUPER', 'SYMBOL', 'SYMBOLIC',
|
||||
'SYNCHRONIZED', 'SYSIN', 'SYSIPT', 'SYSLST', 'SYSOUT',
|
||||
'SYSPCH', 'SYSPUNCH', 'SYSTEM', 'SYSTEM-DEFAULT', 'SYSTEM-INFO',
|
||||
'TAB', 'TAB-CONTROL', 'TAB-TO-ADD', 'TAB-TO-DELETE', 'TABLE',
|
||||
'TALLY', 'TALLYING', 'TAPE', 'TAPES', 'TEMPORARY', 'TERMINAL',
|
||||
'TERMINAL-INFO', 'TERMINATION-VALUE', 'TEST', 'TEXT',
|
||||
'THAN', 'THEN', 'THREAD', 'THREAD-LOCAL', 'THREAD-LOCAL-STORAGE',
|
||||
'THREAD-POINTER', 'THROUGH', 'THRU', 'THUMB-POSITION',
|
||||
'TILED-HEADINGS', 'TIME', 'TIME-OF-DAY', 'TIME-OUT', 'TIME-RECORD',
|
||||
'TIMEOUT', 'TIMES', 'TIMESTAMP', 'TIMESTAMP-OFFSET',
|
||||
'TIMESTAMP-OFFSET-RECORD', 'TIMESTAMP-RECORD', 'TITLE', 'TITLE-BAR',
|
||||
'TITLE-POSITION', 'TO', 'TOOL-BAR', 'TOP', 'TOTALED', 'TOTALING',
|
||||
'TOWARD-GREATER', 'TOWARD-LESSER',
|
||||
'TRACE', 'TRACK-AREA', 'TRACK-LIMIT', 'TRACK-THUMB', 'TRACKS',
|
||||
'TRADITIONAL-FONT', 'TRAILING', 'TRAILING-SHIFT', 'TRAILING-SIGN',
|
||||
'TRANSACTION', 'TRANSPARENT', 'TRANSPARENT-COLOR',
|
||||
'TREE-VIEW', 'TRUE', 'TRUNCATION', 'TYPE', 'TYPEDEF', 'UCS-4',
|
||||
'UNDERLINE', 'UNDERLINED', 'UNEQUAL', 'UNFRAMED', 'UNIT', 'UNITS',
|
||||
'UNIVERSAL', 'UNSIGNED', 'UNSIGNED-INT', 'UNSIGNED-LONG',
|
||||
'UNSIGNED-SHORT',
|
||||
'UNSORTED', 'UP', 'UPDATE', 'UNTIL', 'UPON', 'UPPER',
|
||||
'UPSI-0', 'UPSI-1', 'UPSI-2', 'UPSI-3', 'UPSI-4', 'UPSI-5',
|
||||
'UPSI-6', 'UPSI-7', 'USAGE', 'USE-ALT', 'USE-RETURN',
|
||||
'USE-TAB', 'USER', 'USER-COLORS', 'USER-DEFAULT', 'USER-GRAY',
|
||||
'USER-WHITE', 'USING', 'UTF-16', 'UTF-8', 'VALID',
|
||||
'VAL-STATUS', 'VALIDATE-STATUS',
|
||||
'VALUE', 'VALUE-FORMAT', 'VALUES', 'VALUETYPE', 'VALUETYPE-ID',
|
||||
'VARBINARY', 'VARIABLE', 'VARIANT', 'VARYING', 'VERTICAL',
|
||||
'VERY-HEAVY', 'VIRTUAL-WIDTH', 'VISIBLE', 'VPADDING', 'VSCROLL',
|
||||
'VSCROLL-BAR', 'VSCROLL-POS', 'VTOP', 'WEB-BROWSER', 'WHEN',
|
||||
'WHERE', 'WIDTH', 'WIDTH-IN-CELLS', 'WINDOW',
|
||||
'WITH', 'WORDS', 'WORKING-STORAGE', 'WRAP', 'WRITE-ONLY',
|
||||
'WRITE-VERIFY', 'WRITING', ' XML', 'XML ', 'XML-CODE', 'XML-EVENT',
|
||||
'XML-NTEXT', 'XML-TEXT', 'YIELDING', 'YYYYDDD', 'YYYYMMDD', 'ZERO',
|
||||
'ZERO-FILL', 'ZEROES', 'ZEROS'
|
||||
),
|
||||
3 => array( //Reserved in some contexts
|
||||
'ACCESS', 'ADDRESS', 'ADVANCING', 'AFTER', 'ALL',
|
||||
'ALPHABET', 'ALPHABETIC', 'ALPHABETIC-LOWER', 'ALPHABETIC-UPPER',
|
||||
'ALPHANUMERIC', 'ALPHANUMERIC-EDITED', 'ALSO', 'ALTER', 'ALTERNATE',
|
||||
'AND', 'ANY', 'APPROXIMATE', 'AREA', 'AREAS', 'ASCENDING', 'ASSIGN',
|
||||
'AT', 'AUTHOR', 'BEFORE', 'BINARY', 'BLANK', 'BLOCK', 'BOTTOM', 'BY',
|
||||
'CALL', 'CANCEL', 'CD', 'CF', 'CH', 'CHARACTER', 'CHARACTERS',
|
||||
'CHARACTER-SET', 'CHECKPOINT', 'CLASS', 'CLOCK-UNITS', 'CLOSE',
|
||||
'COBOL', 'CODE', 'CODE-SET', 'COLLATING', 'COLUMN', 'COMMA',
|
||||
'COMMON', 'COMMUNICATION', 'COMP', 'COMP-3', 'COMP-5',
|
||||
'COMPUTATIONAL', 'COMPUTATIONAL-3', 'COMPUTATIONAL-5',
|
||||
'CONFIGURATION', 'CONTAINS', 'CONTENT', 'CONTINUE', 'CONTROL',
|
||||
'CONTROLS', 'CONVERTING', 'COPY', 'CORR', 'CORRESPONDING', 'COUNT',
|
||||
'CURRENCY', 'DATA', 'DATE', 'DATE-COMPILED', 'DATE-WRITTEN', 'DAY',
|
||||
'DAY-OF-WEEK', 'DE', 'DEBUG-CONTENTS', 'DEBUG-ITEM', 'DEBUG-LINE',
|
||||
'DEBUG-SUB-2', 'DEBUG-SUB-3', 'DEBUGGING', 'DECIMAL-POINT',
|
||||
'DECLARATIVES', 'DEBUG-NAME', 'DEBUG-SUB-1', 'DELETE', 'DELIMITED',
|
||||
'DELIMITER', 'DEPENDING', 'DESCENDING', 'DESTINATION', 'DETAIL',
|
||||
'DISABLE', 'DISPLAY', 'DIVIDE', 'DIVISION', 'DOWN', 'DUPLICATES',
|
||||
'DYNAMIC', 'EGI', 'ELSE', 'EMI', 'ENABLE', 'END', 'END-ADD',
|
||||
'END-COMPUTE', 'END-DELETE', 'END-DIVIDE', 'END-EVALUATE', 'END-IF',
|
||||
'END-MULTIPLY', 'END-OF-PAGE', 'END-PERFORM', 'END-READ',
|
||||
'END-RECEIVE', 'END-RETURN', 'END-REWRITE', 'END-SEARCH',
|
||||
'END-START', 'END-STRING', 'END-SUBTRACT', 'END-UNSTRING',
|
||||
'END-WRITE', 'ENTER', 'EOP', 'EQUAL', 'ERROR', 'ESI', 'EVALUATE',
|
||||
'EVERY', 'EXCEPTION', 'EXCLUSIVE', 'EXIT', 'EXTEND',
|
||||
'EXTENDED-STORAGE', 'EXTERNAL', 'FALSE', 'FD', 'FILE',
|
||||
'FILE-CONTROL', 'FILLER', 'FINAL', 'FIRST', 'FOOTING', 'FOR',
|
||||
'FROM', 'FUNCTION', 'GENERATE', 'GENERIC', 'GIVING', 'GLOBAL',
|
||||
'GO', 'GREATER', 'GROUP', 'GUARDIAN-ERR', 'HEADING', 'HIGH-VALUE',
|
||||
'HIGH-VALUES', 'I-O', 'I-O-CONTROL', 'IDENTIFICATION', 'IN',
|
||||
'INDEX', 'INDEXED', 'INDICATE', 'INITIAL', 'INITIALIZE', 'INITIATE',
|
||||
'INPUT', 'INPUT-OUTPUT', 'INSPECT', 'INSTALLATION', 'INTO',
|
||||
'INVALID', 'IS', 'JUST', 'JUSTIFIED', 'KEY', 'LABEL', 'LAST',
|
||||
'LEADING', 'LEFT', 'LENGTH', 'LESS', 'LIMIT', 'LIMITS', 'LINAGE',
|
||||
'LINAGE-COUNTER', 'LINE', 'LINE-COUNTER', 'LINKAGE', 'LOCK',
|
||||
'LOCKFILE', 'LOW-VALUE', 'LOW-VALUES', 'MEMORY', 'MERGE', 'MESSAGE',
|
||||
'MODE', 'MODULES', 'MOVE', 'MULTIPLE', 'MULTIPLY', 'NATIVE',
|
||||
'NEGATIVE', 'NEXT', 'NO', 'NOT', 'NULL', 'NULLS', 'NUMBER',
|
||||
'NUMERIC', 'NUMERIC-EDITED', 'OBJECT-COMPUTER', 'OCCURS', 'OF',
|
||||
'OFF', 'OMITTED', 'ON', 'OPEN', 'OPTIONAL', 'OR', 'ORDER',
|
||||
'ORGANIZATION', 'OTHER', 'OUTPUT', 'OVERFLOW', 'PACKED-DECIMAL',
|
||||
'PADDING', 'PAGE', 'PAGE-COUNTER', 'PERFORM', 'PF', 'PH', 'PIC',
|
||||
'PICTURE', 'PLUS', 'POINTER', 'POSITION', 'POSITIVE', 'PRINTING',
|
||||
'PROCEDURE', 'PROCEDURES', 'PROCEED', 'PROGRAM', 'PROGRAM-ID',
|
||||
'PROGRAM-STATUS', 'PROGRAM-STATUS-1', 'PROGRAM-STATUS-2', 'PROMPT',
|
||||
'PROTECTED', 'PURGE', 'QUEUE', 'QUOTE', 'QUOTES', 'RANDOM', 'RD',
|
||||
'READ', 'RECEIVE', 'RECEIVE-CONTROL', 'RECORD', 'RECORDS',
|
||||
'REDEFINES', 'REEL', 'REFERENCE', 'REFERENCES', 'RELATIVE',
|
||||
'RELEASE', 'REMAINDER', 'REMOVAL', 'RENAMES', 'REPLACE',
|
||||
'REPLACING', 'REPLY', 'REPORT', 'REPORTING', 'REPORTS', 'RERUN',
|
||||
'RESERVE', 'RESET', 'REVERSED', 'REWIND', 'REWRITE', 'RF',
|
||||
'RH', 'RIGHT', 'ROUNDED', 'RUN', 'SAME', 'SD', 'SEARCH', 'SECTION',
|
||||
'SECURITY', 'SEGMENT', 'SEGMENT-LIMIT', 'SELECT', 'SEND',
|
||||
'SENTENCE', 'SEPARATE', 'SEQUENCE', 'SEQUENTIAL', 'SET', 'SHARED',
|
||||
'SIGN', 'SIZE', 'SORT', 'SORT-MERGE', 'SOURCE', 'SOURCE-COMPUTER',
|
||||
'SPACE', 'SPACES', 'SPECIAL-NAMES', 'STANDARD', 'STANDARD-1',
|
||||
'STANDARD-2', 'START', 'STARTBACKUP', 'STATUS', 'STOP', 'STRING',
|
||||
'SUB-QUEUE-1', 'SUB-QUEUE-2', 'SUB-QUEUE-3', 'SUBTRACT', 'SUM',
|
||||
'SUPPRESS', 'SYMBOLIC', 'SYNC', 'SYNCDEPTH', 'SYNCHRONIZED',
|
||||
'TABLE', 'TAL', 'TALLYING', 'TAPE', 'TERMINAL', 'TERMINATE', 'TEST',
|
||||
'TEXT', 'THAN', 'THEN', 'THROUGH', 'THRU', 'TIME', 'TIMES', 'TO',
|
||||
'TOP', 'TRAILING', 'TRUE', 'TYPE', 'UNIT', 'UNLOCK', 'UNLOCKFILE',
|
||||
'UNLOCKRECORD', 'UNSTRING', 'UNTIL', 'UP', 'UPON', 'USAGE', 'USE',
|
||||
'USING', 'VALUE', 'VALUES', 'VARYING', 'WHEN', 'WITH', 'WORDS',
|
||||
'WORKING-STORAGE', 'WRITE', 'ZERO', 'ZEROES'
|
||||
3 => array( // Statement Keywords containing no spaces.
|
||||
'ACCEPT', 'ADD', 'ALTER', 'ALLOCATE', 'ATTACH', 'CALL', 'CANCEL',
|
||||
'CHAIN', 'CREATE',
|
||||
'CLOSE', 'COLOR', 'COMPUTE', 'COMMIT', 'CONTINUE',
|
||||
'COPY', 'DECLARE', 'DELEGATE', 'DELETE', 'DETACH', 'DISPLAY',
|
||||
'DIVIDE',
|
||||
'ENTER', 'ENTRY', 'EVALUATE', 'EXAMINE',
|
||||
'EXEC', 'EXECUTE', 'EXHIBIT', 'EXIT', 'FREE', 'GOBACK',
|
||||
'IF', 'INITIALIZE', 'INITIATE', 'INSPECT', 'INVOKE', 'MERGE',
|
||||
'MODIFY', 'MOVE', 'MULTIPLY', 'NOTE', 'ON', 'OPEN',
|
||||
'PERFORM', 'RAISE', 'READ', 'RECEIVE', 'RELEASE', 'RETURN',
|
||||
'RESET', 'RESUME',
|
||||
'REWRITE', 'ROLLBACK', 'SEARCH', 'SELECT', 'SERVICE', 'SET', 'SORT',
|
||||
'START', 'STOP', 'STRING', 'SUBTRACT', 'SYNC',
|
||||
'SUPPRESS', 'TERMINATE',
|
||||
'TRANSFORM', 'TRY', 'UNLOCKFILE', 'UNLOCK', 'UNSTRING', 'USE',
|
||||
'VALIDATE', 'WAIT', 'WRITE'
|
||||
),
|
||||
4 => array( //Standard functions
|
||||
'ACOS', 'ANNUITY', 'ASIN', 'ATAN', 'CHAR', 'COS', 'CURRENT-DATE',
|
||||
'DATE-OF-INTEGER', 'DAY-OF-INTEGER', 'FACTORIAL', 'INTEGER',
|
||||
'INTEGER-OF-DATE', 'INTEGER-OF-DAY', 'INTEGER-PART', 'LENGTH',
|
||||
'LOG', 'LOG10', 'LOWER-CASE', 'MAX', 'MEAN', 'MEDIAN', 'MIDRANGE',
|
||||
'MIN', 'MOD', 'NUMVAL', 'NUMVAL-C', 'ORD', 'ORD-MAX', 'ORD-MIN',
|
||||
'PRESENT-VALUE', 'RANDOM', 'RANGE', 'REM', 'REVERSE', 'SIN', 'SQRT',
|
||||
'STANDARD-DEVIATION', 'SUM', 'TAN', 'UPPER-CASE', 'VARIANCE',
|
||||
'WHEN-COMPILED'
|
||||
4 => array( // Intrinsic functions
|
||||
'ABS', 'ACOS', 'ANNUITY', 'ASIN', 'ATAN', 'BOOLEAN-OF-INTEGER',
|
||||
'BYTE-LENGTH', 'CHAR', 'CHAR-NATIONAL',
|
||||
'COS', 'COMBINED-DATETIME', 'CONCATENATE', 'CURRENT-DATE',
|
||||
'DATE-OF-INTEGER', 'DATE-TO-YYYYMMDD', 'DAY-TO-YYYYDDD',
|
||||
'DAY-OF-INTEGER', 'DISPLAY-OF', 'E', 'EXCEPTION-FILE',
|
||||
'EXCEPTION-FILE-N', 'EXCEPTION-LOCATION',
|
||||
'EXCEPTION-LOCATION-N', 'EXCEPTION-STATEMENT', 'EXCEPTION-STATUS',
|
||||
'EXP', 'EXP10', 'FACTORIAL', 'FORMATTED-CURRENT-DATE',
|
||||
'FORMATTED-DATE', 'FORMATTED-DATETIME', 'FORMATTED-TIME',
|
||||
'FRACTION-PART', 'HIGHEST-ALGEBRAIC', 'INTEGER',
|
||||
'INTEGER-OF-BOOLEAN', 'INTEGER-OF-DATE', 'INTEGER-OF-DAY',
|
||||
'INTEGER-OF-FORMATTED-DATE', 'INTEGER-PART', 'LENGTH',
|
||||
'LOCALE-COMPARE',
|
||||
'LOCALE-DATE', 'LOCALE-TIME', 'LOCALE-TIME-FROM-SECONDS',
|
||||
'LOCALE-TIME-FROM-SECS', 'LOG',
|
||||
'LOG10', 'LOWER-CASE', 'LOWEST-ALGEBRAIC',
|
||||
'MAX', 'MEAN', 'MEDIAN', 'MIDRANGE',
|
||||
'MIN', 'MOD', 'NATIONAL-OF', 'NUMVAL', 'NUMVAL-C', 'NUMVAL-F',
|
||||
'ORD', 'ORD-MAX', 'ORD-MIN',
|
||||
'PI', 'PRESENT-VALUE', 'RANDOM', 'RANGE', 'REM', 'REVERSE',
|
||||
'SECONDS-FROM-FORMATTED-TIME', 'SIGN', 'SIN', 'SQRT',
|
||||
'SECONDS-PAST-MIDNIGHT', 'STANDARD-DEVIATION', 'STANDARD-COMPARE',
|
||||
'STORED-CHAR-LENGTH',
|
||||
'SUBSTITUTE', 'SUBSTITUE-CASE', 'SUM', 'TAN', 'TEST-DATE-YYYYMMDD',
|
||||
'TEST-DAY-YYYYDDD', 'TEST-FORMATTED-TIME', 'TEST-NUMVAL',
|
||||
'TEST-NUMVAL-C', 'TEST-NUMVAL-F',
|
||||
'TRIM', 'UPPER-CASE', 'VARIANCE', 'YEAR-TO-YYYY', 'WHEN-COMPILED'
|
||||
),
|
||||
5 => array( //Privileged Built-in Functions
|
||||
'#IN', '#OUT', '#TERM', '#TEMP', '#DYNAMIC', 'COBOL85^ARMTRAP',
|
||||
'COBOL85^COMPLETION', 'COBOL_COMPLETION_', 'COBOL_CONTROL_',
|
||||
'COBOL_GETENV_', 'COBOL_PUTENV_', 'COBOL85^RETURN^SORT^ERRORS',
|
||||
'COBOL_RETURN_SORT_ERRORS_', 'COBOL85^REWIND^SEQUENTIAL',
|
||||
'COBOL_REWIND_SEQUENTIAL_', 'COBOL85^SET^SORT^PARAM^TEXT',
|
||||
'COBOL_SET_SORT_PARAM_TEXT_', 'COBOL85^SET^SORT^PARAM^VALUE',
|
||||
'COBOL_SET_SORT_PARAM_VALUE_', 'COBOL_SET_MAX_RECORD_',
|
||||
'COBOL_SETMODE_', 'COBOL85^SPECIAL^OPEN', 'COBOL_SPECIAL_OPEN_',
|
||||
'COBOLASSIGN', 'COBOL_ASSIGN_', 'COBOLFILEINFO', 'COBOL_FILE_INFO_',
|
||||
'COBOLSPOOLOPEN', 'CREATEPROCESS', 'ALTERPARAMTEXT',
|
||||
'CHECKLOGICALNAME', 'CHECKMESSAGE', 'DELETEASSIGN', 'DELETEPARAM',
|
||||
'DELETESTARTUP', 'GETASSIGNTEXT', 'GETASSIGNVALUE', 'GETBACKUPCPU',
|
||||
'GETPARAMTEXT', 'GETSTARTUPTEXT', 'PUTASSIGNTEXT', 'PUTASSIGNVALUE',
|
||||
'PUTPARAMTEXT', 'PUTSTARTUPTEXT'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
//Avoid having - in identifiers marked as symbols
|
||||
' + ', ' - ', ' * ', ' / ', ' ** ',
|
||||
// Arithmetic and comparison operators must be surrounded by spaces.
|
||||
' + ', ' - ', ' * ', ' / ', ' ** ', ' ^ ',
|
||||
'.', ',',
|
||||
'=',
|
||||
' = ', ' < ', ' > ', ' >= ', ' <= ', ' <> ',
|
||||
'(', ')', '[', ']'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
|
@ -188,22 +397,19 @@ $language_data = array (
|
|||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000080; font-weight: bold;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #008000; font-weight: bold;',
|
||||
4 => 'color: #000080;',
|
||||
5 => 'color: #008000;',
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #008000; font-weight: bold;',
|
||||
3 => 'color: #000000; font-weight: bold;',
|
||||
4 => 'color: #9d7700;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #a0a0a0; font-style: italic;',
|
||||
'MULTI' => 'color: #a0a0a0; font-style: italic;'
|
||||
2 => 'color: #000080; font-weight: bold;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #339933;'
|
||||
|
@ -215,7 +421,7 @@ $language_data = array (
|
|||
0 => 'color: #993399;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;'
|
||||
1 => 'color: #800080;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000066;'
|
||||
|
@ -229,11 +435,11 @@ $language_data = array (
|
|||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => ''
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '::'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
|
@ -242,7 +448,10 @@ $language_data = array (
|
|||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![a-zA-Z0-9-\$_\|\#|^&])',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
|
144
serendipity_event_geshi/geshi/coffeescript.php
Normal file
144
serendipity_event_geshi/geshi/coffeescript.php
Normal file
|
@ -0,0 +1,144 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* coffeescript.php
|
||||
* ----------
|
||||
* Author: Trevor Burnham (trevorburnham@gmail.com)
|
||||
* Copyright: (c) 2010 Trevor Burnham (http://iterative.ly)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/08
|
||||
*
|
||||
* CoffeeScript language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/06/08 (1.0.8.9)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'CoffeeScript',
|
||||
'COMMENT_SINGLE' => array(1 => '#'),
|
||||
'COMMENT_MULTI' => array('###' => '###'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
//Longest quotemarks ALWAYS first
|
||||
'QUOTEMARKS' => array('"""', "'''", '"', "'"),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
|
||||
/*
|
||||
** Set 1: control keywords
|
||||
*/
|
||||
1 => array(
|
||||
'break', 'by', 'catch', 'continue', 'else', 'finally', 'for', 'in', 'of', 'if',
|
||||
'return', 'switch', 'then', 'throw', 'try', 'unless', 'when', 'while', 'until'
|
||||
),
|
||||
|
||||
/*
|
||||
** Set 2: logic keywords
|
||||
*/
|
||||
2 => array(
|
||||
'and', 'or', 'is', 'isnt', 'not'
|
||||
),
|
||||
|
||||
/*
|
||||
** Set 3: other keywords
|
||||
*/
|
||||
3 => array(
|
||||
'instanceof', 'new', 'delete', 'typeof',
|
||||
'class', 'super', 'this', 'extends'
|
||||
),
|
||||
|
||||
/*
|
||||
** Set 4: constants
|
||||
*/
|
||||
4 => array(
|
||||
'true', 'false', 'on', 'off', 'yes', 'no',
|
||||
'Infinity', 'NaN', 'undefined', 'null'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']', '{', '}', '*', '&', '|', '%', '!', ',', ';', '<', '>', '?', '`',
|
||||
'+', '-', '*', '/', '->', '=>', '<<', '>>', '@', ':', '^'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #ff7700;font-weight:bold;',
|
||||
2 => 'color: #008000;',
|
||||
3 => 'color: #dc143c;',
|
||||
4 => 'color: #0000cd;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080; font-style: italic;',
|
||||
'MULTI' => 'color: #808080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: black;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #483d8b;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #ff4500;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: black;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
0 => array(
|
||||
'<script type="text/coffeescript">' => '</script>'
|
||||
)
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
0 => true
|
||||
)
|
||||
);
|
|
@ -4,13 +4,16 @@
|
|||
* -------
|
||||
* Author: Iulian M
|
||||
* Copyright: (c) 2006 Iulian M
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/09/27
|
||||
*
|
||||
* C++ (with QT extensions) language file for GeSHi.
|
||||
* C++ (with Qt extensions) language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/06/28 (1.0.8.4)
|
||||
* - Updated list of Keywords from Qt 4.5
|
||||
*
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
*
|
||||
|
@ -38,14 +41,34 @@
|
|||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'C++ (QT)',
|
||||
'LANG_NAME' => 'C++ (Qt)',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
//Multiline-continued Singleline comments
|
||||
'COMMENT_REGEXP' => array(1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//C++ 11 string literal extensions
|
||||
3 => '/(?:L|u8?|U)(?=")/',
|
||||
//C++ 11 string literal extensions (raw)
|
||||
4 => '/R"([^()\s\\\\]*)\((?:(?!\)\\1").)*\)\\1"/ms'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[abfnrtv\\\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
|
@ -70,8 +93,10 @@ $language_data = array (
|
|||
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
|
||||
'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
|
||||
'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
|
||||
'static_cast', 'explicit', 'friend', 'wchar_t', 'typename', 'typeid', 'class' ,
|
||||
'foreach','connect', 'Q_OBJECT' , 'slots' , 'signals'
|
||||
'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class' ,
|
||||
'foreach','connect', 'Q_OBJECT' , 'slots' , 'signals', 'Q_SIGNALS', 'Q_SLOTS',
|
||||
'Q_FOREACH', 'QCOMPARE', 'QVERIFY', 'qDebug', 'kDebug', 'QBENCHMARK',
|
||||
'SIGNAL', 'SLOT', 'emit'
|
||||
),
|
||||
3 => array(
|
||||
'cin', 'cerr', 'clog', 'cout',
|
||||
|
@ -100,106 +125,404 @@ $language_data = array (
|
|||
'register', 'short', 'shortint', 'signed', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
||||
'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t'
|
||||
),
|
||||
5 => array(
|
||||
'QAbstractButton','QDir','QIntValidator','QRegExpValidator','QTabWidget','QAbstractEventDispatcher',
|
||||
'QDirectPainter','QIODevice','QRegion','QTcpServer','QAbstractExtensionFactory','QDirModel',
|
||||
'QItemDelegate','QResizeEvent','QTcpSocket','QAbstractExtensionManager','QDockWidget',
|
||||
'QItemEditorCreatorBase','QResource','QTemporaryFile','QAbstractFileEngine','QDomAttr',
|
||||
'QItemEditorFactory','QRubberBand','QTestEventList','QAbstractFileEngineHandler','QDomCDATASection',
|
||||
'QItemSelection','QScreen','QTextBlock','QAbstractFormBuilder','QDomCharacterData','QItemSelectionModel',
|
||||
'QScreenCursor','QTextBlockFormat','QAbstractGraphicsShapeItem','QDomComment','QItemSelectionRange',
|
||||
'QScreenDriverFactory','QTextBlockGroup','QAbstractItemDelegate','QDomDocument','QKbdDriverFactory',
|
||||
'QScreenDriverPlugin','QTextBlockUserData','QAbstractItemModel','QDomDocumentFragment','QKbdDriverPlugin',
|
||||
'QScrollArea','QTextBrowser','QAbstractItemView','QDomDocumentType','QKeyEvent','QScrollBar',
|
||||
'QTextCharFormat','QAbstractListModel','QDomElement','QKeySequence','QSemaphore','QTextCodec',
|
||||
'QAbstractPrintDialog','QDomEntity','QLabel','QSessionManager','QTextCodecPlugin','QAbstractProxyModel',
|
||||
'QDomEntityReference','QLatin1Char','QSet','QTextCursor','QAbstractScrollArea','QDomImplementation',
|
||||
'QLatin1String','QSetIterator','QTextDecoder','QAbstractSlider','QDomNamedNodeMap','QLayout','QSettings',
|
||||
'QTextDocument','QAbstractSocket','QDomNode','QLayoutItem','QSharedData','QTextDocumentFragment',
|
||||
'QAbstractSpinBox','QDomNodeList','QLCDNumber','QSharedDataPointer','QTextEdit','QAbstractTableModel',
|
||||
'QDomNotation','QLibrary','QShortcut','QTextEncoder','QAbstractTextDocumentLayout',
|
||||
'QDomProcessingInstruction','QLibraryInfo','QShortcutEvent','QTextFormat','QAccessible','QDomText',
|
||||
'QLine','QShowEvent','QTextFragment','QAccessibleBridge','QDoubleSpinBox','QLinearGradient',
|
||||
'QSignalMapper','QTextFrame','QAccessibleBridgePlugin','QDoubleValidator','QLineEdit','QSignalSpy',
|
||||
'QTextFrameFormat','QAccessibleEvent','QDrag','QLineF','QSize','QTextImageFormat','QAccessibleInterface',
|
||||
'QDragEnterEvent','QLinkedList','QSizeF','QTextInlineObject','QAccessibleObject','QDragLeaveEvent',
|
||||
'QLinkedListIterator','QSizeGrip','QTextLayout','QAccessiblePlugin','QDragMoveEvent','QLinuxFbScreen',
|
||||
'QSizePolicy','QTextLength','QAccessibleWidget','QDropEvent','QList','QSlider','QTextLine','QAction',
|
||||
'QDynamicPropertyChangeEvent','QListIterator','QSocketNotifier','QTextList','QActionEvent','QErrorMessage',
|
||||
'QListView','QSortFilterProxyModel','QTextListFormat','QActionGroup','QEvent','QListWidget','QSound',
|
||||
'QTextObject','QApplication','QEventLoop','QListWidgetItem','QSpacerItem','QTextOption','QAssistantClient',
|
||||
'QExtensionFactory','QLocale','QSpinBox','QTextStream','QAxAggregated','QExtensionManager',
|
||||
'QMacPasteboardMime','QSplashScreen','QTextTable','QAxBase','QFile','QMacStyle','QSplitter',
|
||||
'QTextTableCell','QAxBindable','QFileDialog','QMainWindow','QSplitterHandle','QTextTableFormat',
|
||||
'QAxFactory','QFileIconProvider','QMap','QSqlDatabase','QThread','QAxObject','QFileInfo','QMapIterator',
|
||||
'QSqlDriver','QThreadStorage','QAxScript','QFileOpenEvent','QMatrix','QSqlDriverCreator','QTime',
|
||||
'QAxScriptEngine','QFileSystemWatcher','QMenu','QSqlDriverCreatorBase','QTimeEdit','QAxScriptManager',
|
||||
'QFlag','QMenuBar','QSqlDriverPlugin','QTimeLine','QAxWidget','QFlags','QMessageBox','QSqlError','QTimer',
|
||||
'QBasicTimer','QFocusEvent','QMetaClassInfo','QSqlField','QTimerEvent','QBitArray','QFocusFrame',
|
||||
'QMetaEnum','QSqlIndex','QToolBar','QBitmap','QFont','QMetaMethod','QSqlQuery','QToolBox','QBoxLayout',
|
||||
'QFontComboBox','QMetaObject','QSqlQueryModel','QToolButton','QBrush','QFontDatabase','QMetaProperty',
|
||||
'QSqlRecord','QToolTip','QBuffer','QFontDialog','QMetaType','QSqlRelation','QTransformedScreen',
|
||||
'QButtonGroup','QFontInfo','QMimeData','QSqlRelationalDelegate','QTranslator','QByteArray','QFontMetrics',
|
||||
'QMimeSource','QSqlRelationalTableModel','QTreeView','QByteArrayMatcher','QFontMetricsF','QModelIndex',
|
||||
'QSqlResult','QTreeWidget','QCache','QFormBuilder','QMotifStyle','QSqlTableModel','QTreeWidgetItem',
|
||||
'QCalendarWidget','QFrame','QMouseDriverFactory','QStack','QTreeWidgetItemIterator','QCDEStyle',
|
||||
'QFSFileEngine','QMouseDriverPlugin','QStackedLayout','QUdpSocket','QChar','QFtp','QMouseEvent',
|
||||
'QStackedWidget','QUiLoader','QCheckBox','QGenericArgument','QMoveEvent','QStandardItem','QUndoCommand',
|
||||
'QChildEvent','QGenericReturnArgument','QMovie','QStandardItemEditorCreator','QUndoGroup',
|
||||
'QCleanlooksStyle','QGLColormap','QMultiHash','QStandardItemModel','QUndoStack','QClipboard',
|
||||
'QGLContext','QMultiMap','QStatusBar','QUndoView','QCloseEvent','QGLFormat','QMutableHashIterator',
|
||||
'QStatusTipEvent','QUrl','QColor','QGLFramebufferObject','QMutableLinkedListIterator','QString',
|
||||
'QUrlInfo','QColorDialog','QGLPixelBuffer','QMutableListIterator','QStringList','QUuid','QColormap',
|
||||
'QGLWidget','QMutableMapIterator','QStringListModel','QValidator','QComboBox','QGradient',
|
||||
'QMutableSetIterator','QStringMatcher','QVariant','QCommonStyle','QGraphicsEllipseItem',
|
||||
'QMutableVectorIterator','QStyle','QVarLengthArray','QCompleter','QGraphicsItem','QMutex',
|
||||
'QStyleFactory','QVBoxLayout','QConicalGradient','QGraphicsItemAnimation','QMutexLocker',
|
||||
'QStyleHintReturn','QVector','QContextMenuEvent','QGraphicsItemGroup','QNetworkAddressEntry',
|
||||
'QStyleHintReturnMask','QVectorIterator','QCopChannel','QGraphicsLineItem','QNetworkInterface',
|
||||
'QStyleOption','QVFbScreen','QCoreApplication','QGraphicsPathItem','QNetworkProxy','QStyleOptionButton',
|
||||
'QVNCScreen','QCursor','QGraphicsPixmapItem','QObject','QStyleOptionComboBox','QWaitCondition',
|
||||
'QCustomRasterPaintDevice','QGraphicsPolygonItem','QObjectCleanupHandler','QStyleOptionComplex',
|
||||
'QWhatsThis','QDataStream','QGraphicsRectItem','QPageSetupDialog','QStyleOptionDockWidget',
|
||||
'QWhatsThisClickedEvent','QDataWidgetMapper','QGraphicsScene','QPaintDevice','QStyleOptionFocusRect',
|
||||
'QWheelEvent','QDate','QGraphicsSceneContextMenuEvent','QPaintEngine','QStyleOptionFrame','QWidget',
|
||||
'QDateEdit','QGraphicsSceneEvent','QPaintEngineState','QStyleOptionFrameV2','QWidgetAction','QDateTime',
|
||||
'QGraphicsSceneHoverEvent','QPainter','QStyleOptionGraphicsItem','QWidgetItem','QDateTimeEdit',
|
||||
'QGraphicsSceneMouseEvent','QPainterPath','QStyleOptionGroupBox','QWindowsMime','QDBusAbstractAdaptor',
|
||||
'QGraphicsSceneWheelEvent','QPainterPathStroker','QStyleOptionHeader','QWindowsStyle',
|
||||
'QDBusAbstractInterface','QGraphicsSimpleTextItem','QPaintEvent','QStyleOptionMenuItem',
|
||||
'QWindowStateChangeEvent','QDBusArgument','QGraphicsSvgItem','QPair','QStyleOptionProgressBar',
|
||||
'QWindowsXPStyle','QDBusConnection','QGraphicsTextItem','QPalette','QStyleOptionProgressBarV2',
|
||||
'QWorkspace','QDBusConnectionInterface','QGraphicsView','QPen','QStyleOptionQ3DockWindow','QWriteLocker',
|
||||
'QDBusError','QGridLayout','QPersistentModelIndex','QStyleOptionQ3ListView','QWSCalibratedMouseHandler',
|
||||
'QDBusInterface','QGroupBox','QPicture','QStyleOptionQ3ListViewItem','QWSClient','QDBusMessage','QHash',
|
||||
'QPictureFormatPlugin','QStyleOptionRubberBand','QWSEmbedWidget','QDBusObjectPath','QHashIterator',
|
||||
'QPictureIO','QStyleOptionSizeGrip','QWSEvent','QDBusReply','QHBoxLayout','QPixmap','QStyleOptionSlider',
|
||||
'QWSInputMethod','QDBusServer','QHeaderView','QPixmapCache','QStyleOptionSpinBox','QWSKeyboardHandler',
|
||||
'QDBusSignature','QHelpEvent','QPlastiqueStyle','QStyleOptionTab','QWSMouseHandler','QDBusVariant',
|
||||
'QHideEvent','QPluginLoader','QStyleOptionTabBarBase','QWSPointerCalibrationData','QDecoration',
|
||||
'QHostAddress','QPoint','QStyleOptionTabV2','QWSScreenSaver','QDecorationFactory','QHostInfo','QPointer',
|
||||
'QStyleOptionTabWidgetFrame','QWSServer','QDecorationPlugin','QHoverEvent','QPointF','QStyleOptionTitleBar',
|
||||
'QWSTslibMouseHandler','QDesignerActionEditorInterface','QHttp','QPolygon','QStyleOptionToolBar','QWSWindow',
|
||||
'QDesignerContainerExtension','QHttpHeader','QPolygonF','QStyleOptionToolBox','QWSWindowSurface',
|
||||
'QDesignerCustomWidgetCollectionInterface','QHttpRequestHeader','QPrintDialog','QStyleOptionToolButton',
|
||||
'QX11EmbedContainer','QDesignerCustomWidgetInterface','QHttpResponseHeader','QPrintEngine',
|
||||
'QStyleOptionViewItem','QX11EmbedWidget','QDesignerFormEditorInterface','QIcon','QPrinter',
|
||||
'QStyleOptionViewItemV2','QX11Info','QDesignerFormWindowCursorInterface','QIconDragEvent','QProcess',
|
||||
'QStylePainter','QXmlAttributes','QDesignerFormWindowInterface','QIconEngine','QProgressBar',
|
||||
'QStylePlugin','QXmlContentHandler','QDesignerFormWindowManagerInterface','QIconEnginePlugin',
|
||||
'QProgressDialog','QSvgRenderer','QXmlDeclHandler','QDesignerMemberSheetExtension','QImage',
|
||||
'QProxyModel','QSvgWidget','QXmlDefaultHandler','QDesignerObjectInspectorInterface','QImageIOHandler',
|
||||
'QPushButton','QSyntaxHighlighter','QXmlDTDHandler','QDesignerPropertyEditorInterface','QImageIOPlugin',
|
||||
'QQueue','QSysInfo','QXmlEntityResolver','QDesignerPropertySheetExtension','QImageReader','QRadialGradient',
|
||||
'QSystemLocale','QXmlErrorHandler','QDesignerTaskMenuExtension','QImageWriter','QRadioButton',
|
||||
'QSystemTrayIcon','QXmlInputSource','QDesignerWidgetBoxInterface','QInputContext','QRasterPaintEngine',
|
||||
'QTabBar','QXmlLexicalHandler','QDesktopServices','QInputContextFactory','QReadLocker','QTabletEvent',
|
||||
'QXmlLocator','QDesktopWidget','QInputContextPlugin','QReadWriteLock','QTableView','QXmlNamespaceSupport',
|
||||
'QDial','QInputDialog','QRect','QTableWidget','QXmlParseException','QDialog','QInputEvent','QRectF',
|
||||
'QTableWidgetItem','QXmlReader','QDialogButtonBox','QInputMethodEvent','QRegExp',
|
||||
'QTableWidgetSelectionRange','QXmlSimpleReader'
|
||||
'Q_INT8', 'Q_INT16', 'Q_INT32', 'Q_INT64', 'Q_LLONG', 'Q_LONG',
|
||||
'Q_UINT8', 'Q_UINT16', 'Q_UINT32', 'Q_UINT64', 'Q_ULLONG', 'Q_ULONG',
|
||||
|
||||
'QAbstractAnimation', 'QAbstractButton', 'QAbstractEventDispatcher',
|
||||
'QAbstractExtensionFactory', 'QAbstractExtensionManager',
|
||||
'QAbstractFormBuilder', 'QAbstractGraphicsShapeItem',
|
||||
'QAbstractItemDelegate', 'QAbstractItemModel', 'QAbstractItemView',
|
||||
'QAbstractListModel', 'QAbstractMessageHandler',
|
||||
'QAbstractNativeEventFilter', 'QAbstractNetworkCache',
|
||||
'QAbstractOpenGLFunctions', 'QAbstractPlanarVideoBuffer',
|
||||
'QAbstractPrintDialog', 'QAbstractProxyModel', 'QAbstractScrollArea',
|
||||
'QAbstractSlider', 'QAbstractSocket', 'QAbstractSpinBox',
|
||||
'QAbstractState', 'QAbstractTableModel',
|
||||
'QAbstractTextDocumentLayout', 'QAbstractTransition',
|
||||
'QAbstractUriResolver', 'QAbstractVideoBuffer',
|
||||
'QAbstractVideoSurface', 'QAbstractXmlNodeModel',
|
||||
'QAbstractXmlReceiver', 'QAccelerometer', 'QAccelerometerFilter',
|
||||
'QAccelerometerReading', 'QAccessible', 'QAccessibleActionInterface',
|
||||
'QAccessibleEditableTextInterface', 'QAccessibleEvent',
|
||||
'QAccessibleInterface', 'QAccessibleObject', 'QAccessiblePlugin',
|
||||
'QAccessibleStateChangeEvent', 'QAccessibleTableCellInterface',
|
||||
'QAccessibleTableInterface', 'QAccessibleTableModelChangeEvent',
|
||||
'QAccessibleTextCursorEvent', 'QAccessibleTextInsertEvent',
|
||||
'QAccessibleTextInterface', 'QAccessibleTextRemoveEvent',
|
||||
'QAccessibleTextSelectionEvent', 'QAccessibleTextUpdateEvent',
|
||||
'QAccessibleValueChangeEvent', 'QAccessibleValueInterface',
|
||||
'QAccessibleWidget', 'QAction', 'QActionEvent', 'QActionGroup',
|
||||
'QAltimeter', 'QAltimeterFilter', 'QAltimeterReading',
|
||||
'QAmbientLightFilter','QAmbientLightReading', 'QAmbientLightSensor',
|
||||
'QAmbientTemperatureFilter', 'QAmbientTemperatureReading',
|
||||
'QAmbientTemperatureSensor', 'QAndroidActivityResultReceiver',
|
||||
'QAndroidJniEnvironment', 'QAndroidJniObject', 'QAnimationGroup',
|
||||
'QApplication', 'QAssociativeIterable', 'QAtomicInt',
|
||||
'QAtomicInteger', 'QAtomicPointer', 'QAudioBuffer', 'QAudioDecoder',
|
||||
'QAudioDecoderControl', 'QAudioDeviceInfo', 'QAudioEncoderSettings',
|
||||
'QAudioEncoderSettingsControl', 'QAudioFormat', 'QAudioInput',
|
||||
'QAudioInputSelectorControl', 'QAudioOutput',
|
||||
'QAudioOutputSelectorControl', 'QAudioProbe', 'QAudioRecorder',
|
||||
'QAuthenticator', 'QAxAggregated', 'QAxBase', 'QAxBindable',
|
||||
'QAxFactory', 'QAxObject', 'QAxScript', 'QAxScriptEngine',
|
||||
'QAxScriptManager', 'QAxSelect', 'QAxWidget', 'QBackingStore',
|
||||
'QBasicTimer', 'QBitArray', 'QBitmap', 'QBluetoothAddress',
|
||||
'QBluetoothDeviceDiscoveryAgent', 'QBluetoothDeviceInfo',
|
||||
'QBluetoothHostInfo', 'QBluetoothLocalDevice', 'QBluetoothServer',
|
||||
'QBluetoothServiceDiscoveryAgent', 'QBluetoothServiceInfo',
|
||||
'QBluetoothSocket', 'QBluetoothTransferManager',
|
||||
'QBluetoothTransferReply', 'QBluetoothTransferRequest',
|
||||
'QBluetoothUuid', 'QBoxLayout', 'QBrush', 'QBuffer', 'QButtonGroup',
|
||||
'QByteArray', 'QByteArrayList', 'QByteArrayMatcher', 'QCache',
|
||||
'QCalendarWidget', 'QCamera', 'QCameraCaptureBufferFormatControl',
|
||||
'QCameraCaptureDestinationControl', 'QCameraControl',
|
||||
'QCameraExposure', 'QCameraExposureControl', 'QCameraFeedbackControl',
|
||||
'QCameraFlashControl', 'QCameraFocus', 'QCameraFocusControl',
|
||||
'QCameraFocusZone', 'QCameraImageCapture',
|
||||
'QCameraImageCaptureControl', 'QCameraImageProcessing',
|
||||
'QCameraImageProcessingControl', 'QCameraInfo', 'QCameraInfoControl',
|
||||
'QCameraLocksControl', 'QCameraViewfinder',
|
||||
'QCameraViewfinderSettingsControl', 'QCameraZoomControl', 'QChar',
|
||||
'QCheckBox', 'QChildEvent', 'QClipboard', 'QCloseEvent',
|
||||
'QCocoaNativeContext', 'QCollator', 'QCollatorSortKey', 'QColor',
|
||||
'QColorDialog', 'QColormap', 'QColumnView', 'QComboBox',
|
||||
'QCommandLineOption', 'QCommandLineParser', 'QCommandLinkButton',
|
||||
'QCommonStyle', 'QCompass', 'QCompassFilter', 'QCompassReading',
|
||||
'QCompleter', 'QConicalGradient', 'QContextMenuEvent',
|
||||
'QContiguousCache', 'QCoreApplication', 'QCryptographicHash',
|
||||
'QCursor', 'QDBusAbstractAdaptor', 'QDBusAbstractInterface',
|
||||
'QDBusArgument', 'QDBusConnection', 'QDBusConnectionInterface',
|
||||
'QDBusContext', 'QDBusError', 'QDBusInterface', 'QDBusMessage',
|
||||
'QDBusObjectPath', 'QDBusPendingCall', 'QDBusPendingCallWatcher',
|
||||
'QDBusPendingReply', 'QDBusReply', 'QDBusServer',
|
||||
'QDBusServiceWatcher', 'QDBusSignature', 'QDBusUnixFileDescriptor',
|
||||
'QDBusVariant', 'QDBusVirtualObject', 'QDataStream',
|
||||
'QDataWidgetMapper', 'QDate', 'QDateEdit', 'QDateTime',
|
||||
'QDateTimeEdit', 'QDebug', 'QDebugStateSaver',
|
||||
'QDesignerActionEditorInterface', 'QDesignerContainerExtension',
|
||||
'QDesignerCustomWidgetCollectionInterface',
|
||||
'QDesignerCustomWidgetInterface',
|
||||
'QDesignerDynamicPropertySheetExtension',
|
||||
'QDesignerFormEditorInterface', 'QDesignerFormWindowCursorInterface',
|
||||
'QDesignerFormWindowInterface', 'QDesignerFormWindowManagerInterface',
|
||||
'QDesignerMemberSheetExtension', 'QDesignerObjectInspectorInterface',
|
||||
'QDesignerPropertyEditorInterface', 'QDesignerPropertySheetExtension',
|
||||
'QDesignerTaskMenuExtension', 'QDesignerWidgetBoxInterface',
|
||||
'QDesktopServices', 'QDesktopWidget', 'QDial', 'QDialog',
|
||||
'QDialogButtonBox', 'QDir', 'QDirIterator', 'QDirModel',
|
||||
'QDistanceFilter', 'QDistanceReading', 'QDistanceSensor',
|
||||
'QDnsDomainNameRecord', 'QDnsHostAddressRecord', 'QDnsLookup',
|
||||
'QDnsMailExchangeRecord', 'QDnsServiceRecord', 'QDnsTextRecord',
|
||||
'QDockWidget', 'QDomAttr', 'QDomCDATASection', 'QDomCharacterData',
|
||||
'QDomComment', 'QDomDocument', 'QDomDocumentFragment',
|
||||
'QDomDocumentType', 'QDomElement', 'QDomEntity', 'QDomEntityReference',
|
||||
'QDomImplementation', 'QDomNamedNodeMap', 'QDomNode', 'QDomNodeList',
|
||||
'QDomNotation', 'QDomProcessingInstruction', 'QDomText',
|
||||
'QDoubleSpinBox', 'QDoubleValidator', 'QDrag', 'QDragEnterEvent',
|
||||
'QDragLeaveEvent', 'QDragMoveEvent', 'QDropEvent',
|
||||
'QDynamicPropertyChangeEvent', 'EnginioClient',
|
||||
'EnginioClientConnection', 'EnginioIdentity', 'EnginioModel',
|
||||
'EnginioOAuth2Authentication', 'EnginioReply', 'QEGLNativeContext',
|
||||
'QEasingCurve', 'QEglFSFunctions', 'QElapsedTimer',
|
||||
'QEnableSharedFromThis', 'QEnterEvent', 'QErrorMessage', 'QEvent',
|
||||
'QEventLoop', 'QEventLoopLocker', 'QEventTransition', 'QException',
|
||||
'QExplicitlySharedDataPointer', 'QExposeEvent', 'QExtensionFactory',
|
||||
'QExtensionManager', 'QFile', 'QFileDevice', 'QFileDialog',
|
||||
'QFileIconProvider', 'QFileInfo', 'QFileOpenEvent', 'QFileSelector',
|
||||
'QFileSystemModel', 'QFileSystemWatcher', 'QFinalState', 'QFlag',
|
||||
'QFlags', 'QFocusEvent', 'QFocusFrame', 'QFont', 'QFontComboBox',
|
||||
'QFontDatabase', 'QFontDialog', 'QFontInfo', 'QFontMetrics',
|
||||
'QFontMetricsF', 'QFormBuilder', 'QFormLayout', 'QFrame', 'QFuture',
|
||||
'QFutureIterator', 'QFutureSynchronizer', 'QFutureWatcher',
|
||||
'QGLBuffer', 'QGLColormap', 'QGLContext', 'QGLFormat',
|
||||
'QGLFramebufferObject', 'QGLFramebufferObjectFormat', 'QGLFunctions',
|
||||
'QGLPixelBuffer', 'QGLShader', 'QGLShaderProgram', 'QGLWidget',
|
||||
'QGLXNativeContext', 'QGenericArgument', 'QGenericMatrix',
|
||||
'QGenericPlugin', 'QGenericPluginFactory', 'QGenericReturnArgument',
|
||||
'QGeoAddress', 'QGeoAreaMonitorInfo', 'QGeoAreaMonitorSource',
|
||||
'QGeoCircle', 'QGeoCodeReply', 'QGeoCodingManager',
|
||||
'QGeoCodingManagerEngine', 'QGeoCoordinate', 'QGeoLocation',
|
||||
'QGeoManeuver', 'QGeoPositionInfo', 'QGeoPositionInfoSource',
|
||||
'QGeoPositionInfoSourceFactory', 'QGeoRectangle', 'QGeoRoute',
|
||||
'QGeoRouteReply', 'QGeoRouteRequest', 'QGeoRouteSegment',
|
||||
'QGeoRoutingManager', 'QGeoRoutingManagerEngine',
|
||||
'QGeoSatelliteInfo', 'QGeoSatelliteInfoSource',
|
||||
'QGeoServiceProvider', 'QGeoServiceProviderFactory', 'QGeoShape',
|
||||
'QGesture', 'QGestureEvent', 'QGestureRecognizer', 'QGlobalStatic',
|
||||
'QGlyphRun', 'QGradient', 'QGraphicsAnchor', 'QGraphicsAnchorLayout',
|
||||
'QGraphicsBlurEffect', 'QGraphicsColorizeEffect',
|
||||
'QGraphicsDropShadowEffect', 'QGraphicsEffect',
|
||||
'QGraphicsEllipseItem', 'QGraphicsGridLayout', 'QGraphicsItem',
|
||||
'QGraphicsItemAnimation', 'QGraphicsItemGroup', 'QGraphicsLayout',
|
||||
'QGraphicsLayoutItem', 'QGraphicsLineItem', 'QGraphicsLinearLayout',
|
||||
'QGraphicsObject', 'QGraphicsOpacityEffect', 'QGraphicsPathItem',
|
||||
'QGraphicsPixmapItem', 'QGraphicsPolygonItem',
|
||||
'QGraphicsProxyWidget', 'QGraphicsRectItem', 'QGraphicsRotation',
|
||||
'QGraphicsScale', 'QGraphicsScene', 'QGraphicsSceneContextMenuEvent',
|
||||
'QGraphicsSceneDragDropEvent', 'QGraphicsSceneEvent',
|
||||
'QGraphicsSceneHelpEvent', 'QGraphicsSceneHoverEvent',
|
||||
'QGraphicsSceneMouseEvent', 'QGraphicsSceneMoveEvent',
|
||||
'QGraphicsSceneResizeEvent', 'QGraphicsSceneWheelEvent',
|
||||
'QGraphicsSimpleTextItem', 'QGraphicsSvgItem', 'QGraphicsTextItem',
|
||||
'QGraphicsTransform', 'QGraphicsVideoItem', 'QGraphicsView',
|
||||
'QGraphicsWebView', 'QGraphicsWidget', 'QGridLayout', 'QGroupBox',
|
||||
'QGuiApplication', 'QGyroscope', 'QGyroscopeFilter',
|
||||
'QGyroscopeReading', 'QHBoxLayout', 'QHash', 'QHashIterator',
|
||||
'QHeaderView', 'QHelpContentItem', 'QHelpContentModel',
|
||||
'QHelpContentWidget', 'QHelpEngine', 'QHelpEngineCore', 'QHelpEvent',
|
||||
'QHelpIndexModel', 'QHelpIndexWidget', 'QHelpSearchEngine',
|
||||
'QHelpSearchQuery', 'QHelpSearchQueryWidget',
|
||||
'QHelpSearchResultWidget', 'QHideEvent', 'QHistoryState',
|
||||
'QHolsterFilter', 'QHolsterReading', 'QHolsterSensor',
|
||||
'QHostAddress', 'QHostInfo', 'QHoverEvent', 'QHttpMultiPart',
|
||||
'QHttpPart', 'QIODevice', 'QIRProximityFilter', 'QIRProximityReading',
|
||||
'QIRProximitySensor', 'QIcon', 'QIconDragEvent', 'QIconEngine',
|
||||
'QIconEnginePlugin', 'QIdentityProxyModel', 'QImage',
|
||||
'QImageEncoderControl', 'QImageEncoderSettings', 'QImageIOHandler',
|
||||
'QImageIOPlugin', 'QImageReader', 'QImageWriter', 'QInputDialog',
|
||||
'QInputEvent', 'QInputMethod', 'QInputMethodEvent',
|
||||
'QInputMethodQueryEvent', 'QIntValidator', 'QItemDelegate',
|
||||
'QItemEditorCreator', 'QItemEditorCreatorBase', 'QItemEditorFactory',
|
||||
'QItemSelection', 'QItemSelectionModel', 'QItemSelectionRange',
|
||||
'QJSEngine', 'QJSValue', 'QJSValueIterator', 'QJsonArray',
|
||||
'QJsonDocument', 'QJsonObject', 'QJsonParseError', 'QJsonValue',
|
||||
'QKeyEvent', 'QKeyEventTransition', 'QKeySequence', 'QKeySequenceEdit',
|
||||
'QLCDNumber', 'QLabel', 'QLatin1Char', 'QLatin1String', 'QLayout',
|
||||
'QLayoutItem', 'QLibrary', 'QLibraryInfo', 'QLightFilter',
|
||||
'QLightReading', 'QLightSensor', 'QLine', 'QLineEdit', 'QLineF',
|
||||
'QLinearGradient', 'QLinkedList', 'QLinkedListIterator', 'QList',
|
||||
'QListIterator', 'QListView', 'QListWidget', 'QListWidgetItem',
|
||||
'QLocalServer', 'QLocalSocket', 'QLocale', 'QLockFile',
|
||||
'QLoggingCategory', 'QLowEnergyCharacteristic',
|
||||
'QLowEnergyController', 'QLowEnergyDescriptor', 'QLowEnergyService',
|
||||
'QMacCocoaViewContainer', 'QMacNativeWidget', 'QMacPasteboardMime',
|
||||
'QMacToolBar', 'QMacToolBarItem', 'QMagnetometer',
|
||||
'QMagnetometerFilter', 'QMagnetometerReading', 'QMainWindow', 'QMap',
|
||||
'QMapIterator', 'QMargins', 'QMarginsF', 'QMaskGenerator', 'QMatrix',
|
||||
'QMatrix4x4', 'QMdiArea', 'QMdiSubWindow', 'QMediaAudioProbeControl',
|
||||
'QMediaAvailabilityControl', 'QMediaBindableInterface',
|
||||
'QMediaContainerControl', 'QMediaContent', 'QMediaControl',
|
||||
'QMediaGaplessPlaybackControl', 'QMediaNetworkAccessControl',
|
||||
'QMediaObject', 'QMediaPlayer', 'QMediaPlayerControl',
|
||||
'QMediaPlaylist', 'QMediaRecorder', 'QMediaRecorderControl',
|
||||
'QMediaResource', 'QMediaService', 'QMediaServiceCameraInfoInterface',
|
||||
'QMediaServiceFeaturesInterface', 'QMediaServiceProviderPlugin',
|
||||
'QMediaServiceSupportedDevicesInterface',
|
||||
'QMediaServiceSupportedFormatsInterface', 'QMediaStreamsControl',
|
||||
'QMediaTimeInterval', 'QMediaTimeRange', 'QMediaVideoProbeControl',
|
||||
'QMenu', 'QMenuBar', 'QMessageAuthenticationCode', 'QMessageBox',
|
||||
'QMessageLogContext', 'QMessageLogger', 'QMetaClassInfo',
|
||||
'QMetaDataReaderControl', 'QMetaDataWriterControl', 'QMetaEnum',
|
||||
'QMetaMethod', 'QMetaObject', 'QMetaProperty', 'QMetaType',
|
||||
'QMimeData', 'QMimeDatabase', 'QMimeType', 'QModelIndex',
|
||||
'QMouseEvent', 'QMouseEventTransition', 'QMoveEvent', 'QMovie',
|
||||
'QMultiHash', 'QMultiMap', 'QMutableHashIterator',
|
||||
'QMutableLinkedListIterator', 'QMutableListIterator',
|
||||
'QMutableMapIterator', 'QMutableSetIterator',
|
||||
'QMutableVectorIterator', 'QMutex', 'QMutexLocker',
|
||||
'QNativeGestureEvent', 'QNdefFilter', 'QNdefMessage',
|
||||
'QNdefNfcSmartPosterRecord', 'QNdefNfcTextRecord',
|
||||
'QNdefNfcUriRecord', 'QNdefRecord', 'QNearFieldManager',
|
||||
'QNearFieldShareManager', 'QNearFieldShareTarget', 'QNearFieldTarget',
|
||||
'QNetworkAccessManager', 'QNetworkAddressEntry',
|
||||
'QNetworkCacheMetaData', 'QNetworkConfiguration',
|
||||
'QNetworkConfigurationManager', 'QNetworkCookie', 'QNetworkCookieJar',
|
||||
'QNetworkDiskCache', 'QNetworkInterface', 'QNetworkProxy',
|
||||
'QNetworkProxyFactory', 'QNetworkProxyQuery', 'QNetworkReply',
|
||||
'QNetworkRequest', 'QNetworkSession', 'QNmeaPositionInfoSource',
|
||||
'QObject', 'QObjectCleanupHandler', 'QOffscreenSurface',
|
||||
'QOpenGLBuffer', 'QOpenGLContext', 'QOpenGLContextGroup',
|
||||
'QOpenGLDebugLogger', 'QOpenGLDebugMessage',
|
||||
'QOpenGLFramebufferObject', 'QOpenGLFramebufferObjectFormat',
|
||||
'QOpenGLFunctions', 'QOpenGLFunctions_1_0', 'QOpenGLFunctions_1_1',
|
||||
'QOpenGLFunctions_1_2', 'QOpenGLFunctions_1_3', 'QOpenGLFunctions_1_4',
|
||||
'QOpenGLFunctions_1_5', 'QOpenGLFunctions_2_0', 'QOpenGLFunctions_2_1',
|
||||
'QOpenGLFunctions_3_0', 'QOpenGLFunctions_3_1',
|
||||
'QOpenGLFunctions_3_2_Compatibility', 'QOpenGLFunctions_3_2_Core',
|
||||
'QOpenGLFunctions_3_3_Compatibility', 'QOpenGLFunctions_3_3_Core',
|
||||
'QOpenGLFunctions_4_0_Compatibility', 'QOpenGLFunctions_4_0_Core',
|
||||
'QOpenGLFunctions_4_1_Compatibility', 'QOpenGLFunctions_4_1_Core',
|
||||
'QOpenGLFunctions_4_2_Compatibility', 'QOpenGLFunctions_4_2_Core',
|
||||
'QOpenGLFunctions_4_3_Compatibility', 'QOpenGLFunctions_4_3_Core',
|
||||
'QOpenGLFunctions_ES2', 'QOpenGLPaintDevice',
|
||||
'QOpenGLPixelTransferOptions', 'QOpenGLShader',
|
||||
'QOpenGLShaderProgram', 'QOpenGLTexture', 'QOpenGLTimeMonitor',
|
||||
'QOpenGLTimerQuery', 'QOpenGLVersionProfile',
|
||||
'QOpenGLVertexArrayObject', 'QOpenGLWidget', 'QOpenGLWindow',
|
||||
'QOrientationFilter', 'QOrientationReading', 'QOrientationSensor',
|
||||
'QPageLayout', 'QPageSetupDialog', 'QPageSize', 'QPagedPaintDevice',
|
||||
'QPaintDevice', 'QPaintDeviceWindow', 'QPaintEngine',
|
||||
'QPaintEngineState', 'QPaintEvent', 'QPainter', 'QPainterPath',
|
||||
'QPainterPathStroker', 'QPair', 'QPalette', 'QPanGesture',
|
||||
'QParallelAnimationGroup', 'QPauseAnimation', 'QPdfWriter', 'QPen',
|
||||
'QPersistentModelIndex', 'QPicture', 'QPictureFormatPlugin',
|
||||
'QPictureIO', 'QPinchGesture', 'QPixelFormat', 'QPixmap',
|
||||
'QPixmapCache', 'QPlace', 'QPlaceAttribute', 'QPlaceCategory',
|
||||
'QPlaceContactDetail', 'QPlaceContent', 'QPlaceContentReply',
|
||||
'QPlaceContentRequest', 'QPlaceDetailsReply', 'QPlaceEditorial',
|
||||
'QPlaceIcon', 'QPlaceIdReply', 'QPlaceImage', 'QPlaceManager',
|
||||
'QPlaceManagerEngine', 'QPlaceMatchReply', 'QPlaceMatchRequest',
|
||||
'QPlaceProposedSearchResult', 'QPlaceRatings', 'QPlaceReply',
|
||||
'QPlaceResult', 'QPlaceReview', 'QPlaceSearchReply',
|
||||
'QPlaceSearchRequest', 'QPlaceSearchResult',
|
||||
'QPlaceSearchSuggestionReply', 'QPlaceSupplier', 'QPlaceUser',
|
||||
'QPlainTextDocumentLayout', 'QPlainTextEdit',
|
||||
'QPlatformSystemTrayIcon', 'QPluginLoader', 'QPoint', 'QPointF',
|
||||
'QPointer', 'QPolygon', 'QPolygonF', 'QPressureFilter',
|
||||
'QPressureReading', 'QPressureSensor', 'QPrintDialog', 'QPrintEngine',
|
||||
'QPrintPreviewDialog', 'QPrintPreviewWidget', 'QPrinter',
|
||||
'QPrinterInfo', 'QProcess', 'QProcessEnvironment', 'QProgressBar',
|
||||
'QProgressDialog', 'QPropertyAnimation', 'QProximityFilter',
|
||||
'QProximityReading', 'QProximitySensor', 'QProxyStyle',
|
||||
'QPushButton', 'QQmlAbstractProfilerAdapter',
|
||||
'QQmlAbstractUrlInterceptor', 'QQmlApplicationEngine',
|
||||
'QQmlComponent', 'QQmlContext', 'QQmlEngine', 'QQmlError',
|
||||
'QQmlExpression', 'QQmlExtensionPlugin', 'QQmlFileSelector',
|
||||
'QQmlImageProviderBase', 'QQmlIncubationController', 'QQmlIncubator',
|
||||
'QQmlListProperty', 'QQmlListReference', 'QQmlNdefRecord',
|
||||
'QQmlNetworkAccessManagerFactory', 'QQmlParserStatus', 'QQmlProperty',
|
||||
'QQmlPropertyMap', 'QQmlPropertyValueSource', 'QQmlScriptString',
|
||||
'QQuaternion', 'QQueue', 'QQuickFramebufferObject', 'QQuickImageProvider',
|
||||
'QQuickItem', 'QQuickItemGrabResult', 'QQuickPaintedItem',
|
||||
'QQuickRenderControl', 'QQuickTextDocument', 'QQuickTextureFactory',
|
||||
'QQuickView', 'QQuickWidget', 'QQuickWindow', 'QTouchEventSequence',
|
||||
'Qoutputrange', 'QRadialGradient', 'QRadioButton', 'QRadioData',
|
||||
'QRadioDataControl', 'QRadioTuner', 'QRadioTunerControl',
|
||||
'QRasterPaintEngine', 'QRasterWindow', 'QRawFont', 'QReadLocker',
|
||||
'QReadWriteLock', 'QRect', 'QRectF', 'QRegExp', 'QRegExpValidator',
|
||||
'QRegion', 'QRegularExpression', 'QRegularExpressionMatch',
|
||||
'QRegularExpressionMatchIterator', 'QRegularExpressionValidator',
|
||||
'QResizeEvent', 'QResource', 'QRotationFilter', 'QRotationReading',
|
||||
'QRotationSensor', 'QRubberBand', 'QRunnable', 'QSGAbstractRenderer',
|
||||
'QSGBasicGeometryNode', 'QSGClipNode', 'QSGDynamicTexture',
|
||||
'QSGEngine', 'QSGFlatColorMaterial', 'QSGGeometry', 'QSGGeometryNode',
|
||||
'QSGMaterial', 'QSGMaterialShader', 'QSGMaterialType', 'QSGNode',
|
||||
'QSGOpacityNode', 'QSGOpaqueTextureMaterial', 'QSGSimpleMaterial',
|
||||
'QSGSimpleMaterialShader', 'QSGSimpleRectNode',
|
||||
'QSGSimpleTextureNode', 'QSGTexture', 'QSGTextureMaterial',
|
||||
'QSGTextureProvider', 'QSGTransformNode', 'QSGVertexColorMaterial',
|
||||
'QSaveFile', 'QScopedArrayPointer', 'QScopedPointer',
|
||||
'QScopedValueRollback', 'QScreen', 'QScriptClass',
|
||||
'QScriptClassPropertyIterator', 'QScriptContext',
|
||||
'QScriptContextInfo', 'QScriptEngine', 'QScriptEngineAgent',
|
||||
'QScriptEngineDebugger', 'QScriptExtensionPlugin', 'QScriptProgram',
|
||||
'QScriptString', 'QScriptSyntaxCheckResult', 'QScriptValue',
|
||||
'QScriptValueIterator', 'QScriptable', 'QScrollArea', 'QScrollBar',
|
||||
'QScrollEvent', 'QScrollPrepareEvent', 'QScroller',
|
||||
'QScrollerProperties', 'QSemaphore', 'QSensor', 'QSensorBackend',
|
||||
'QSensorBackendFactory', 'QSensorChangesInterface', 'QSensorFilter',
|
||||
'QSensorGesture', 'QSensorGestureManager',
|
||||
'QSensorGesturePluginInterface', 'QSensorGestureRecognizer',
|
||||
'QSensorManager', 'QSensorPluginInterface', 'QSensorReading',
|
||||
'QSequentialAnimationGroup', 'QSequentialIterable', 'QSerialPort',
|
||||
'QSerialPortInfo', 'QSessionManager', 'QSet', 'QSetIterator',
|
||||
'QSettings', 'QSharedData', 'QSharedDataPointer', 'QSharedMemory',
|
||||
'QSharedPointer', 'QShortcut', 'QShortcutEvent', 'QShowEvent',
|
||||
'QSignalBlocker', 'QSignalMapper', 'QSignalSpy', 'QSignalTransition',
|
||||
'QSimpleXmlNodeModel', 'QSize', 'QSizeF', 'QSizeGrip', 'QSizePolicy',
|
||||
'QSlider', 'QSocketNotifier', 'QSortFilterProxyModel', 'QSound',
|
||||
'QSoundEffect', 'QSourceLocation', 'QSpacerItem', 'QSpinBox',
|
||||
'QSplashScreen', 'QSplitter', 'QSplitterHandle', 'QSqlDatabase',
|
||||
'QSqlDriver', 'QSqlDriverCreator', 'QSqlDriverCreatorBase',
|
||||
'QSqlDriverPlugin', 'QSqlError', 'QSqlField', 'QSqlIndex',
|
||||
'QSqlQuery', 'QSqlQueryModel', 'QSqlRecord', 'QSqlRelation',
|
||||
'QSqlRelationalDelegate', 'QSqlRelationalTableModel', 'QSqlResult',
|
||||
'QSqlTableModel', 'QSslCertificate', 'QSslCertificateExtension',
|
||||
'QSslCipher', 'QSslConfiguration', 'QSslError', 'QSslKey',
|
||||
'QSslSocket', 'QStack', 'QStackedLayout', 'QStackedWidget',
|
||||
'QStandardItem', 'QStandardItemEditorCreator', 'QStandardItemModel',
|
||||
'QStandardPaths', 'QState', 'QStateMachine', 'QStaticPlugin',
|
||||
'QStaticText', 'QStatusBar', 'QStatusTipEvent', 'QStorageInfo',
|
||||
'QString', 'QStringList', 'QStringListModel', 'QStringMatcher',
|
||||
'QStringRef', 'QStyle', 'QStyleFactory', 'QStyleHintReturn',
|
||||
'QStyleHintReturnMask', 'QStyleHintReturnVariant', 'QStyleHints',
|
||||
'QStyleOption', 'QStyleOptionButton', 'QStyleOptionComboBox',
|
||||
'QStyleOptionComplex', 'QStyleOptionDockWidget',
|
||||
'QStyleOptionFocusRect', 'QStyleOptionFrame',
|
||||
'QStyleOptionGraphicsItem', 'QStyleOptionGroupBox',
|
||||
'QStyleOptionHeader', 'QStyleOptionMenuItem',
|
||||
'QStyleOptionProgressBar', 'QStyleOptionRubberBand',
|
||||
'QStyleOptionSizeGrip', 'QStyleOptionSlider',
|
||||
'QStyleOptionSpinBox', 'QStyleOptionTab',
|
||||
'QStyleOptionTabBarBase', 'QStyleOptionTabWidgetFrame',
|
||||
'QStyleOptionTitleBar', 'QStyleOptionToolBar',
|
||||
'QStyleOptionToolBox', 'QStyleOptionToolButton',
|
||||
'QStyleOptionViewItem', 'QStylePainter', 'QStylePlugin',
|
||||
'QStyledItemDelegate', 'QSupportedWritingSystems', 'QSurface',
|
||||
'QSurfaceFormat', 'QSvgGenerator', 'QSvgRenderer', 'QSvgWidget',
|
||||
'QSwipeGesture', 'QSyntaxHighlighter', 'QSysInfo', 'QSystemSemaphore',
|
||||
'QSystemTrayIcon', 'QTabBar', 'QTabWidget', 'QTableView',
|
||||
'QTableWidget', 'QTableWidgetItem', 'QTableWidgetSelectionRange',
|
||||
'QTabletEvent', 'QTapAndHoldGesture', 'QTapFilter', 'QTapGesture',
|
||||
'QTapReading', 'QTapSensor', 'QTcpServer', 'QTcpSocket',
|
||||
'QTemporaryDir', 'QTemporaryFile', 'QTestEventList', 'QTextBlock',
|
||||
'QTextBlockFormat', 'QTextBlockGroup', 'QTextBlockUserData',
|
||||
'QTextBoundaryFinder', 'QTextBrowser', 'QTextCharFormat',
|
||||
'QTextCodec', 'QTextCursor', 'QTextDecoder', 'QTextDocument',
|
||||
'QTextDocumentFragment', 'QTextDocumentWriter', 'QTextEdit',
|
||||
'QTextEncoder', 'QTextFormat', 'QTextFragment', 'QTextFrame',
|
||||
'QTextFrameFormat', 'QTextImageFormat', 'QTextInlineObject',
|
||||
'QTextItem', 'QTextLayout', 'QTextLength', 'QTextLine', 'QTextList',
|
||||
'QTextListFormat', 'QTextObject', 'QTextObjectInterface',
|
||||
'QTextOption', 'QTextStream', 'QTextTable', 'QTextTableCell',
|
||||
'QTextTableCellFormat', 'QTextTableFormat', 'QThread', 'QThreadPool',
|
||||
'QThreadStorage', 'QTileRules', 'QTiltFilter', 'QTiltReading',
|
||||
'QTiltSensor', 'QTime', 'QTimeEdit', 'QTimeLine', 'QTimeZone',
|
||||
'QTimer', 'QTimerEvent', 'QToolBar', 'QToolBox', 'QToolButton',
|
||||
'QToolTip', 'QTouchDevice', 'QTouchEvent', 'QTransform',
|
||||
'QTranslator', 'QTreeView', 'QTreeWidget', 'QTreeWidgetItem',
|
||||
'QTreeWidgetItemIterator', 'QUdpSocket', 'QUiLoader', 'QUndoCommand',
|
||||
'QUndoGroup', 'QUndoStack', 'QUndoView', 'QUnhandledException',
|
||||
'QUrl', 'QUrlQuery', 'QUuid', 'QVBoxLayout', 'QValidator',
|
||||
'QVarLengthArray', 'QVariant', 'QVariantAnimation', 'QVector',
|
||||
'QVector2D', 'QVector3D', 'QVector4D', 'QVectorIterator',
|
||||
'QVideoDeviceSelectorControl', 'QVideoEncoderSettings',
|
||||
'QVideoEncoderSettingsControl', 'QVideoFrame', 'QVideoProbe',
|
||||
'QVideoRendererControl', 'QVideoSurfaceFormat', 'QVideoWidget',
|
||||
'QVideoWidgetControl', 'QVideoWindowControl', 'QWGLNativeContext',
|
||||
'QWaitCondition', 'QWeakPointer', 'QWebChannel',
|
||||
'QWebChannelAbstractTransport', 'QWebDatabase', 'QWebElement',
|
||||
'QWebElementCollection', 'QWebEngineHistory', 'QWebEngineHistoryItem',
|
||||
'QWebEnginePage', 'QWebEngineSettings', 'QWebEngineView', 'QWebFrame',
|
||||
'QWebHistory', 'QWebHistoryInterface', 'QWebHistoryItem',
|
||||
'QWebHitTestResult', 'QWebInspector', 'QWebPage', 'QWebPluginFactory',
|
||||
'QWebSecurityOrigin', 'QWebSettings', 'QWebSocket',
|
||||
'QWebSocketCorsAuthenticator', 'QWebSocketServer', 'QWebView',
|
||||
'QWhatsThis', 'QWhatsThisClickedEvent', 'QWheelEvent', 'QWidget',
|
||||
'QWidgetAction', 'QWidgetItem', 'QWinEventNotifier', 'QWinJumpList',
|
||||
'QWinJumpListCategory', 'QWinJumpListItem', 'QWinMime',
|
||||
'QWinTaskbarButton', 'QWinTaskbarProgress', 'QWinThumbnailToolBar',
|
||||
'QWinThumbnailToolButton', 'QWindow', 'QWindowStateChangeEvent',
|
||||
'QWizard', 'QWizardPage', 'QWriteLocker', 'QX11Info',
|
||||
'QXcbWindowFunctions', 'QXmlAttributes', 'QXmlContentHandler',
|
||||
'QXmlDTDHandler', 'QXmlDeclHandler', 'QXmlDefaultHandler',
|
||||
'QXmlEntityResolver','QXmlErrorHandler', 'QXmlFormatter',
|
||||
'QXmlInputSource', 'QXmlItem', 'QXmlLexicalHandler', 'QXmlLocator',
|
||||
'QXmlName', 'QXmlNamePool', 'QXmlNamespaceSupport',
|
||||
'QXmlNodeModelIndex', 'QXmlParseException', 'QXmlQuery',
|
||||
'QXmlReader', 'QXmlResultItems', 'QXmlSchema', 'QXmlSchemaValidator',
|
||||
'QXmlSerializer', 'QXmlSimpleReader', 'QXmlStreamAttribute',
|
||||
'QXmlStreamAttributes', 'QXmlStreamEntityDeclaration',
|
||||
'QXmlStreamEntityResolver', 'QXmlStreamNamespaceDeclaration',
|
||||
'QXmlStreamNotationDeclaration', 'QXmlStreamReader',
|
||||
'QXmlStreamWriter'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -207,10 +530,10 @@ $language_data = array (
|
|||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
|
@ -224,10 +547,18 @@ $language_data = array (
|
|||
'COMMENTS' => array(
|
||||
1 => 'color: #888888;',
|
||||
2 => 'color: #006E28;',
|
||||
3 => 'color: #BF0303;',
|
||||
4 => 'color: #BF0303;',
|
||||
'MULTI' => 'color: #888888; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #FF80E0; font-weight: bold;'
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #006E28;'
|
||||
|
@ -263,7 +594,7 @@ $language_data = array (
|
|||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://doc.trolltech.com/latest/{FNAMEL}.html'
|
||||
5 => 'http://qt-project.org/doc/latest/{FNAMEL}.html'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
|
@ -289,5 +620,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
836
serendipity_event_geshi/geshi/cpp-winapi.php
Normal file
836
serendipity_event_geshi/geshi/cpp-winapi.php
Normal file
|
@ -0,0 +1,836 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* cpp-winapi.php
|
||||
* -------
|
||||
* Author: Dennis Bayer (Dennis.Bayer@mnifh-giessen.de)
|
||||
* Contributors:
|
||||
* - M. Uli Kusterer (witness.of.teachtext@gmx.net)
|
||||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* - Benny Baumann (BenBE@geshi.org)
|
||||
* Copyright: (c) 2004 Dennis Bayer, Nigel McNie, 2012 Benny Baumann (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/09/27
|
||||
*
|
||||
* C++ language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/XX/XX (1.0.2)
|
||||
* - Added several new keywords (Jack Lloyd)
|
||||
* 2004/11/27 (1.0.1)
|
||||
* - Added StdCLib function and constant names, changed color scheme to
|
||||
* a cleaner one. (M. Uli Kusterer)
|
||||
* - Added support for multiple object splitters
|
||||
* 2004/10/27 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2004/11/27)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'C++ (WinAPI)',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//C++ 11 string literal extensions
|
||||
3 => '/(?:L|u8?|U)(?=")/',
|
||||
//C++ 11 string literal extensions (raw)
|
||||
4 => '/R"([^()\s\\\\]*)\((?:(?!\)\\1").)*\)\\1"/ms'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[abfnrtv\\\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'break', 'case', 'continue', 'default', 'do', 'else', 'for', 'goto', 'if', 'return',
|
||||
'switch', 'throw', 'while'
|
||||
),
|
||||
2 => array(
|
||||
'NULL', 'false', 'true', 'enum', 'errno', 'EDOM',
|
||||
'ERANGE', 'FLT_RADIX', 'FLT_ROUNDS', 'FLT_DIG', 'DBL_DIG', 'LDBL_DIG',
|
||||
'FLT_EPSILON', 'DBL_EPSILON', 'LDBL_EPSILON', 'FLT_MANT_DIG', 'DBL_MANT_DIG',
|
||||
'LDBL_MANT_DIG', 'FLT_MAX', 'DBL_MAX', 'LDBL_MAX', 'FLT_MAX_EXP', 'DBL_MAX_EXP',
|
||||
'LDBL_MAX_EXP', 'FLT_MIN', 'DBL_MIN', 'LDBL_MIN', 'FLT_MIN_EXP', 'DBL_MIN_EXP',
|
||||
'LDBL_MIN_EXP', 'CHAR_BIT', 'CHAR_MAX', 'CHAR_MIN', 'SCHAR_MAX', 'SCHAR_MIN',
|
||||
'UCHAR_MAX', 'SHRT_MAX', 'SHRT_MIN', 'USHRT_MAX', 'INT_MAX', 'INT_MIN',
|
||||
'UINT_MAX', 'LONG_MAX', 'LONG_MIN', 'ULONG_MAX', 'HUGE_VAL', 'SIGABRT',
|
||||
'SIGFPE', 'SIGILL', 'SIGINT', 'SIGSEGV', 'SIGTERM', 'SIG_DFL', 'SIG_ERR',
|
||||
'SIG_IGN', 'BUFSIZ', 'EOF', 'FILENAME_MAX', 'FOPEN_MAX', 'L_tmpnam',
|
||||
'SEEK_CUR', 'SEEK_END', 'SEEK_SET', 'TMP_MAX', 'stdin', 'stdout', 'stderr',
|
||||
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
|
||||
'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
|
||||
'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
|
||||
'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class'
|
||||
),
|
||||
3 => array(
|
||||
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this',
|
||||
'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
|
||||
'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
|
||||
'ispunct', 'isspace', 'isupper', 'isxdigit', 'tolower', 'toupper',
|
||||
'exp', 'log', 'log10', 'pow', 'sqrt', 'ceil', 'floor', 'fabs', 'ldexp',
|
||||
'frexp', 'modf', 'fmod', 'sin', 'cos', 'tan', 'asin', 'acos', 'atan', 'atan2',
|
||||
'sinh', 'cosh', 'tanh', 'setjmp', 'longjmp',
|
||||
'va_start', 'va_arg', 'va_end', 'offsetof', 'sizeof', 'fopen', 'freopen',
|
||||
'fflush', 'fclose', 'remove', 'rename', 'tmpfile', 'tmpname', 'setvbuf',
|
||||
'setbuf', 'vfprintf', 'vprintf', 'vsprintf', 'fscanf', 'scanf', 'sscanf',
|
||||
'fgetc', 'fgets', 'fputc', 'fputs', 'getc', 'getchar', 'gets', 'putc',
|
||||
'putchar', 'puts', 'ungetc', 'fread', 'fwrite', 'fseek', 'ftell', 'rewind',
|
||||
'fgetpos', 'fsetpos', 'clearerr', 'feof', 'ferror', 'perror', 'abs', 'labs',
|
||||
'div', 'ldiv', 'atof', 'atoi', 'atol', 'strtod', 'strtol', 'strtoul', 'calloc',
|
||||
'malloc', 'realloc', 'free', 'abort', 'exit', 'atexit', 'system', 'getenv',
|
||||
'bsearch', 'qsort', 'rand', 'srand', 'strcpy', 'strncpy', 'strcat', 'strncat',
|
||||
'strcmp', 'strncmp', 'strcoll', 'strchr', 'strrchr', 'strspn', 'strcspn',
|
||||
'strpbrk', 'strstr', 'strlen', 'strerror', 'strtok', 'strxfrm', 'memcpy',
|
||||
'memmove', 'memcmp', 'memchr', 'memset', 'clock', 'time', 'difftime', 'mktime',
|
||||
'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
|
||||
),
|
||||
4 => array(
|
||||
'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
|
||||
'register', 'short', 'shortint', 'signed', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
||||
'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t'
|
||||
),
|
||||
// Public API
|
||||
5 => array(
|
||||
'AssignProcessToJobObject', 'CommandLineToArgvW', 'ConvertThreadToFiber',
|
||||
'CreateFiber', 'CreateJobObjectA', 'CreateJobObjectW', 'CreateProcessA',
|
||||
'CreateProcessAsUserA', 'CreateProcessAsUserW', 'CreateProcessW',
|
||||
'CreateRemoteThread', 'CreateThread', 'DeleteFiber', 'ExitProcess',
|
||||
'ExitThread', 'FreeEnvironmentStringsA', 'FreeEnvironmentStringsW',
|
||||
'GetCommandLineA', 'GetCommandLineW', 'GetCurrentProcess',
|
||||
'GetCurrentProcessId', 'GetCurrentThread', 'GetCurrentThreadId',
|
||||
'GetEnvironmentStringsA', 'GetEnvironmentStringsW',
|
||||
'GetEnvironmentVariableA', 'GetEnvironmentVariableW', 'GetExitCodeProcess',
|
||||
'GetExitCodeThread', 'GetGuiResources', 'GetPriorityClass',
|
||||
'GetProcessAffinityMask', 'GetProcessPriorityBoost',
|
||||
'GetProcessShutdownParameters', 'GetProcessTimes', 'GetProcessVersion',
|
||||
'GetProcessWorkingSetSize', 'GetStartupInfoA', 'GetStartupInfoW',
|
||||
'GetThreadPriority', 'GetThreadPriorityBoost', 'GetThreadTimes',
|
||||
'OpenJobObjectA', 'OpenJobObjectW', 'OpenProcess',
|
||||
'QueryInformationJobObject', 'ResumeThread', 'SetEnvironmentVariableA',
|
||||
'SetEnvironmentVariableW', 'SetInformationJobObject', 'SetPriorityClass',
|
||||
'SetProcessAffinityMask', 'SetProcessPriorityBoost',
|
||||
'SetProcessShutdownParameters', 'SetProcessWorkingSetSize',
|
||||
'SetThreadAffinityMask', 'SetThreadIdealProcessor', 'SetThreadPriority',
|
||||
'SetThreadPriorityBoost', 'Sleep', 'SleepEx', 'SuspendThread',
|
||||
'SwitchToFiber', 'SwitchToThread', 'TerminateJobObject', 'TerminateProcess',
|
||||
'TerminateThread', 'WaitForInputIdle', 'WinExec',
|
||||
|
||||
'_hread', '_hwrite', '_lclose', '_lcreat', '_llseek', '_lopen', '_lread',
|
||||
'_lwrite', 'AreFileApisANSI', 'CancelIo', 'CopyFileA', 'CopyFileW',
|
||||
'CreateDirectoryA', 'CreateDirectoryExA', 'CreateDirectoryExW',
|
||||
'CreateDirectoryW', 'CreateFileA', 'CreateFileW', 'DeleteFileA',
|
||||
'DeleteFileW', 'FindClose', 'FindCloseChangeNotification',
|
||||
'FindFirstChangeNotificationA', 'FindFirstChangeNotificationW',
|
||||
'FindFirstFileA', 'FindFirstFileW', 'FindNextFileA', 'FindNextFileW',
|
||||
'FlushFileBuffers', 'GetCurrentDirectoryA', 'GetCurrentDirectoryW',
|
||||
'GetDiskFreeSpaceA', 'GetDiskFreeSpaceExA', 'GetDiskFreeSpaceExW',
|
||||
'GetDiskFreeSpaceW', 'GetDriveTypeA', 'GetDriveTypeW', 'GetFileAttributesA',
|
||||
'GetFileAttributesExA', 'GetFileAttributesExW', 'GetFileAttributesW',
|
||||
'GetFileInformationByHandle', 'GetFileSize', 'GetFileType',
|
||||
'GetFullPathNameA', 'GetFullPathNameW', 'GetLogicalDrives',
|
||||
'GetLogicalDriveStringsA', 'GetLogicalDriveStringsW', 'GetLongPathNameA',
|
||||
'GetLongPathNameW', 'GetShortPathNameA', 'GetShortPathNameW',
|
||||
'GetTempFileNameA', 'GetTempFileNameW', 'GetTempPathA', 'GetTempPathW',
|
||||
'LockFile', 'MoveFileA', 'MoveFileW', 'MulDiv', 'OpenFile',
|
||||
'QueryDosDeviceA', 'QueryDosDeviceW', 'ReadFile', 'ReadFileEx',
|
||||
'RemoveDirectoryA', 'RemoveDirectoryW', 'SearchPathA', 'SearchPathW',
|
||||
'SetCurrentDirectoryA', 'SetCurrentDirectoryW', 'SetEndOfFile',
|
||||
'SetFileApisToANSI', 'SetFileApisToOEM', 'SetFileAttributesA',
|
||||
'SetFileAttributesW', 'SetFilePointer', 'SetHandleCount',
|
||||
'SetVolumeLabelA', 'SetVolumeLabelW', 'UnlockFile', 'WriteFile',
|
||||
'WriteFileEx',
|
||||
|
||||
'DeviceIoControl',
|
||||
|
||||
'GetModuleFileNameA', 'GetModuleFileNameW', 'GetProcAddress',
|
||||
'LoadLibraryA', 'LoadLibraryExA', 'LoadLibraryExW', 'LoadLibraryW',
|
||||
'LoadModule',
|
||||
|
||||
'GetPrivateProfileIntA', 'GetPrivateProfileIntW',
|
||||
'GetPrivateProfileSectionA', 'GetPrivateProfileSectionNamesA',
|
||||
'GetPrivateProfileSectionNamesW', 'GetPrivateProfileSectionW',
|
||||
'GetPrivateProfileStringA', 'GetPrivateProfileStringW',
|
||||
'GetPrivateProfileStructA', 'GetPrivateProfileStructW',
|
||||
'GetProfileIntA', 'GetProfileIntW', 'GetProfileSectionA',
|
||||
'GetProfileSectionW', 'GetProfileStringA', 'GetProfileStringW',
|
||||
'RegCloseKey', 'RegConnectRegistryA', 'RegConnectRegistryW',
|
||||
'RegCreateKeyA', 'RegCreateKeyExA', 'RegCreateKeyExW',
|
||||
'RegCreateKeyW', 'RegDeleteKeyA', 'RegDeleteKeyW', 'RegDeleteValueA',
|
||||
'RegDeleteValueW', 'RegEnumKeyA', 'RegEnumKeyExA', 'RegEnumKeyExW',
|
||||
'RegEnumKeyW', 'RegEnumValueA', 'RegEnumValueW', 'RegFlushKey',
|
||||
'RegGetKeySecurity', 'RegLoadKeyA', 'RegLoadKeyW',
|
||||
'RegNotifyChangeKeyValue', 'RegOpenKeyA', 'RegOpenKeyExA', 'RegOpenKeyExW',
|
||||
'RegOpenKeyW', 'RegOverridePredefKey', 'RegQueryInfoKeyA',
|
||||
'RegQueryInfoKeyW', 'RegQueryMultipleValuesA', 'RegQueryMultipleValuesW',
|
||||
'RegQueryValueA', 'RegQueryValueExA', 'RegQueryValueExW', 'RegQueryValueW',
|
||||
'RegReplaceKeyA', 'RegReplaceKeyW', 'RegRestoreKeyA', 'RegRestoreKeyW',
|
||||
'RegSaveKeyA', 'RegSaveKeyW', 'RegSetKeySecurity', 'RegSetValueA',
|
||||
'RegSetValueExA', 'RegSetValueExW', 'RegSetValueW', 'RegUnLoadKeyA',
|
||||
'RegUnLoadKeyW', 'WritePrivateProfileSectionA', 'WritePrivateProfileSectionW',
|
||||
'WritePrivateProfileStringA', 'WritePrivateProfileStringW',
|
||||
'WritePrivateProfileStructA', 'WritePrivateProfileStructW',
|
||||
'WriteProfileSectionA', 'WriteProfileSectionW', 'WriteProfileStringA',
|
||||
'WriteProfileStringW',
|
||||
|
||||
'AccessCheck', 'AccessCheckAndAuditAlarmA', 'AccessCheckAndAuditAlarmW',
|
||||
'AccessCheckByType', 'AccessCheckByTypeAndAuditAlarmA',
|
||||
'AccessCheckByTypeAndAuditAlarmW', 'AccessCheckByTypeResultList',
|
||||
'AccessCheckByTypeResultListAndAuditAlarmA', 'AccessCheckByTypeResultListAndAuditAlarmW',
|
||||
'AddAccessAllowedAce', 'AddAccessAllowedAceEx', 'AddAccessAllowedObjectAce',
|
||||
'AddAccessDeniedAce', 'AddAccessDeniedAceEx', 'AddAccessDeniedObjectAce',
|
||||
'AddAce', 'AddAuditAccessAce', 'AddAuditAccessAceEx', 'AddAuditAccessObjectAce',
|
||||
'AdjustTokenGroups', 'AdjustTokenPrivileges', 'AllocateAndInitializeSid',
|
||||
'AllocateLocallyUniqueId', 'AreAllAccessesGranted', 'AreAnyAccessesGranted',
|
||||
'BuildExplicitAccessWithNameA', 'BuildExplicitAccessWithNameW',
|
||||
'BuildImpersonateExplicitAccessWithNameA', 'BuildImpersonateExplicitAccessWithNameW',
|
||||
'BuildImpersonateTrusteeA', 'BuildImpersonateTrusteeW', 'BuildSecurityDescriptorA',
|
||||
'BuildSecurityDescriptorW', 'BuildTrusteeWithNameA', 'BuildTrusteeWithNameW',
|
||||
'BuildTrusteeWithSidA', 'BuildTrusteeWithSidW',
|
||||
'ConvertToAutoInheritPrivateObjectSecurity', 'CopySid', 'CreatePrivateObjectSecurity',
|
||||
'CreatePrivateObjectSecurityEx', 'CreateRestrictedToken', 'DeleteAce',
|
||||
'DestroyPrivateObjectSecurity', 'DuplicateToken', 'DuplicateTokenEx',
|
||||
'EqualPrefixSid', 'EqualSid', 'FindFirstFreeAce', 'FreeSid', 'GetAce',
|
||||
'GetAclInformation', 'GetAuditedPermissionsFromAclA', 'GetAuditedPermissionsFromAclW',
|
||||
'GetEffectiveRightsFromAclA', 'GetEffectiveRightsFromAclW',
|
||||
'GetExplicitEntriesFromAclA', 'GetExplicitEntriesFromAclW', 'GetFileSecurityA',
|
||||
'GetFileSecurityW', 'GetKernelObjectSecurity', 'GetLengthSid', 'GetMultipleTrusteeA',
|
||||
'GetMultipleTrusteeOperationA', 'GetMultipleTrusteeOperationW', 'GetMultipleTrusteeW',
|
||||
'GetNamedSecurityInfoA', 'GetNamedSecurityInfoW', 'GetPrivateObjectSecurity',
|
||||
'GetSecurityDescriptorControl', 'GetSecurityDescriptorDacl',
|
||||
'GetSecurityDescriptorGroup', 'GetSecurityDescriptorLength',
|
||||
'GetSecurityDescriptorOwner', 'GetSecurityDescriptorSacl', 'GetSecurityInfo',
|
||||
'GetSidIdentifierAuthority', 'GetSidLengthRequired', 'GetSidSubAuthority',
|
||||
'GetSidSubAuthorityCount', 'GetTokenInformation', 'GetTrusteeFormA',
|
||||
'GetTrusteeFormW', 'GetTrusteeNameA', 'GetTrusteeNameW', 'GetTrusteeTypeA',
|
||||
'GetTrusteeTypeW', 'GetUserObjectSecurity', 'ImpersonateLoggedOnUser',
|
||||
'ImpersonateNamedPipeClient', 'ImpersonateSelf', 'InitializeAcl',
|
||||
'InitializeSecurityDescriptor', 'InitializeSid', 'IsTokenRestricted', 'IsValidAcl',
|
||||
'IsValidSecurityDescriptor', 'IsValidSid', 'LogonUserA', 'LogonUserW',
|
||||
'LookupAccountNameA', 'LookupAccountNameW', 'LookupAccountSidA', 'LookupAccountSidW',
|
||||
'LookupPrivilegeDisplayNameA', 'LookupPrivilegeDisplayNameW', 'LookupPrivilegeNameA',
|
||||
'LookupPrivilegeNameW', 'LookupPrivilegeValueA', 'LookupPrivilegeValueW',
|
||||
'LookupSecurityDescriptorPartsA', 'LookupSecurityDescriptorPartsW', 'MakeAbsoluteSD',
|
||||
'MakeSelfRelativeSD', 'MapGenericMask', 'ObjectCloseAuditAlarmA',
|
||||
'ObjectCloseAuditAlarmW', 'ObjectDeleteAuditAlarmA', 'ObjectDeleteAuditAlarmW',
|
||||
'ObjectOpenAuditAlarmA', 'ObjectOpenAuditAlarmW', 'ObjectPrivilegeAuditAlarmA',
|
||||
'ObjectPrivilegeAuditAlarmW', 'OpenProcessToken', 'OpenThreadToken', 'PrivilegeCheck',
|
||||
'PrivilegedServiceAuditAlarmA', 'PrivilegedServiceAuditAlarmW', 'RevertToSelf',
|
||||
'SetAclInformation', 'SetEntriesInAclA', 'SetEntriesInAclW', 'SetFileSecurityA',
|
||||
'SetFileSecurityW', 'SetKernelObjectSecurity', 'SetNamedSecurityInfoA',
|
||||
'SetNamedSecurityInfoW', 'SetPrivateObjectSecurity', 'SetPrivateObjectSecurityEx',
|
||||
'SetSecurityDescriptorControl', 'SetSecurityDescriptorDacl',
|
||||
'SetSecurityDescriptorGroup', 'SetSecurityDescriptorOwner',
|
||||
'SetSecurityDescriptorSacl', 'SetSecurityInfo', 'SetThreadToken',
|
||||
'SetTokenInformation', 'SetUserObjectSecurity', 'ChangeServiceConfig2A',
|
||||
'ChangeServiceConfig2W', 'ChangeServiceConfigA', 'ChangeServiceConfigW',
|
||||
'CloseServiceHandle', 'ControlService', 'CreateServiceA', 'CreateServiceW',
|
||||
'DeleteService', 'EnumDependentServicesA', 'EnumDependentServicesW',
|
||||
'EnumServicesStatusA', 'EnumServicesStatusW', 'GetServiceDisplayNameA',
|
||||
'GetServiceDisplayNameW', 'GetServiceKeyNameA', 'GetServiceKeyNameW',
|
||||
'LockServiceDatabase', 'NotifyBootConfigStatus', 'OpenSCManagerA', 'OpenSCManagerW',
|
||||
'OpenServiceA', 'OpenServiceW', 'QueryServiceConfig2A', 'QueryServiceConfig2W',
|
||||
'QueryServiceConfigA', 'QueryServiceConfigW', 'QueryServiceLockStatusA',
|
||||
'QueryServiceLockStatusW', 'QueryServiceObjectSecurity', 'QueryServiceStatus',
|
||||
'RegisterServiceCtrlHandlerA', 'RegisterServiceCtrlHandlerW',
|
||||
'SetServiceObjectSecurity', 'SetServiceStatus', 'StartServiceA',
|
||||
'StartServiceCtrlDispatcherA', 'StartServiceCtrlDispatcherW', 'StartServiceW',
|
||||
'UnlockServiceDatabase',
|
||||
|
||||
'MultinetGetConnectionPerformanceA', 'MultinetGetConnectionPerformanceW',
|
||||
'NetAlertRaise', 'NetAlertRaiseEx', 'NetApiBufferAllocate', 'NetApiBufferFree',
|
||||
'NetApiBufferReallocate', 'NetApiBufferSize', 'NetConnectionEnum', 'NetFileClose',
|
||||
'NetFileGetInfo', 'NetGetAnyDCName', 'NetGetDCName', 'NetGetDisplayInformationIndex',
|
||||
'NetGroupAdd', 'NetGroupAddUser', 'NetGroupDel', 'NetGroupDelUser', 'NetGroupEnum',
|
||||
'NetGroupGetInfo', 'NetGroupGetUsers', 'NetGroupSetInfo', 'NetGroupSetUsers',
|
||||
'NetLocalGroupAdd', 'NetLocalGroupAddMember', 'NetLocalGroupAddMembers',
|
||||
'NetLocalGroupDel', 'NetLocalGroupDelMember', 'NetLocalGroupDelMembers',
|
||||
'NetLocalGroupEnum', 'NetLocalGroupGetInfo', 'NetLocalGroupGetMembers',
|
||||
'NetLocalGroupSetInfo', 'NetLocalGroupSetMembers', 'NetMessageBufferSend',
|
||||
'NetMessageNameAdd', 'NetMessageNameDel', 'NetMessageNameEnum',
|
||||
'NetMessageNameGetInfo', 'NetQueryDisplayInformation', 'NetRemoteComputerSupports',
|
||||
'NetRemoteTOd', 'NetReplExportDirAdd', 'NetReplExportDirDel', 'NetReplExportDirEnum',
|
||||
'NetReplExportDirGetInfo', 'NetReplExportDirLock', 'NetReplExportDirSetInfo',
|
||||
'NetReplExportDirUnlock', 'NetReplGetInfo', 'NetReplImportDirAdd',
|
||||
'NetReplImportDirDel', 'NetReplImportDirEnum', 'NetReplImportDirGetInfo',
|
||||
'NetReplImportDirLock', 'NetReplImportDirUnlock', 'NetReplSetInfo',
|
||||
'NetScheduleJobAdd', 'NetScheduleJobDel', 'NetScheduleJobEnum',
|
||||
'NetScheduleJobGetInfo', 'NetServerComputerNameAdd', 'NetServerComputerNameDel',
|
||||
'NetServerDiskEnum', 'NetServerEnum', 'NetServerEnumEx', 'NetServerGetInfo',
|
||||
'NetServerSetInfo', 'NetServerTransportAdd', 'NetServerTransportAddEx',
|
||||
'NetServerTransportDel', 'NetServerTransportEnum', 'NetSessionDel', 'NetSessionEnum',
|
||||
'NetSessionGetInfo', 'NetShareAdd', 'NetShareCheck', 'NetShareDel', 'NetShareEnum',
|
||||
'NetShareGetInfo', 'NetShareSetInfo', 'NetStatisticsGet', 'NetUseAdd', 'NetUseDel',
|
||||
'NetUseEnum', 'NetUseGetInfo', 'NetUserAdd', 'NetUserChangePassword', 'NetUserDel',
|
||||
'NetUserEnum', 'NetUserGetGroups', 'NetUserGetInfo', 'NetUserGetLocalGroups',
|
||||
'NetUserModalsGet', 'NetUserModalsSet', 'NetUserSetGroups', 'NetUserSetInfo',
|
||||
'NetWkstaGetInfo', 'NetWkstaSetInfo', 'NetWkstaTransportAdd', 'NetWkstaTransportDel',
|
||||
'NetWkstaTransportEnum', 'NetWkstaUserEnum', 'NetWkstaUserGetInfo',
|
||||
'NetWkstaUserSetInfo', 'WNetAddConnection2A', 'WNetAddConnection2W',
|
||||
'WNetAddConnection3A', 'WNetAddConnection3W', 'WNetAddConnectionA',
|
||||
'WNetAddConnectionW', 'WNetCancelConnection2A', 'WNetCancelConnection2W',
|
||||
'WNetCancelConnectionA', 'WNetCancelConnectionW', 'WNetCloseEnum',
|
||||
'WNetConnectionDialog', 'WNetConnectionDialog1A', 'WNetConnectionDialog1W',
|
||||
'WNetDisconnectDialog', 'WNetDisconnectDialog1A', 'WNetDisconnectDialog1W',
|
||||
'WNetEnumResourceA', 'WNetEnumResourceW', 'WNetGetConnectionA', 'WNetGetConnectionW',
|
||||
'WNetGetLastErrorA', 'WNetGetLastErrorW', 'WNetGetNetworkInformationA',
|
||||
'WNetGetNetworkInformationW', 'WNetGetProviderNameA', 'WNetGetProviderNameW',
|
||||
'WNetGetResourceInformationA', 'WNetGetResourceInformationW',
|
||||
'WNetGetResourceParentA', 'WNetGetResourceParentW', 'WNetGetUniversalNameA',
|
||||
'WNetGetUniversalNameW', 'WNetGetUserA', 'WNetGetUserW', 'WNetOpenEnumA',
|
||||
'WNetOpenEnumW', 'WNetUseConnectionA', 'WnetUseConnectionW',
|
||||
|
||||
'accept', 'bind', 'closesocket', 'connect', 'gethostbyaddr', 'gethostbyname',
|
||||
'gethostname', 'getpeername', 'getprotobyname', 'getprotobynumber', 'getservbyname',
|
||||
'getservbyport', 'getsockname', 'getsockopt', 'htonl', 'htons', 'inet_addr',
|
||||
'inet_ntoa', 'ioctlsocket', 'listen', 'ntohl', 'ntohs', 'recv', 'recvfrom', 'select',
|
||||
'send', 'sendto', 'setsockopt', 'shutdown', 'socket', 'WSAAccept',
|
||||
'WSAAddressToStringA', 'WSAAddressToStringW', 'WSAAsyncGetHostByAddr',
|
||||
'WSAAsyncGetHostByName', 'WSAAsyncGetProtoByName', 'WSAAsyncGetProtoByNumber',
|
||||
'WSAAsyncGetServByName', 'WSAAsyncGetServByPort', 'WSAAsyncSelect',
|
||||
'WSACancelAsyncRequest', 'WSACancelBlockingCall', 'WSACleanup', 'WSACloseEvent',
|
||||
'WSAConnect', 'WSACreateEvent', 'WSADuplicateSocketA', 'WSADuplicateSocketW',
|
||||
'WSAEnumNameSpaceProvidersA', 'WSAEnumNameSpaceProvidersW', 'WSAEnumNetworkEvents',
|
||||
'WSAEnumProtocolsA', 'WSAEnumProtocolsW', 'WSAEventSelect', 'WSAGetLastError',
|
||||
'WSAGetOverlappedResult', 'WSAGetQOSByName', 'WSAGetServiceClassInfoA',
|
||||
'WSAGetServiceClassInfoW', 'WSAGetServiceClassNameByClassIdA',
|
||||
'WSAGetServiceClassNameByClassIdW', 'WSAHtonl', 'WSAHtons', 'WSAInstallServiceClassA',
|
||||
'WSAInstallServiceClassW', 'WSAIoctl', 'WSAIsBlocking', 'WSAJoinLeaf',
|
||||
'WSALookupServiceBeginA', 'WSALookupServiceBeginW', 'WSALookupServiceEnd',
|
||||
'WSALookupServiceNextA', 'WSALookupServiceNextW', 'WSANtohl', 'WSANtohs',
|
||||
'WSAProviderConfigChange', 'WSARecv', 'WSARecvDisconnect', 'WSARecvFrom',
|
||||
'WSARemoveServiceClass', 'WSAResetEvent', 'WSASend', 'WSASendDisconnect', 'WSASendTo',
|
||||
'WSASetBlockingHook', 'WSASetEvent', 'WSASetLastError', 'WSASetServiceA',
|
||||
'WSASetServiceW', 'WSASocketA', 'WSASocketW', 'WSAStartup', 'WSAStringToAddressA',
|
||||
'WSAStringToAddressW', 'WSAUnhookBlockingHook', 'WSAWaitForMultipleEvents',
|
||||
'WSCDeinstallProvider', 'WSCEnableNSProvider', 'WSCEnumProtocols',
|
||||
'WSCGetProviderPath', 'WSCInstallNameSpace', 'WSCInstallProvider',
|
||||
'WSCUnInstallNameSpace',
|
||||
|
||||
'ContinueDebugEvent', 'DebugActiveProcess', 'DebugBreak', 'FatalExit',
|
||||
'FlushInstructionCache', 'GetThreadContext', 'GetThreadSelectorEntry',
|
||||
'IsDebuggerPresent', 'OutputDebugStringA', 'OutputDebugStringW', 'ReadProcessMemory',
|
||||
'SetDebugErrorLevel', 'SetThreadContext', 'WaitForDebugEvent', 'WriteProcessMemory',
|
||||
|
||||
'CloseHandle', 'DuplicateHandle', 'GetHandleInformation', 'SetHandleInformation',
|
||||
|
||||
'AdjustWindowRect', 'AdjustWindowRectEx', 'AllowSetForegroundWindow',
|
||||
'AnimateWindow', 'AnyPopup', 'ArrangeIconicWindows', 'BeginDeferWindowPos',
|
||||
'BringWindowToTop', 'CascadeWindows', 'ChildWindowFromPoint',
|
||||
'ChildWindowFromPointEx', 'CloseWindow', 'CreateWindowExA', 'CreateWindowExW',
|
||||
'DeferWindowPos', 'DestroyWindow', 'EndDeferWindowPos', 'EnumChildWindows',
|
||||
'EnumThreadWindows', 'EnumWindows', 'FindWindowA', 'FindWindowExA', 'FindWindowExW',
|
||||
'FindWindowW', 'GetAltTabInfoA', 'GetAltTabInfoW', 'GetAncestor', 'GetClientRect',
|
||||
'GetDesktopWindow', 'GetForegroundWindow', 'GetGUIThreadInfo', 'GetLastActivePopup',
|
||||
'GetLayout', 'GetParent', 'GetProcessDefaultLayout', 'GetTitleBarInf', 'GetTopWindow',
|
||||
'GetWindow', 'GetWindowInfo', 'GetWindowModuleFileNameA', 'GetWindowModuleFileNameW',
|
||||
'GetWindowPlacement', 'GetWindowRect', 'GetWindowTextA', 'GetWindowTextLengthA',
|
||||
'GetWindowTextLengthW', 'GetWindowTextW', 'GetWindowThreadProcessId', 'IsChild',
|
||||
'IsIconic', 'IsWindow', 'IsWindowUnicode', 'IsWindowVisible', 'IsZoomed',
|
||||
'LockSetForegroundWindow', 'MoveWindow', 'OpenIcon', 'RealChildWindowFromPoint',
|
||||
'RealGetWindowClassA', 'RealGetWindowClassW', 'SetForegroundWindow',
|
||||
'SetLayeredWindowAttributes', 'SetLayout', 'SetParent', 'SetProcessDefaultLayout',
|
||||
'SetWindowPlacement', 'SetWindowPos', 'SetWindowTextA', 'SetWindowTextW',
|
||||
'ShowOwnedPopups', 'ShowWindow', 'ShowWindowAsync', 'TileWindows',
|
||||
'UpdateLayeredWindow', 'WindowFromPoint',
|
||||
|
||||
'CreateDialogIndirectParamA', 'CreateDialogIndirectParamW', 'CreateDialogParamA',
|
||||
'CreateDialogParamW', 'DefDlgProcA', 'DefDlgProcW', 'DialogBoxIndirectParamA',
|
||||
'DialogBoxIndirectParamW', 'DialogBoxParamA', 'DialogBoxParamW', 'EndDialog',
|
||||
'GetDialogBaseUnits', 'GetDlgCtrlID', 'GetDlgItem', 'GetDlgItemInt',
|
||||
'GetDlgItemTextA', 'GetDlgItemTextW', 'GetNextDlgGroupItem', 'GetNextDlgTabItem',
|
||||
'IsDialogMessageA', 'IsDialogMessageW', 'MapDialogRect', 'MessageBoxA',
|
||||
'MessageBoxExA', 'MessageBoxExW', 'MessageBoxIndirectA', 'MessageBoxIndirectW',
|
||||
'MessageBoxW', 'SendDlgItemMessageA', 'SendDlgItemMessageW', 'SetDlgItemInt',
|
||||
'SetDlgItemTextA', 'SetDlgItemTextW',
|
||||
|
||||
'GetWriteWatch', 'GlobalMemoryStatus', 'GlobalMemoryStatusEx', 'IsBadCodePtr',
|
||||
'IsBadReadPtr', 'IsBadStringPtrA', 'IsBadStringPtrW', 'IsBadWritePtr',
|
||||
'ResetWriteWatch', 'AllocateUserPhysicalPages', 'FreeUserPhysicalPages',
|
||||
'MapUserPhysicalPages', 'MapUserPhysicalPagesScatter', 'GlobalAlloc', 'GlobalFlags',
|
||||
'GlobalFree', 'GlobalHandle', 'GlobalLock', 'GlobalReAlloc', 'GlobalSize',
|
||||
'GlobalUnlock', 'LocalAlloc', 'LocalFlags', 'LocalFree', 'LocalHandle', 'LocalLock',
|
||||
'LocalReAlloc', 'LocalSize', 'LocalUnlock', 'GetProcessHeap', 'GetProcessHeaps',
|
||||
'HeapAlloc', 'HeapCompact', 'HeapCreate', 'HeapDestroy', 'HeapFree', 'HeapLock',
|
||||
'HeapReAlloc', 'HeapSize', 'HeapUnlock', 'HeapValidate', 'HeapWalk', 'VirtualAlloc',
|
||||
'VirtualAllocEx', 'VirtualFree', 'VirtualFreeEx', 'VirtualLock', 'VirtualProtect',
|
||||
'VirtualProtectEx', 'VirtualQuery', 'VirtualQueryEx', 'VirtualUnlock',
|
||||
'GetFreeSpace', 'GlobalCompact', 'GlobalFix', 'GlobalUnfix', 'GlobalUnWire',
|
||||
'GlobalWire', 'IsBadHugeReadPtr', 'IsBadHugeWritePtr', 'LocalCompact', 'LocalShrink',
|
||||
|
||||
'GetClassInfoA', 'GetClassInfoW', 'GetClassInfoExA', 'GetClassInfoExW',
|
||||
'GetClassLongA', 'GetClassLongW', 'GetClassLongPtrA', 'GetClassLongPtrW',
|
||||
'RegisterClassA', 'RegisterClassW', 'RegisterClassExA', 'RegisterClassExW',
|
||||
'SetClassLongA', 'SetClassLongW', 'SetClassLongPtrA', 'SetClassLongPtrW',
|
||||
'SetWindowLongA', 'SetWindowLongW', 'SetWindowLongPtrA', 'SetWindowLongPtrW',
|
||||
'UnregisterClassA', 'UnregisterClassW', 'GetClassWord', 'GetWindowWord',
|
||||
'SetClassWord', 'SetWindowWord'
|
||||
),
|
||||
// Native API
|
||||
6 => array(
|
||||
'CsrAllocateCaptureBuffer', 'CsrAllocateCapturePointer', 'CsrAllocateMessagePointer',
|
||||
'CsrCaptureMessageBuffer', 'CsrCaptureMessageString', 'CsrCaptureTimeout',
|
||||
'CsrClientCallServer', 'CsrClientConnectToServer', 'CsrFreeCaptureBuffer',
|
||||
'CsrIdentifyAlertableThread', 'CsrNewThread', 'CsrProbeForRead', 'CsrProbeForWrite',
|
||||
'CsrSetPriorityClass',
|
||||
|
||||
'LdrAccessResource', 'LdrDisableThreadCalloutsForDll', 'LdrEnumResources',
|
||||
'LdrFindEntryForAddress', 'LdrFindResource_U', 'LdrFindResourceDirectory_U',
|
||||
'LdrGetDllHandle', 'LdrGetProcedureAddress', 'LdrInitializeThunk', 'LdrLoadDll',
|
||||
'LdrProcessRelocationBlock', 'LdrQueryImageFileExecutionOptions',
|
||||
'LdrQueryProcessModuleInformation', 'LdrShutdownProcess', 'LdrShutdownThread',
|
||||
'LdrUnloadDll', 'LdrVerifyImageMatchesChecksum',
|
||||
|
||||
'NtAcceptConnectPort', 'ZwAcceptConnectPort', 'NtCompleteConnectPort',
|
||||
'ZwCompleteConnectPort', 'NtConnectPort', 'ZwConnectPort', 'NtCreatePort',
|
||||
'ZwCreatePort', 'NtImpersonateClientOfPort', 'ZwImpersonateClientOfPort',
|
||||
'NtListenPort', 'ZwListenPort', 'NtQueryInformationPort', 'ZwQueryInformationPort',
|
||||
'NtReadRequestData', 'ZwReadRequestData', 'NtReplyPort', 'ZwReplyPort',
|
||||
'NtReplyWaitReceivePort', 'ZwReplyWaitReceivePort', 'NtReplyWaitReplyPort',
|
||||
'ZwReplyWaitReplyPort', 'NtRequestPort', 'ZwRequestPort', 'NtRequestWaitReplyPort',
|
||||
'ZwRequestWaitReplyPort', 'NtSecureConnectPort', 'ZwSecureConnectPort',
|
||||
'NtWriteRequestData', 'ZwWriteRequestData',
|
||||
|
||||
'NtAccessCheck', 'ZwAccessCheck', 'NtAccessCheckAndAuditAlarm',
|
||||
'ZwAccessCheckAndAuditAlarm', 'NtAccessCheckByType', 'ZwAccessCheckByType',
|
||||
'NtAccessCheckByTypeAndAuditAlarm', 'ZwAccessCheckByTypeAndAuditAlarm',
|
||||
'NtAccessCheckByTypeResultList', 'ZwAccessCheckByTypeResultList',
|
||||
'NtAdjustGroupsToken', 'ZwAdjustGroupsToken', 'NtAdjustPrivilegesToken',
|
||||
'ZwAdjustPrivilegesToken', 'NtCloseObjectAuditAlarm', 'ZwCloseObjectAuditAlarm',
|
||||
'NtCreateToken', 'ZwCreateToken', 'NtDeleteObjectAuditAlarm',
|
||||
'ZwDeleteObjectAuditAlarm', 'NtDuplicateToken', 'ZwDuplicateToken',
|
||||
'NtFilterToken', 'ZwFilterToken', 'NtImpersonateThread', 'ZwImpersonateThread',
|
||||
'NtOpenObjectAuditAlarm', 'ZwOpenObjectAuditAlarm', 'NtOpenProcessToken',
|
||||
'ZwOpenProcessToken', 'NtOpenThreadToken', 'ZwOpenThreadToken', 'NtPrivilegeCheck',
|
||||
'ZwPrivilegeCheck', 'NtPrivilegedServiceAuditAlarm', 'ZwPrivilegedServiceAuditAlarm',
|
||||
'NtPrivilegeObjectAuditAlarm', 'ZwPrivilegeObjectAuditAlarm',
|
||||
'NtQueryInformationToken', 'ZwQueryInformationToken', 'NtQuerySecurityObject',
|
||||
'ZwQuerySecurityObject', 'NtSetInformationToken', 'ZwSetInformationToken',
|
||||
'NtSetSecurityObject', 'ZwSetSecurityObject',
|
||||
|
||||
'NtAddAtom', 'ZwAddAtom', 'NtDeleteAtom', 'ZwDeleteAtom', 'NtFindAtom', 'ZwFindAtom',
|
||||
'NtQueryInformationAtom', 'ZwQueryInformationAtom',
|
||||
|
||||
'NtAlertResumeThread', 'ZwAlertResumeThread', 'NtAlertThread', 'ZwAlertThread',
|
||||
'NtCreateProcess', 'ZwCreateProcess', 'NtCreateThread', 'ZwCreateThread',
|
||||
'NtCurrentTeb', 'NtDelayExecution', 'ZwDelayExecution', 'NtGetContextThread',
|
||||
'ZwGetContextThread', 'NtOpenProcess', 'ZwOpenProcess', 'NtOpenThread',
|
||||
'ZwOpenThread', 'NtQueryInformationProcess', 'ZwQueryInformationProcess',
|
||||
'NtQueryInformationThread', 'ZwQueryInformationThread', 'NtQueueApcThread',
|
||||
'ZwQueueApcThread', 'NtResumeThread', 'ZwResumeThread', 'NtSetContextThread',
|
||||
'ZwSetContextThread', 'NtSetHighWaitLowThread', 'ZwSetHighWaitLowThread',
|
||||
'NtSetInformationProcess', 'ZwSetInformationProcess', 'NtSetInformationThread',
|
||||
'ZwSetInformationThread', 'NtSetLowWaitHighThread', 'ZwSetLowWaitHighThread',
|
||||
'NtSuspendThread', 'ZwSuspendThread', 'NtTerminateProcess', 'ZwTerminateProcess',
|
||||
'NtTerminateThread', 'ZwTerminateThread', 'NtTestAlert', 'ZwTestAlert',
|
||||
'NtYieldExecution', 'ZwYieldExecution',
|
||||
|
||||
'NtAllocateVirtualMemory', 'ZwAllocateVirtualMemory', 'NtAllocateVirtualMemory64',
|
||||
'ZwAllocateVirtualMemory64', 'NtAreMappedFilesTheSame', 'ZwAreMappedFilesTheSame',
|
||||
'NtCreateSection', 'ZwCreateSection', 'NtExtendSection', 'ZwExtendSection',
|
||||
'NtFlushVirtualMemory', 'ZwFlushVirtualMemory', 'NtFreeVirtualMemory',
|
||||
'ZwFreeVirtualMemory', 'NtFreeVirtualMemory64', 'ZwFreeVirtualMemory64',
|
||||
'NtLockVirtualMemory', 'ZwLockVirtualMemory', 'NtMapViewOfSection',
|
||||
'ZwMapViewOfSection', 'NtMapViewOfVlmSection', 'ZwMapViewOfVlmSection',
|
||||
'NtOpenSection', 'ZwOpenSection', 'NtProtectVirtualMemory', 'ZwProtectVirtualMemory',
|
||||
'NtProtectVirtualMemory64', 'ZwProtectVirtualMemory64', 'NtQueryVirtualMemory',
|
||||
'ZwQueryVirtualMemory', 'NtQueryVirtualMemory64', 'ZwQueryVirtualMemory64',
|
||||
'NtReadVirtualMemory', 'ZwReadVirtualMemory', 'NtReadVirtualMemory64',
|
||||
'ZwReadVirtualMemory64', 'NtUnlockVirtualMemory', 'ZwUnlockVirtualMemory',
|
||||
'NtUnmapViewOfSection', 'ZwUnmapViewOfSection', 'NtUnmapViewOfVlmSection',
|
||||
'ZwUnmapViewOfVlmSection', 'NtWriteVirtualMemory', 'ZwWriteVirtualMemory',
|
||||
'NtWriteVirtualMemory64', 'ZwWriteVirtualMemory64',
|
||||
|
||||
'NtAssignProcessToJobObject', 'ZwAssignProcessToJobObject', 'NtCreateJobObject',
|
||||
'ZwCreateJobObject', 'NtOpenJobObject', 'ZwOpenJobObject',
|
||||
'NtQueryInformationJobObject', 'ZwQueryInformationJobObject',
|
||||
'NtSetInformationJobObject', 'ZwSetInformationJobObject', 'NtTerminateJobObject',
|
||||
'ZwTerminateJobObject',
|
||||
|
||||
'NtCancelIoFile', 'ZwCancelIoFile', 'NtCreateFile', 'ZwCreateFile',
|
||||
'NtCreateIoCompletion', 'ZwCreateIoCompletion', 'NtDeleteFile', 'ZwDeleteFile',
|
||||
'NtDeviceIoControlFile', 'ZwDeviceIoControlFile', 'NtFlushBuffersFile',
|
||||
'ZwFlushBuffersFile', 'NtFsControlFile', 'ZwFsControlFile', 'NtLockFile', 'ZwLockFile',
|
||||
'NtNotifyChangeDirectoryFile', 'ZwNotifyChangeDirectoryFile', 'NtOpenFile',
|
||||
'ZwOpenFile', 'NtOpenIoCompletion', 'ZwOpenIoCompletion', 'NtQueryAttributesFile',
|
||||
'ZwQueryAttributesFile', 'NtQueryDirectoryFile', 'ZwQueryDirectoryFile',
|
||||
'NtQueryEaFile', 'ZwQueryEaFile', 'NtQueryIoCompletion', 'ZwQueryIoCompletion',
|
||||
'NtQueryQuotaInformationFile', 'ZwQueryQuotaInformationFile',
|
||||
'NtQueryVolumeInformationFile', 'ZwQueryVolumeInformationFile', 'NtReadFile',
|
||||
'ZwReadFile', 'NtReadFile64', 'ZwReadFile64', 'NtReadFileScatter', 'ZwReadFileScatter',
|
||||
'NtRemoveIoCompletion', 'ZwRemoveIoCompletion', 'NtSetEaFile', 'ZwSetEaFile',
|
||||
'NtSetInformationFile', 'ZwSetInformationFile', 'NtSetIoCompletion',
|
||||
'ZwSetIoCompletion', 'NtSetQuotaInformationFile', 'ZwSetQuotaInformationFile',
|
||||
'NtSetVolumeInformationFile', 'ZwSetVolumeInformationFile', 'NtUnlockFile',
|
||||
'ZwUnlockFile', 'NtWriteFile', 'ZwWriteFile', 'NtWriteFile64','ZwWriteFile64',
|
||||
'NtWriteFileGather', 'ZwWriteFileGather', 'NtQueryFullAttributesFile',
|
||||
'ZwQueryFullAttributesFile', 'NtQueryInformationFile', 'ZwQueryInformationFile',
|
||||
|
||||
'RtlAbortRXact', 'RtlAbsoluteToSelfRelativeSD', 'RtlAcquirePebLock',
|
||||
'RtlAcquireResourceExclusive', 'RtlAcquireResourceShared', 'RtlAddAccessAllowedAce',
|
||||
'RtlAddAccessDeniedAce', 'RtlAddAce', 'RtlAddActionToRXact', 'RtlAddAtomToAtomTable',
|
||||
'RtlAddAttributeActionToRXact', 'RtlAddAuditAccessAce', 'RtlAddCompoundAce',
|
||||
'RtlAdjustPrivilege', 'RtlAllocateAndInitializeSid', 'RtlAllocateHandle',
|
||||
'RtlAllocateHeap', 'RtlAnsiCharToUnicodeChar', 'RtlAnsiStringToUnicodeSize',
|
||||
'RtlAnsiStringToUnicodeString', 'RtlAppendAsciizToString', 'RtlAppendStringToString',
|
||||
'RtlAppendUnicodeStringToString', 'RtlAppendUnicodeToString', 'RtlApplyRXact',
|
||||
'RtlApplyRXactNoFlush', 'RtlAreAllAccessesGranted', 'RtlAreAnyAccessesGranted',
|
||||
'RtlAreBitsClear', 'RtlAreBitsSet', 'RtlAssert', 'RtlCaptureStackBackTrace',
|
||||
'RtlCharToInteger', 'RtlCheckRegistryKey', 'RtlClearAllBits', 'RtlClearBits',
|
||||
'RtlClosePropertySet', 'RtlCompactHeap', 'RtlCompareMemory', 'RtlCompareMemoryUlong',
|
||||
'RtlCompareString', 'RtlCompareUnicodeString', 'RtlCompareVariants',
|
||||
'RtlCompressBuffer', 'RtlConsoleMultiByteToUnicodeN', 'RtlConvertExclusiveToShared',
|
||||
'RtlConvertLongToLargeInteger', 'RtlConvertPropertyToVariant',
|
||||
'RtlConvertSharedToExclusive', 'RtlConvertSidToUnicodeString',
|
||||
'RtlConvertUiListToApiList', 'RtlConvertUlongToLargeInteger',
|
||||
'RtlConvertVariantToProperty', 'RtlCopyLuid', 'RtlCopyLuidAndAttributesArray',
|
||||
'RtlCopySecurityDescriptor', 'RtlCopySid', 'RtlCopySidAndAttributesArray',
|
||||
'RtlCopyString', 'RtlCopyUnicodeString', 'RtlCreateAcl', 'RtlCreateAndSetSD',
|
||||
'RtlCreateAtomTable', 'RtlCreateEnvironment', 'RtlCreateHeap',
|
||||
'RtlCreateProcessParameters', 'RtlCreatePropertySet', 'RtlCreateQueryDebugBuffer',
|
||||
'RtlCreateRegistryKey', 'RtlCreateSecurityDescriptor', 'RtlCreateTagHeap',
|
||||
'RtlCreateUnicodeString', 'RtlCreateUnicodeStringFromAsciiz', 'RtlCreateUserProcess',
|
||||
'RtlCreateUserSecurityObject', 'RtlCreateUserThread', 'RtlCustomCPToUnicodeN',
|
||||
'RtlCutoverTimeToSystemTime', 'RtlDecompressBuffer', 'RtlDecompressFragment',
|
||||
'RtlDelete', 'RtlDeleteAce', 'RtlDeleteAtomFromAtomTable', 'RtlDeleteCriticalSection',
|
||||
'RtlDeleteElementGenericTable', 'RtlDeleteNoSplay', 'RtlDeleteRegistryValue',
|
||||
'RtlDeleteResource', 'RtlDeleteSecurityObject', 'RtlDeNormalizeProcessParams',
|
||||
'RtlDestroyAtomTable', 'RtlDestroyEnvironment', 'RtlDestroyHandleTable',
|
||||
'RtlDestroyHeap', 'RtlDestroyProcessParameters', 'RtlDestroyQueryDebugBuffer',
|
||||
'RtlDetermineDosPathNameType_U', 'RtlDoesFileExists_U', 'RtlDosPathNameToNtPathName_U',
|
||||
'RtlDosSearchPath_U', 'RtlDowncaseUnicodeString', 'RtlDumpResource',
|
||||
'RtlEmptyAtomTable', 'RtlEnlargedIntegerMultiply', 'RtlEnlargedUnsignedDivide',
|
||||
'RtlEnlargedUnsignedMultiply', 'RtlEnterCriticalSection', 'RtlEnumerateGenericTable',
|
||||
'RtlEnumerateGenericTableWithoutSplaying', 'RtlEnumerateProperties',
|
||||
'RtlEnumProcessHeaps', 'RtlEqualComputerName', 'RtlEqualDomainName', 'RtlEqualLuid',
|
||||
'RtlEqualPrefixSid', 'RtlEqualSid', 'RtlEqualString', 'RtlEqualUnicodeString',
|
||||
'RtlEraseUnicodeString', 'RtlExpandEnvironmentStrings_U', 'RtlExtendedIntegerMultiply',
|
||||
'RtlExtendedLargeIntegerDivide', 'RtlExtendedMagicDivide', 'RtlExtendHeap',
|
||||
'RtlFillMemory', 'RtlFillMemoryUlong', 'RtlFindClearBits', 'RtlFindClearBitsAndSet',
|
||||
'RtlFindLongestRunClear', 'RtlFindLongestRunSet', 'RtlFindMessage', 'RtlFindSetBits',
|
||||
'RtlFindSetBitsAndClear', 'RtlFirstFreeAce', 'RtlFlushPropertySet',
|
||||
'RtlFormatCurrentUserKeyPath', 'RtlFormatMessage', 'RtlFreeAnsiString',
|
||||
'RtlFreeHandle', 'RtlFreeHeap', 'RtlFreeOemString', 'RtlFreeSid',
|
||||
'RtlFreeUnicodeString', 'RtlFreeUserThreadStack', 'RtlGenerate8dot3Name', 'RtlGetAce',
|
||||
'RtlGetCallersAddress', 'RtlGetCompressionWorkSpaceSize',
|
||||
'RtlGetControlSecurityDescriptor', 'RtlGetCurrentDirectory_U',
|
||||
'RtlGetDaclSecurityDescriptor', 'RtlGetElementGenericTable', 'RtlGetFullPathName_U',
|
||||
'RtlGetGroupSecurityDescriptor', 'RtlGetLongestNtPathLength', 'RtlGetNtGlobalFlags',
|
||||
'RtlGetNtProductType', 'RtlGetOwnerSecurityDescriptor', 'RtlGetProcessHeaps',
|
||||
'RtlGetSaclSecurityDescriptor', 'RtlGetUserInfoHeap', 'RtlGuidToPropertySetName',
|
||||
'RtlIdentifierAuthoritySid', 'RtlImageDirectoryEntryToData', 'RtlImageNtHeader',
|
||||
'RtlImageRvaToSection', 'RtlImageRvaToVa', 'RtlImpersonateSelf', 'RtlInitAnsiString',
|
||||
'RtlInitCodePageTable', 'RtlInitializeAtomPackage', 'RtlInitializeBitMap',
|
||||
'RtlInitializeContext', 'RtlInitializeCriticalSection',
|
||||
'RtlInitializeCriticalSectionAndSpinCount', 'RtlInitializeGenericTable',
|
||||
'RtlInitializeHandleTable', 'RtlInitializeResource', 'RtlInitializeRXact',
|
||||
'RtlInitializeSid', 'RtlInitNlsTables', 'RtlInitString', 'RtlInitUnicodeString',
|
||||
'RtlInsertElementGenericTable', 'RtlIntegerToChar', 'RtlIntegerToUnicodeString',
|
||||
'RtlIsDosDeviceName_U', 'RtlIsGenericTableEmpty', 'RtlIsNameLegalDOS8Dot3',
|
||||
'RtlIsTextUnicode', 'RtlIsValidHandle', 'RtlIsValidIndexHandle', 'RtlLargeIntegerAdd',
|
||||
'RtlLargeIntegerArithmeticShift', 'RtlLargeIntegerDivide', 'RtlLargeIntegerNegate',
|
||||
'RtlLargeIntegerShiftLeft', 'RtlLargeIntegerShiftRight', 'RtlLargeIntegerSubtract',
|
||||
'RtlLargeIntegerToChar', 'RtlLeaveCriticalSection', 'RtlLengthRequiredSid',
|
||||
'RtlLengthSecurityDescriptor', 'RtlLengthSid', 'RtlLocalTimeToSystemTime',
|
||||
'RtlLockHeap', 'RtlLookupAtomInAtomTable', 'RtlLookupElementGenericTable',
|
||||
'RtlMakeSelfRelativeSD', 'RtlMapGenericMask', 'RtlMoveMemory',
|
||||
'RtlMultiByteToUnicodeN', 'RtlMultiByteToUnicodeSize', 'RtlNewInstanceSecurityObject',
|
||||
'RtlNewSecurityGrantedAccess', 'RtlNewSecurityObject', 'RtlNormalizeProcessParams',
|
||||
'RtlNtStatusToDosError', 'RtlNumberGenericTableElements', 'RtlNumberOfClearBits',
|
||||
'RtlNumberOfSetBits', 'RtlOemStringToUnicodeSize', 'RtlOemStringToUnicodeString',
|
||||
'RtlOemToUnicodeN', 'RtlOnMappedStreamEvent', 'RtlOpenCurrentUser',
|
||||
'RtlPcToFileHeader', 'RtlPinAtomInAtomTable', 'RtlpNtCreateKey',
|
||||
'RtlpNtEnumerateSubKey', 'RtlpNtMakeTemporaryKey', 'RtlpNtOpenKey',
|
||||
'RtlpNtQueryValueKey', 'RtlpNtSetValueKey', 'RtlPrefixString',
|
||||
'RtlPrefixUnicodeString', 'RtlPropertySetNameToGuid', 'RtlProtectHeap',
|
||||
'RtlpUnWaitCriticalSection', 'RtlpWaitForCriticalSection', 'RtlQueryAtomInAtomTable',
|
||||
'RtlQueryEnvironmentVariable_U', 'RtlQueryInformationAcl',
|
||||
'RtlQueryProcessBackTraceInformation', 'RtlQueryProcessDebugInformation',
|
||||
'RtlQueryProcessHeapInformation', 'RtlQueryProcessLockInformation',
|
||||
'RtlQueryProperties', 'RtlQueryPropertyNames', 'RtlQueryPropertySet',
|
||||
'RtlQueryRegistryValues', 'RtlQuerySecurityObject', 'RtlQueryTagHeap',
|
||||
'RtlQueryTimeZoneInformation', 'RtlRaiseException', 'RtlRaiseStatus', 'RtlRandom',
|
||||
'RtlReAllocateHeap', 'RtlRealPredecessor', 'RtlRealSuccessor', 'RtlReleasePebLock',
|
||||
'RtlReleaseResource', 'RtlRemoteCall', 'RtlResetRtlTranslations',
|
||||
'RtlRunDecodeUnicodeString', 'RtlRunEncodeUnicodeString', 'RtlSecondsSince1970ToTime',
|
||||
'RtlSecondsSince1980ToTime', 'RtlSelfRelativeToAbsoluteSD', 'RtlSetAllBits',
|
||||
'RtlSetAttributesSecurityDescriptor', 'RtlSetBits', 'RtlSetCriticalSectionSpinCount',
|
||||
'RtlSetCurrentDirectory_U', 'RtlSetCurrentEnvironment', 'RtlSetDaclSecurityDescriptor',
|
||||
'RtlSetEnvironmentVariable', 'RtlSetGroupSecurityDescriptor', 'RtlSetInformationAcl',
|
||||
'RtlSetOwnerSecurityDescriptor', 'RtlSetProperties', 'RtlSetPropertyNames',
|
||||
'RtlSetPropertySetClassId', 'RtlSetSaclSecurityDescriptor', 'RtlSetSecurityObject',
|
||||
'RtlSetTimeZoneInformation', 'RtlSetUnicodeCallouts', 'RtlSetUserFlagsHeap',
|
||||
'RtlSetUserValueHeap', 'RtlSizeHeap', 'RtlSplay', 'RtlStartRXact',
|
||||
'RtlSubAuthorityCountSid', 'RtlSubAuthoritySid', 'RtlSubtreePredecessor',
|
||||
'RtlSubtreeSuccessor', 'RtlSystemTimeToLocalTime', 'RtlTimeFieldsToTime',
|
||||
'RtlTimeToElapsedTimeFields', 'RtlTimeToSecondsSince1970', 'RtlTimeToSecondsSince1980',
|
||||
'RtlTimeToTimeFields', 'RtlTryEnterCriticalSection', 'RtlUnicodeStringToAnsiSize',
|
||||
'RtlUnicodeStringToAnsiString', 'RtlUnicodeStringToCountedOemString',
|
||||
'RtlUnicodeStringToInteger', 'RtlUnicodeStringToOemSize',
|
||||
'RtlUnicodeStringToOemString', 'RtlUnicodeToCustomCPN', 'RtlUnicodeToMultiByteN',
|
||||
'RtlUnicodeToMultiByteSize', 'RtlUnicodeToOemN', 'RtlUniform', 'RtlUnlockHeap',
|
||||
'RtlUnwind', 'RtlUpcaseUnicodeChar', 'RtlUpcaseUnicodeString',
|
||||
'RtlUpcaseUnicodeStringToAnsiString', 'RtlUpcaseUnicodeStringToCountedOemString',
|
||||
'RtlUpcaseUnicodeStringToOemString', 'RtlUpcaseUnicodeToCustomCPN',
|
||||
'RtlUpcaseUnicodeToMultiByteN', 'RtlUpcaseUnicodeToOemN', 'RtlUpperChar',
|
||||
'RtlUpperString', 'RtlUsageHeap', 'RtlValidAcl', 'RtlValidateHeap',
|
||||
'RtlValidateProcessHeaps', 'RtlValidSecurityDescriptor', 'RtlValidSid', 'RtlWalkHeap',
|
||||
'RtlWriteRegistryValue', 'RtlxAnsiStringToUnicodeSize', 'RtlxOemStringToUnicodeSize',
|
||||
'RtlxUnicodeStringToAnsiSize', 'RtlxUnicodeStringToOemSize', 'RtlZeroHeap',
|
||||
'RtlZeroMemory',
|
||||
|
||||
'NtCancelTimer', 'ZwCancelTimer', 'NtCreateTimer', 'ZwCreateTimer', 'NtGetTickCount',
|
||||
'ZwGetTickCount', 'NtOpenTimer', 'ZwOpenTimer', 'NtQueryPerformanceCounter',
|
||||
'ZwQueryPerformanceCounter', 'NtQuerySystemTime', 'ZwQuerySystemTime', 'NtQueryTimer',
|
||||
'ZwQueryTimer', 'NtQueryTimerResolution', 'ZwQueryTimerResolution', 'NtSetSystemTime',
|
||||
'ZwSetSystemTime', 'NtSetTimer', 'ZwSetTimer', 'NtSetTimerResolution',
|
||||
'ZwSetTimerResolution',
|
||||
|
||||
'NtClearEvent', 'ZwClearEvent', 'NtCreateEvent', 'ZwCreateEvent', 'NtCreateEventPair',
|
||||
'ZwCreateEventPair', 'NtCreateMutant', 'ZwCreateMutant', 'NtCreateSemaphore',
|
||||
'ZwCreateSemaphore', 'NtOpenEvent', 'ZwOpenEvent', 'NtOpenEventPair',
|
||||
'ZwOpenEventPair', 'NtOpenMutant', 'ZwOpenMutant', 'NtOpenSemaphore',
|
||||
'ZwOpenSemaphore', 'NtPulseEvent', 'ZwPulseEvent', 'NtQueryEvent', 'ZwQueryEvent',
|
||||
'NtQueryMutant', 'ZwQueryMutant', 'NtQuerySemaphore', 'ZwQuerySemaphore',
|
||||
'NtReleaseMutant', 'ZwReleaseMutant', 'NtReleaseProcessMutant',
|
||||
'ZwReleaseProcessMutant', 'NtReleaseSemaphore', 'ZwReleaseSemaphore',
|
||||
'NtReleaseThreadMutant', 'ZwReleaseThreadMutant', 'NtResetEvent', 'ZwResetEvent',
|
||||
'NtSetEvent', 'ZwSetEvent', 'NtSetHighEventPair', 'ZwSetHighEventPair',
|
||||
'NtSetHighWaitLowEventPair', 'ZwSetHighWaitLowEventPair', 'NtSetLowEventPair',
|
||||
'ZwSetLowEventPair', 'NtSetLowWaitHighEventPair', 'ZwSetLowWaitHighEventPair',
|
||||
'NtSignalAndWaitForSingleObject', 'ZwSignalAndWaitForSingleObject',
|
||||
'NtWaitForMultipleObjects', 'ZwWaitForMultipleObjects', 'NtWaitForSingleObject',
|
||||
'ZwWaitForSingleObject', 'NtWaitHighEventPair', 'ZwWaitHighEventPair',
|
||||
'NtWaitLowEventPair', 'ZwWaitLowEventPair',
|
||||
|
||||
'NtClose', 'ZwClose', 'NtCreateDirectoryObject', 'ZwCreateDirectoryObject',
|
||||
'NtCreateSymbolicLinkObject', 'ZwCreateSymbolicLinkObject',
|
||||
'NtDuplicateObject', 'ZwDuplicateObject', 'NtMakeTemporaryObject',
|
||||
'ZwMakeTemporaryObject', 'NtOpenDirectoryObject', 'ZwOpenDirectoryObject',
|
||||
'NtOpenSymbolicLinkObject', 'ZwOpenSymbolicLinkObject', 'NtQueryDirectoryObject',
|
||||
'ZwQueryDirectoryObject', 'NtQueryObject', 'ZwQueryObject',
|
||||
'NtQuerySymbolicLinkObject', 'ZwQuerySymbolicLinkObject', 'NtSetInformationObject',
|
||||
'ZwSetInformationObject',
|
||||
|
||||
'NtContinue', 'ZwContinue', 'NtRaiseException', 'ZwRaiseException',
|
||||
'NtRaiseHardError', 'ZwRaiseHardError', 'NtSetDefaultHardErrorPort',
|
||||
'ZwSetDefaultHardErrorPort',
|
||||
|
||||
'NtCreateChannel', 'ZwCreateChannel', 'NtListenChannel', 'ZwListenChannel',
|
||||
'NtOpenChannel', 'ZwOpenChannel', 'NtReplyWaitSendChannel', 'ZwReplyWaitSendChannel',
|
||||
'NtSendWaitReplyChannel', 'ZwSendWaitReplyChannel', 'NtSetContextChannel',
|
||||
'ZwSetContextChannel',
|
||||
|
||||
'NtCreateKey', 'ZwCreateKey', 'NtDeleteKey', 'ZwDeleteKey', 'NtDeleteValueKey',
|
||||
'ZwDeleteValueKey', 'NtEnumerateKey', 'ZwEnumerateKey', 'NtEnumerateValueKey',
|
||||
'ZwEnumerateValueKey', 'NtFlushKey', 'ZwFlushKey', 'NtInitializeRegistry',
|
||||
'ZwInitializeRegistry', 'NtLoadKey', 'ZwLoadKey', 'NtLoadKey2', 'ZwLoadKey2',
|
||||
'NtNotifyChangeKey', 'ZwNotifyChangeKey', 'NtOpenKey', 'ZwOpenKey', 'NtQueryKey',
|
||||
'ZwQueryKey', 'NtQueryMultipleValueKey', 'ZwQueryMultipleValueKey',
|
||||
'NtQueryMultiplValueKey', 'ZwQueryMultiplValueKey', 'NtQueryValueKey',
|
||||
'ZwQueryValueKey', 'NtReplaceKey', 'ZwReplaceKey', 'NtRestoreKey', 'ZwRestoreKey',
|
||||
'NtSaveKey', 'ZwSaveKey', 'NtSetInformationKey', 'ZwSetInformationKey',
|
||||
'NtSetValueKey', 'ZwSetValueKey', 'NtUnloadKey', 'ZwUnloadKey',
|
||||
|
||||
'NtCreateMailslotFile', 'ZwCreateMailslotFile', 'NtCreateNamedPipeFile',
|
||||
'ZwCreateNamedPipeFile', 'NtCreatePagingFile', 'ZwCreatePagingFile',
|
||||
|
||||
'NtCreateProfile', 'ZwCreateProfile', 'NtQueryIntervalProfile',
|
||||
'ZwQueryIntervalProfile', 'NtRegisterThreadTerminatePort',
|
||||
'ZwRegisterThreadTerminatePort', 'NtSetIntervalProfile', 'ZwSetIntervalProfile',
|
||||
'NtStartProfile', 'ZwStartProfile', 'NtStopProfile', 'ZwStopProfile',
|
||||
'NtSystemDebugControl', 'ZwSystemDebugControl',
|
||||
|
||||
'NtEnumerateBus', 'ZwEnumerateBus', 'NtFlushInstructionCache',
|
||||
'ZwFlushInstructionCache', 'NtFlushWriteBuffer', 'ZwFlushWriteBuffer',
|
||||
'NtSetLdtEntries', 'ZwSetLdtEntries',
|
||||
|
||||
'NtGetPlugPlayEvent', 'ZwGetPlugPlayEvent', 'NtPlugPlayControl', 'ZwPlugPlayControl',
|
||||
|
||||
'NtInitiatePowerAction', 'ZwInitiatePowerAction', 'NtPowerInformation',
|
||||
'ZwPowerInformation', 'NtRequestWakeupLatency', 'ZwRequestWakeupLatency',
|
||||
'NtSetSystemPowerState', 'ZwSetSystemPowerState', 'NtSetThreadExecutionState',
|
||||
'ZwSetThreadExecutionState',
|
||||
|
||||
'NtLoadDriver', 'ZwLoadDriver', 'NtRegisterNewDevice', 'ZwRegisterNewDevice',
|
||||
'NtUnloadDriver', 'ZwUnloadDriver',
|
||||
|
||||
'NtQueryDefaultLocale', 'ZwQueryDefaultLocale', 'NtQueryDefaultUILanguage',
|
||||
'ZwQueryDefaultUILanguage', 'NtQuerySystemEnvironmentValue',
|
||||
'ZwQuerySystemEnvironmentValue', 'NtSetDefaultLocale', 'ZwSetDefaultLocale',
|
||||
'NtSetDefaultUILanguage', 'ZwSetDefaultUILanguage', 'NtSetSystemEnvironmentValue',
|
||||
'ZwSetSystemEnvironmentValue',
|
||||
|
||||
'DbgBreakPoint', 'DbgPrint', 'DbgPrompt', 'DbgSsHandleKmApiMsg', 'DbgSsInitialize',
|
||||
'DbgUiConnectToDbg', 'DbgUiContinue', 'DbgUiWaitStateChange', 'DbgUserBreakPoint',
|
||||
'KiRaiseUserExceptionDispatcher', 'KiUserApcDispatcher', 'KiUserCallbackDispatcher',
|
||||
'KiUserExceptionDispatcher', 'NlsAnsiCodePage', 'NlsMbCodePageTag',
|
||||
'NlsMbOemCodePageTag', 'NtAllocateLocallyUniqueId', 'ZwAllocateLocallyUniqueId',
|
||||
'NtAllocateUuids', 'ZwAllocateUuids', 'NtCallbackReturn', 'ZwCallbackReturn',
|
||||
'NtDisplayString', 'ZwDisplayString', 'NtQueryOleDirectoryFile',
|
||||
'ZwQueryOleDirectoryFile', 'NtQuerySection', 'ZwQuerySection',
|
||||
'NtQuerySystemInformation', 'ZwQuerySystemInformation', 'NtSetSystemInformation',
|
||||
'ZwSetSystemInformation', 'NtShutdownSystem', 'ZwShutdownSystem', 'NtVdmControl',
|
||||
'ZwVdmControl', 'NtW32Call', 'ZwW32Call', 'PfxFindPrefix', 'PfxInitialize',
|
||||
'PfxInsertPrefix', 'PfxRemovePrefix', 'PropertyLengthAsVariant', 'RestoreEm87Context',
|
||||
'SaveEm87Context'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array('(', ')', '{', '}', '[', ']'),
|
||||
1 => array('<', '>','='),
|
||||
2 => array('+', '-', '*', '/', '%'),
|
||||
3 => array('!', '^', '&', '|'),
|
||||
4 => array('?', ':', ';')
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000ff;',
|
||||
2 => 'color: #0000ff;',
|
||||
3 => 'color: #0000dd;',
|
||||
4 => 'color: #0000ff;',
|
||||
5 => 'color: #4000dd;',
|
||||
6 => 'color: #4000dd;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666;',
|
||||
2 => 'color: #339900;',
|
||||
3 => 'color: #FF0000;',
|
||||
4 => 'color: #FF0000;',
|
||||
'MULTI' => 'color: #ff0000; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #008000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #FF0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0000dd;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #208080;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #007788;',
|
||||
2 => 'color: #007788;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #008000;',
|
||||
1 => 'color: #000080;',
|
||||
2 => 'color: #000040;',
|
||||
3 => 'color: #000040;',
|
||||
4 => 'color: #008080;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://www.google.com/search?q={FNAMEL}+msdn.microsoft.com',
|
||||
6 => 'http://www.google.com/search?q={FNAMEL}+msdn.microsoft.com'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
2 => '::'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\|%\\-])"
|
||||
)
|
||||
)
|
||||
);
|
|
@ -7,13 +7,15 @@
|
|||
* - M. Uli Kusterer (witness.of.teachtext@gmx.net)
|
||||
* - Jack Lloyd (lloyd@randombit.net)
|
||||
* Copyright: (c) 2004 Dennis Bayer, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/09/27
|
||||
*
|
||||
* C++ language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2013/11/06
|
||||
* - Added nullptr from c++11 & others
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2004/XX/XX (1.0.2)
|
||||
|
@ -52,11 +54,31 @@ $language_data = array (
|
|||
'LANG_NAME' => 'C++',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
//Multiline-continued single-line comments
|
||||
'COMMENT_REGEXP' => array(1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//C++ 11 string literal extensions
|
||||
3 => '/(?:L|u8?|U)(?=")/',
|
||||
//C++ 11 string literal extensions (raw)
|
||||
4 => '/R"([^()\s\\\\]*)\((?:(?!\)\\1").)*\)\\1"/ms'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[abfnrtv\\\'\"?\n]#",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
|
@ -81,10 +103,13 @@ $language_data = array (
|
|||
'EXIT_FAILURE', 'EXIT_SUCCESS', 'RAND_MAX', 'CLOCKS_PER_SEC',
|
||||
'virtual', 'public', 'private', 'protected', 'template', 'using', 'namespace',
|
||||
'try', 'catch', 'inline', 'dynamic_cast', 'const_cast', 'reinterpret_cast',
|
||||
'static_cast', 'explicit', 'friend', 'wchar_t', 'typename', 'typeid', 'class'
|
||||
'static_cast', 'explicit', 'friend', 'typename', 'typeid', 'class', 'nullptr',
|
||||
'decltype', 'override', 'final', 'noexcept', 'alignas', 'alignof', 'noreturn',
|
||||
'constexpr', 'and', 'and_eq', 'asm', 'bitand', 'bitor', 'thread_local',
|
||||
'static_assert', 'compl', 'or', 'or_eq', 'xor', 'xor_eq', 'not', 'not_eq'
|
||||
),
|
||||
3 => array(
|
||||
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this',
|
||||
'cin', 'cerr', 'clog', 'cout', 'delete', 'new', 'this', 'export',
|
||||
'printf', 'fprintf', 'snprintf', 'sprintf', 'assert',
|
||||
'isalnum', 'isalpha', 'isdigit', 'iscntrl', 'isgraph', 'islower', 'isprint',
|
||||
'ispunct', 'isspace', 'isupper', 'isxdigit', 'tolower', 'toupper',
|
||||
|
@ -106,11 +131,26 @@ $language_data = array (
|
|||
'asctime', 'ctime', 'gmtime', 'localtime', 'strftime'
|
||||
),
|
||||
4 => array(
|
||||
'auto', 'bool', 'char', 'const', 'double', 'float', 'int', 'long', 'longint',
|
||||
'register', 'short', 'shortint', 'signed', 'static', 'struct',
|
||||
'typedef', 'union', 'unsigned', 'void', 'volatile', 'extern', 'jmp_buf',
|
||||
'signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t', 'FILE', 'fpos_t',
|
||||
'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm',
|
||||
'auto', 'bool', 'char', 'char16_t', 'char32_t', 'const', 'double', 'float',
|
||||
'int', 'long', 'longint','register', 'short', 'shortint', 'signed',
|
||||
'static', 'struct', 'typedef', 'union', 'unsigned', 'void', 'volatile',
|
||||
'extern', 'jmp_buf','signal', 'raise', 'va_list', 'ptrdiff_t', 'size_t',
|
||||
'FILE', 'fpos_t', 'div_t', 'ldiv_t', 'clock_t', 'time_t', 'tm', 'wchar_t',
|
||||
'mutable',
|
||||
|
||||
'int8', 'int16', 'int32', 'int64',
|
||||
'uint8', 'uint16', 'uint32', 'uint64',
|
||||
|
||||
'int_fast8_t', 'int_fast16_t', 'int_fast32_t', 'int_fast64_t',
|
||||
'uint_fast8_t', 'uint_fast16_t', 'uint_fast32_t', 'uint_fast64_t',
|
||||
|
||||
'int_least8_t', 'int_least16_t', 'int_least32_t', 'int_least64_t',
|
||||
'uint_least8_t', 'uint_least16_t', 'uint_least32_t', 'uint_least64_t',
|
||||
|
||||
'int8_t', 'int16_t', 'int32_t', 'int64_t',
|
||||
'uint8_t', 'uint16_t', 'uint32_t', 'uint64_t',
|
||||
|
||||
'intmax_t', 'uintmax_t', 'intptr_t', 'uintptr_t'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -122,10 +162,10 @@ $language_data = array (
|
|||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
|
@ -137,10 +177,18 @@ $language_data = array (
|
|||
'COMMENTS' => array(
|
||||
1 => 'color: #666666;',
|
||||
2 => 'color: #339900;',
|
||||
3 => 'color: #FF0000;',
|
||||
4 => 'color: #FF0000;',
|
||||
'MULTI' => 'color: #ff0000; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #666666; font-weight: bold;'
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #008000;'
|
||||
|
@ -200,5 +248,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -3,16 +3,23 @@
|
|||
* csharp.php
|
||||
* ----------
|
||||
* Author: Alan Juden (alan@judenware.org)
|
||||
* Revised by: Michael Mol (mikemol@gmail.com)
|
||||
* Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/06/04
|
||||
*
|
||||
* C# language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2015/04/14
|
||||
* - Added C# 5.0 and 6.0 missing keywords and #pragma directive
|
||||
* 2012/06/18 (1.0.8.11)
|
||||
* - Added missing keywords (Christian Stelzmann)
|
||||
* 2009/04/03 (1.0.8.6)
|
||||
* - Added missing keywords identified by Rosetta Code users.
|
||||
* 2008/05/25 (1.0.7.22)
|
||||
* - Added highlighting of using and namespace directives as non-OOP
|
||||
* - Added highlighting of using and namespace directives as non-OOP
|
||||
* 2005/01/05 (1.0.1)
|
||||
* - Used hardquote support for @"..." strings (Cliff Stanford)
|
||||
* 2004/11/27 (1.0.0)
|
||||
|
@ -52,30 +59,33 @@ $language_data = array (
|
|||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'HARDQUOTE' => array('@"', '"'),
|
||||
'HARDESCAPE' => array('""'),
|
||||
'HARDESCAPE' => array('"'),
|
||||
'HARDCHAR' => '"',
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'as', 'auto', 'base', 'break', 'case', 'catch', 'const', 'continue',
|
||||
'abstract', 'add', 'as', 'async', 'await', 'base',
|
||||
'break', 'by', 'case', 'catch', 'const', 'continue',
|
||||
'default', 'do', 'else', 'event', 'explicit', 'extern', 'false',
|
||||
'finally', 'fixed', 'for', 'foreach', 'goto', 'if', 'implicit',
|
||||
'in', 'internal', 'lock', 'namespace', 'null', 'operator', 'out',
|
||||
'override', 'params', 'partial', 'private', 'protected', 'public',
|
||||
'readonly', 'ref', 'return', 'sealed', 'stackalloc', 'static',
|
||||
'switch', 'this', 'throw', 'true', 'try', 'unsafe', 'using',
|
||||
'virtual', 'void', 'while'
|
||||
'finally', 'fixed', 'for', 'foreach', 'from', 'get', 'goto', 'group', 'if',
|
||||
'implicit', 'in', 'into', 'internal', 'join', 'lock', 'namespace', 'null',
|
||||
'operator', 'out', 'override', 'params', 'partial', 'private',
|
||||
'protected', 'public', 'readonly', 'remove', 'ref', 'return', 'sealed',
|
||||
'select', 'set', 'stackalloc', 'static', 'switch', 'this', 'throw', 'true',
|
||||
'try', 'unsafe', 'using', 'var', 'value', 'virtual', 'volatile', 'where',
|
||||
'while', 'yield'
|
||||
),
|
||||
2 => array(
|
||||
'#elif', '#endif', '#endregion', '#else', '#error', '#define', '#if',
|
||||
'#line', '#region', '#undef', '#warning'
|
||||
'#line', '#pragma', '#region', '#undef', '#warning'
|
||||
),
|
||||
3 => array(
|
||||
'checked', 'is', 'new', 'sizeof', 'typeof', 'unchecked'
|
||||
'checked', 'is', 'new', 'nameof', 'sizeof', 'typeof', 'unchecked'
|
||||
),
|
||||
4 => array(
|
||||
'bool', 'byte', 'char', 'class', 'decimal', 'delegate', 'double',
|
||||
'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte',
|
||||
'short', 'string', 'struct', 'uint', 'ulong', 'ushort'
|
||||
'dynamic', 'enum', 'float', 'int', 'interface', 'long', 'object', 'sbyte',
|
||||
'short', 'string', 'struct', 'uint', 'ulong', 'ushort', 'void'
|
||||
),
|
||||
5 => array(
|
||||
'Microsoft.Win32',
|
||||
|
@ -168,7 +178,7 @@ $language_data = array (
|
|||
),
|
||||
'SYMBOLS' => array(
|
||||
'+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', ':', ';',
|
||||
'(', ')', '{', '}', '[', ']', '|'
|
||||
'(', ')', '{', '}', '[', ']', '|', '.'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
|
@ -180,10 +190,10 @@ $language_data = array (
|
|||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0600FF;',
|
||||
1 => 'color: #0600FF; font-weight: bold;',
|
||||
2 => 'color: #FF8000; font-weight: bold;',
|
||||
3 => 'color: #008000;',
|
||||
4 => 'color: #FF0000;',
|
||||
4 => 'color: #6666cc; font-weight: bold;',
|
||||
5 => 'color: #000000;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
|
@ -197,7 +207,7 @@ $language_data = array (
|
|||
'HARD' => 'color: #008080; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;'
|
||||
0 => 'color: #008000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #666666;',
|
||||
|
@ -241,9 +251,7 @@ $language_data = array (
|
|||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#>|^])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_<\|%\\-])"
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_%\\-])"
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
File diff suppressed because it is too large
Load diff
136
serendipity_event_geshi/geshi/cuesheet.php
Normal file
136
serendipity_event_geshi/geshi/cuesheet.php
Normal file
|
@ -0,0 +1,136 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* cuesheet.php
|
||||
* ----------
|
||||
* Author: Benny Baumann (benbe@geshi.org)
|
||||
* Copyright: (c) 2009 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/12/21
|
||||
*
|
||||
* Cuesheet language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/12/21 (1.0.8.6)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2009/12/21)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Cuesheet',
|
||||
'COMMENT_SINGLE' => array(1 => ';'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Single-Line Comments using REM command
|
||||
1 => "/(?<=\bREM\b).*?$/im",
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'CATALOG','CDTEXTFILE','FILE','FLAGS','INDEX','ISRC','PERFORMER',
|
||||
'POSTGAP','PREGAP','REM','SONGWRITER','TITLE','TRACK'
|
||||
),
|
||||
2 => array(
|
||||
'AIFF', 'BINARY', 'MOTOROLA', 'MP3', 'WAVE'
|
||||
),
|
||||
3 => array(
|
||||
'4CH', 'DCP', 'PRE', 'SCMS'
|
||||
),
|
||||
4 => array(
|
||||
'AUDIO', 'CDG', 'MODE1/2048', 'MODE1/2336', 'MODE2/2336',
|
||||
'MODE2/2352', 'CDI/2336', 'CDI/2352'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
':'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #000066; font-weight: bold;',
|
||||
3 => 'color: #000066; font-weight: bold;',
|
||||
4 => 'color: #000066; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080;',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #006600;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000066;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color: #000099;',
|
||||
2 => 'color: #009900;',
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://digitalx.org/cuesheetsyntax.php#{FNAMEL}',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
2 => '\b[A-Za-z0-9]{5}\d{7}\b',
|
||||
1 => '(?<=[\s:]|^)\d+(?=[\s:]|$)',
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 2,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![\w\.])',
|
||||
'DISALLOWED_AFTER' => '(?![\w\.])',
|
||||
)
|
||||
)
|
||||
);
|
|
@ -3,14 +3,18 @@
|
|||
* d.php
|
||||
* -----
|
||||
* Author: Thomas Kuehne (thomas@kuehne.cn)
|
||||
* Contributors:
|
||||
* - Jimmy Cao
|
||||
* Copyright: (c) 2005 Thomas Kuehne (http://thomas.kuehne.cn/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/04/22
|
||||
*
|
||||
* D language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2011/06/28 (0.0.3) (Jimmy Cao)
|
||||
* - added D2 features
|
||||
* 2005/04/22 (0.0.2)
|
||||
* - added _d_* and sizeof/ptrdiff_t
|
||||
* 2005/04/20 (0.0.1)
|
||||
|
@ -45,10 +49,10 @@
|
|||
$language_data = array (
|
||||
'LANG_NAME' => 'D',
|
||||
'COMMENT_SINGLE' => array(2 => '///', 1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/', '/+' => '+/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
// doxygen comments
|
||||
3 => '#/\*\*(?!\*).*\*/#sU',
|
||||
3 => '#/\*\*(?![\*\/]).*\*/#sU',
|
||||
// raw strings
|
||||
4 => '#r"[^"]*"#s',
|
||||
// Script Style interpreter comment
|
||||
|
@ -59,7 +63,7 @@ $language_data = array (
|
|||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[abfnrtv\\'\"?\n]#i",
|
||||
1 => "#\\\\[abfnrtv\\'\"?\n\\\\]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
|
@ -126,63 +130,39 @@ $language_data = array (
|
|||
1 => array(
|
||||
'break', 'case', 'continue', 'do', 'else',
|
||||
'for', 'foreach', 'goto', 'if', 'return',
|
||||
'switch', 'while'
|
||||
'switch', 'while', 'foreach_reverse'
|
||||
),
|
||||
2 => array(
|
||||
'alias', 'asm', 'assert', 'body', 'cast',
|
||||
'catch', 'default', 'delegate', 'delete',
|
||||
'extern', 'false', 'finally', 'function',
|
||||
'import', 'in', 'inout', 'interface',
|
||||
'invariant', 'is', 'mixin', 'module', 'new',
|
||||
'null', 'out', 'pragma', 'super', 'this',
|
||||
'throw', 'true', 'try', 'typedef', 'typeid',
|
||||
'typeof', 'union', 'with'
|
||||
'import', 'in', 'inout',
|
||||
'invariant', 'is', 'lazy', 'mixin', 'module', 'new',
|
||||
'null', 'out', 'pragma', 'ref', 'super', 'this',
|
||||
'throw', 'true', 'try', 'typeid',
|
||||
'typeof', 'union', 'with', 'scope'
|
||||
),
|
||||
3 => array(
|
||||
'ArrayBoundsError', 'AssertError',
|
||||
'ClassInfo', 'Error', 'Exception',
|
||||
'Interface', 'ModuleInfo', 'Object',
|
||||
'OutOfMemoryException', 'SwitchError',
|
||||
'TypeInfo', '_d_arrayappend',
|
||||
'_d_arrayappendb', '_d_arrayappendc',
|
||||
'_d_arrayappendcb', '_d_arraycast',
|
||||
'_d_arraycast_frombit', '_d_arraycat',
|
||||
'_d_arraycatb', '_d_arraycatn',
|
||||
'_d_arraycopy', '_d_arraycopybit',
|
||||
'_d_arraysetbit', '_d_arraysetbit2',
|
||||
'_d_arraysetlength', '_d_arraysetlengthb',
|
||||
'_d_callfinalizer',
|
||||
'_d_create_exception_object',
|
||||
'_d_criticalenter', '_d_criticalexit',
|
||||
'_d_delarray', '_d_delclass',
|
||||
'_d_delinterface', '_d_delmemory',
|
||||
'_d_dynamic_cast', '_d_exception',
|
||||
'_d_exception_filter', '_d_framehandler',
|
||||
'_d_interface_cast', '_d_interface_vtbl',
|
||||
'_d_invariant', '_d_isbaseof',
|
||||
'_d_isbaseof2', '_d_local_unwind',
|
||||
'_d_monitorenter', '_d_monitorexit',
|
||||
'_d_monitorrelease', '_d_monitor_epilog',
|
||||
'_d_monitor_handler', '_d_monitor_prolog',
|
||||
'_d_new', '_d_newarrayi', '_d_newbitarray',
|
||||
'_d_newclass', '_d_obj_cmp', '_d_obj_eq',
|
||||
'_d_OutOfMemory', '_d_switch_dstring',
|
||||
'_d_switch_string', '_d_switch_ustring',
|
||||
'_d_throw',
|
||||
'Interface', 'Object', 'IMonitor',
|
||||
'OffsetTypeInfo', 'Throwable',
|
||||
'TypeInfo_Class', 'TypeInfo', '__traits',
|
||||
'__EOF__', '__FILE__', '__LINE__',
|
||||
),
|
||||
4 => array(
|
||||
'abstract', 'align', 'auto', 'bit', 'bool',
|
||||
'byte', 'cdouble', 'cent', 'cfloat', 'char',
|
||||
'class', 'const', 'creal', 'dchar', 'debug',
|
||||
'byte', 'cdouble', 'cfloat', 'char',
|
||||
'class', 'const', 'creal', 'dchar', 'dstring', 'debug',
|
||||
'deprecated', 'double', 'enum', 'export',
|
||||
'final', 'float', 'idouble', 'ifloat', 'int',
|
||||
'ireal', 'long', 'override', 'package',
|
||||
'private', 'protected', 'ptrdiff_t',
|
||||
'public', 'real', 'short', 'size_t',
|
||||
'static', 'struct', 'synchronized',
|
||||
'final', 'float', 'idouble', 'ifloat', 'immutable', 'int',
|
||||
'interface', 'ireal', 'long', 'nothrow', 'override',
|
||||
'package', 'private', 'protected', 'ptrdiff_t',
|
||||
'public', 'real', 'short', 'shared', 'size_t',
|
||||
'static', 'string', 'struct', 'synchronized',
|
||||
'template', 'ubyte', 'ucent', 'uint',
|
||||
'ulong', 'unittest', 'ushort', 'version',
|
||||
'void', 'volatile', 'wchar'
|
||||
'void', 'volatile', 'wchar', 'wstring',
|
||||
'__gshared', '@disable', '@property', 'pure', 'safe'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -268,5 +248,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
159
serendipity_event_geshi/geshi/dart.php
Normal file
159
serendipity_event_geshi/geshi/dart.php
Normal file
|
@ -0,0 +1,159 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* dart.php
|
||||
* --------
|
||||
* Author: Edward Hart (edward.dan.hart@gmail.com)
|
||||
* Copyright: (c) 2013 Edward Hart
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2013/10/25
|
||||
*
|
||||
* Dart language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2013/10/25
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2013/10/25)
|
||||
* -------------------------
|
||||
* - Highlight standard library types.
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'Dart',
|
||||
|
||||
'COMMENT_SINGLE' => array('//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(),
|
||||
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[\\\\nrfbtv\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
4 => "#\\\\u\\{[\da-fA-F]*\\}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE |
|
||||
GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'abstract', 'as', 'assert', 'break', 'case', 'catch', 'class',
|
||||
'const', 'continue', 'default', 'do', 'dynamic', 'else', 'export',
|
||||
'extends', 'external', 'factory', 'false', 'final', 'finally',
|
||||
'for', 'get', 'if', 'implements', 'import', 'in', 'is', 'library',
|
||||
'new', 'null', 'operator', 'part', 'return', 'set', 'static',
|
||||
'super', 'switch', 'this', 'throw', 'true', 'try', 'typedef', 'var',
|
||||
'while', 'with'
|
||||
),
|
||||
2 => array(
|
||||
'double', 'bool', 'int', 'num', 'void'
|
||||
),
|
||||
),
|
||||
|
||||
'SYMBOLS' => array(
|
||||
0 => array('(', ')', '{', '}', '[', ']'),
|
||||
1 => array('+', '-', '*', '/', '%', '~'),
|
||||
2 => array('&', '|', '^'),
|
||||
3 => array('=', '!', '<', '>'),
|
||||
4 => array('?', ':'),
|
||||
5 => array('..'),
|
||||
6 => array(';', ',')
|
||||
),
|
||||
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
),
|
||||
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'font-weight: bold;',
|
||||
2 => 'color: #445588; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
0 => 'color: #999988; font-style: italic;',
|
||||
'MULTI' => 'color: #999988; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #660099; font-weight: bold;',
|
||||
3 => 'color: #660099; font-weight: bold;',
|
||||
4 => 'color: #660099; font-weight: bold;',
|
||||
5 => 'color: #006699; font-weight: bold;',
|
||||
'HARD' => ''
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #d14;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #009999;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #208080;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color:#800080;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color:#800080;'
|
||||
),
|
||||
'BRACKETS' => array(''),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #006633;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'font-weight: bold;',
|
||||
1 => 'font-weight: bold;',
|
||||
2 => 'font-weight: bold;',
|
||||
3 => 'font-weight: bold;',
|
||||
4 => 'font-weight: bold;',
|
||||
5 => 'font-weight: bold;',
|
||||
6 => 'font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
190
serendipity_event_geshi/geshi/dcl.php
Normal file
190
serendipity_event_geshi/geshi/dcl.php
Normal file
|
@ -0,0 +1,190 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* dcl.php
|
||||
* --------
|
||||
* Author: Petr Hendl (petr@hendl.cz)
|
||||
* Copyright: (c) 2011 Petr Hendl http://hendl.cz/geshi/
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2011/02/17
|
||||
*
|
||||
* DCL language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2011-02-17 (1.0.8.11)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'DCL',
|
||||
'COMMENT_SINGLE' => array('$!', '!'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(
|
||||
2 => '/(?<=\$)\s*sql\s+.*?(?:quit|exit);?\s*?$/sim' // do not highlight inline sql
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'HARDESCAPE' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
1 => "/''[a-zA-Z\\-_]+'/"
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
1 => array( // commands
|
||||
'ACCOUNTING', 'ALLOCATE', 'ANALYZE', 'APPEND', 'ASSIGN', 'ATTACH', 'BACKUP',
|
||||
'CALL', 'CANCEL', 'CHECKSUM', 'CLOSE', 'CONNECT', 'CONTINUE', 'CONVERT',
|
||||
'COPY', 'CREATE', 'DEALLOCATE', 'DEASSIGN', 'DEBUG', 'DECK',
|
||||
'DECRYPT', 'DEFINE', 'DELETE', 'DEPOSIT', 'DIFFERENCES', 'DIRECTORY',
|
||||
'DISABLE', 'AUTOSTART', 'DISCONNECT', 'DISMOUNT', 'DUMP', 'EDIT', 'ENABLE',
|
||||
'ENCRYPT', 'ENDSUBROUTINE', 'EOD', 'EOJ', 'EXAMINE', 'EXCHANGE',
|
||||
'EXIT', 'FONT', 'GOSUB', 'GOTO', 'HELP', 'IF', 'THEN', 'ELSE', 'ENDIF', 'INITIALIZE', 'INQUIRE',
|
||||
'INSTALL', 'JAVA', 'JOB', 'LIBRARY', 'LICENSE', 'LINK', 'LOGIN', 'LOGOUT',
|
||||
'MACRO', 'MAIL', 'MERGE', 'MESSAGE', 'MONITOR', 'MOUNT', 'NCS', 'ON', 'OPEN',
|
||||
'PASSWORD', 'PATCH', 'PHONE', 'PIPE', 'PPPD', 'PRINT', 'PRODUCT', 'PURGE',
|
||||
'READ', 'RECALL', 'RENAME', 'REPLY', 'REQUEST', 'RETURN', 'RMU', 'RUN', 'RUNOFF',
|
||||
'SEARCH', 'SET', 'SET AUDIT', 'SET BOOTBLOCK', 'SET BROADCAST',
|
||||
'SET CACHE', 'SET CARD_READER', 'SET CLUSTER', 'SET COMMAND', 'SET CONTROL',
|
||||
'SET CPU', 'SET DAY', 'SET DEFAULT', 'SET DEVICE', 'SET DIRECTORY',
|
||||
'SET DISPLAY', 'SET ENTRY', 'SET FILE', 'SET HOST', 'SET IMAGE', 'SET KEY',
|
||||
'SET LOGINS', 'SET MAGTAPE', 'SET MESSAGE', 'SET NETWORK', 'SET ON', 'SET OUTPUT_RATE',
|
||||
'SET PASSWORD', 'SET PREFERRED_PATH', 'SET PREFIX', 'SET PRINTER', 'SET PROCESS',
|
||||
'SET PROMPT', 'SET PROTECTION', 'SET QUEUE', 'SET RESTART_VALUE',
|
||||
'SET RIGHTS_LIST', 'SET RMS_DEFAULT', 'SET ROOT', 'SET SECURITY',
|
||||
'SET SERVER ACME_SERVER', 'SET SERVER REGISTRY_SERVER', 'SET SERVER SECURITY_SERVER',
|
||||
'SET SHADOW', 'SET SYMBOL', 'SET TERMINAL', 'SET TIME', 'SET VERIFY',
|
||||
'SET VOLUME', 'SET WORKING_SET', 'SHOW', 'SHOW AUDIT',
|
||||
'SHOW BROADCAST', 'SHOW CLUSTER', 'SHOW CPU', 'SHOW DEFAULT', 'SHOW DEVICES',
|
||||
'SHOW DISPLAY', 'SHOW ENTRY', 'SHOW ERROR', 'SHOW FASTPATH', 'SHOW IMAGE',
|
||||
'SHOW INTRUSION', 'SHOW KEY', 'SHOW LICENSE', 'SHOW LOGICAL', 'SHOW MEMORY',
|
||||
'SHOW NETWORK', 'SHOW PRINTER', 'SHOW PROCESS', 'SHOW PROTECTION', 'SHOW QUEUE',
|
||||
'SHOW QUOTA', 'SHOW RMS_DEFAULT', 'SHOW ROOT', 'SHOW SECURITY',
|
||||
'SHOW SERVER ACME_SERVER', 'SHOW SERVER REGISTRY_SERVER', 'SHOW SHADOW',
|
||||
'SHOW STATUS', 'SHOW SYMBOL', 'SHOW SYSTEM', 'SHOW TERMINAL', 'SHOW TIME',
|
||||
'SHOW TRANSLATION', 'SHOW USERS', 'SHOW WORKING_SET', 'SHOW ZONE', 'SORT',
|
||||
'SPAWN', 'START', 'STOP', 'SUBMIT', 'SUBROUTINE', 'SYNCHRONIZE', 'TYPE',
|
||||
'UNLOCK', 'VIEW', 'WAIT', 'WRITE', 'XAUTH'
|
||||
),
|
||||
2 => array( // lexical functions
|
||||
'F$CONTEXT', 'F$CSID', 'F$CUNITS', 'F$CVSI', 'F$CVTIME', 'F$CVUI',
|
||||
'F$DELTA_TIME', 'F$DEVICE', 'F$DIRECTORY', 'F$EDIT', 'F$ELEMENT',
|
||||
'F$ENVIRONMENT', 'F$EXTRACT', 'F$FAO', 'F$FID_TO_NAME', 'F$FILE_ATTRIBUTES',
|
||||
'F$GETDVI', 'F$GETENV', 'F$GETJPI', 'F$GETQUI', 'F$GETSYI', 'F$IDENTIFIER',
|
||||
'F$INTEGER', 'F$LENGTH', 'F$LICENSE', 'F$LOCATE', 'F$MATCH_WILD', 'F$MESSAGE',
|
||||
'F$MODE', 'F$MULTIPATH', 'F$PARSE', 'F$PID', 'F$PRIVILEGE', 'F$PROCESS',
|
||||
'F$SEARCH', 'F$SETPRV', 'F$STRING', 'F$TIME', 'F$TRNLNM', 'F$TYPE', 'F$UNIQUE',
|
||||
'F$USER', 'F$VERIFY'
|
||||
),
|
||||
3 => array( // special variables etc
|
||||
'sql$database', 'P1', 'P2', 'P3', 'P4', 'P5', 'P6', 'P7', 'P8', 'P9',
|
||||
'$status', '$severity', 'sys$login', 'sys$system',
|
||||
'sys$input', 'sys$output', 'sys$pipe'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']', '@', '&', '|', '<', '>', '-',
|
||||
'.eqs.', '.eq.', '.lt.', '.lts.', '.gt.', '.gts.', '.ne.', '.nes.',
|
||||
'.le.', '.ge.', '.ges.', '.les.',
|
||||
'.EQS.', '.EQ.', '.LT.', '.LTS.', '.GT.', '.GTS.', '.NE.', '.NES.',
|
||||
'.LE.', '.GE.', '.GES.', '.LES.',
|
||||
'.and.', '.or.', '.not.',
|
||||
'.AND.', '.OR.', '.NOT.',
|
||||
'==', ':==', '=', ':='
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #0066FF;',
|
||||
3 => 'color: #993300;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
0 => 'color: #666666; font-style: italic;',
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
2 => 'color: #9999FF; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #006666;',
|
||||
1 => 'color: #0099FF;',
|
||||
2 => 'color: red;',
|
||||
3 => 'color: #007800;',
|
||||
4 => 'color: #007800;',
|
||||
5 => 'color: #780078;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #7a0874; font-weight: bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #0099FF;', // variables
|
||||
1 => 'color: #0000FF;', // qualifiers
|
||||
2 => 'color: #FF6600; font-weight: bold;' // labels
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
// variables
|
||||
0 => "'[a-zA-Z_\\-$]+'",
|
||||
// qualifiers and parameters
|
||||
1 => "(?:\/[a-zA-Z_\/]+)[\s=]",
|
||||
// labels
|
||||
2 => '(?<=\$)\s*[a-zA-Z\-_]+:'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'COMMENTS' => array(
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
)
|
||||
)
|
||||
);
|
129
serendipity_event_geshi/geshi/dcpu16.php
Normal file
129
serendipity_event_geshi/geshi/dcpu16.php
Normal file
|
@ -0,0 +1,129 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* dcpu16.php
|
||||
* -------
|
||||
* Author: Benny Baumann (BenBE@omorphia.de)
|
||||
* Copyright: (c) 2007-2014 Benny Baumann (http://geshi.org/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2012/04/12
|
||||
*
|
||||
* DCPU/16 Assembly language file for GeSHi.
|
||||
* Syntax definition based on http://0x10c.com/doc/dcpu-16.txt
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2012/04/12 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2012/04/12)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'DCPU-16 Assembly',
|
||||
'COMMENT_SINGLE' => array(1 => ';'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'NUMBERS' => GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_HEX_PREFIX,
|
||||
'KEYWORDS' => array(
|
||||
/*CPU*/
|
||||
1 => array(
|
||||
'set','add','sub','mul','div','mod','shl','shr','and','bor','xor',
|
||||
'ife','ifn','ifg','ifb',
|
||||
'jsr'
|
||||
),
|
||||
/*registers*/
|
||||
2 => array(
|
||||
'a','b','c','x','y','z','i','j',
|
||||
'pc','sp','o',
|
||||
'pop','peek','push' //Special cases with DCPU-16
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'[', ']', '+', '-', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000088; font-weight:bold;',
|
||||
2 => 'color: #0000ff;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #adadad; font-style: italic;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000088;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #7f007f;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #880000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #008000;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
2 => 'color: #993333;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://0x10c.com/doc/dcpu-16.txt',
|
||||
2 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//Hex numbers
|
||||
//0 => '0[0-9a-fA-F]{1,32}[hH]',
|
||||
//Binary numbers
|
||||
//1 => '\%[01]{1,64}|[01]{1,64}[bB]?(?![^<]*>)',
|
||||
//Labels
|
||||
2 => '^:[_a-zA-Z][_a-zA-Z0-9]?(?=\s|$)'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#\/])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\|%\\-])"
|
||||
)
|
||||
)
|
||||
);
|
180
serendipity_event_geshi/geshi/dcs.php
Normal file
180
serendipity_event_geshi/geshi/dcs.php
Normal file
|
@ -0,0 +1,180 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* dcs.php
|
||||
* ---------------------------------
|
||||
* Author: Stelio Passaris (GeSHi@stelio.net)
|
||||
* Copyright: (c) 2009 Stelio Passaris (http://stelio.net/stiki/GeSHi)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/01/20
|
||||
*
|
||||
* DCS language file for GeSHi.
|
||||
*
|
||||
* DCS (Data Conversion System) is part of Sungard iWorks' Prophet suite and is used
|
||||
* to convert external data files into a format that Prophet and Glean can read.
|
||||
* See http://www.prophet-web.com/Products/DCS for product information.
|
||||
* This language file is current for DCS version 7.3.2.
|
||||
*
|
||||
* Note that the DCS IDE does not handle escape characters correctly. The IDE thinks
|
||||
* that a backslash '\' is an escape character, but in practice the backslash does
|
||||
* not escape the string delimiter character '"' when the program runs. A '\\' is
|
||||
* escaped to '\' when the program runs, but '\"' is treated as '\' at the end of a
|
||||
* string. Therefore in this language file, we do not recognise the backslash as an
|
||||
* escape character. For the purposes of GeSHi, there is no character escaping.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/02/21 (1.0.8.3)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2009/02/21)
|
||||
* -------------------------
|
||||
* * Add handling for embedded C code. Note that the DCS IDE does not highlight C code
|
||||
* correctly, but that doesn't mean that we can't! This will be included for a
|
||||
* stable release of GeSHi of version 1.1.x (or later) that allows for highlighting
|
||||
* embedded code using that code's appropriate language file.
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'DCS',
|
||||
'COMMENT_SINGLE' => array(
|
||||
1 => ';'
|
||||
),
|
||||
'COMMENT_MULTI' => array(
|
||||
),
|
||||
'COMMENT_REGEXP' => array(
|
||||
// Highlight embedded C code in a separate color:
|
||||
2 => '/\bINSERT_C_CODE\b.*?\bEND_C_CODE\b/ims'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
|
||||
'QUOTEMARKS' => array(
|
||||
'"'
|
||||
),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => '',
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'abs', 'ascii_value', 'bit_value', 'blank_date', 'calc_unit_values', 'cm',
|
||||
'complete_months', 'complete_years', 'correct', 'create_input_file', 'cy',
|
||||
'date_convert', 'day', 'del_output_separator',
|
||||
'delete_existing_output_files', 'div', 'ex', 'exact_years', 'exp',
|
||||
'extract_date', 'failed_validation', 'file_number', 'first_record',
|
||||
'fract', 'fund_fac_a', 'fund_fac_b', 'fund_fac_c', 'fund_fac_d',
|
||||
'fund_fac_e', 'fund_fac_f', 'fund_fac_g', 'fund_fac_h', 'fund_fac_i',
|
||||
'fund_fac_j', 'fund_fac_k', 'fund_fac_l', 'fund_fac_m', 'fund_fac_n',
|
||||
'fund_fac_o', 'fund_fac_p', 'fund_fac_q', 'fund_fac_r', 'fund_fac_s',
|
||||
'fund_fac_t', 'fund_fac_u', 'fund_fac_v', 'fund_fac_w', 'fund_fac_x',
|
||||
'fund_fac_y', 'fund_fac_z', 'group', 'group_record',
|
||||
'input_file_date_time', 'input_file_extension', 'input_file_location',
|
||||
'input_file_name', 'int', 'invalid', 'last_record', 'leap_year', 'len',
|
||||
'ln', 'log', 'main_format_name', 'max', 'max_num_subrecords', 'message',
|
||||
'min', 'mod', 'month', 'months_add', 'months_sub', 'nearest_months',
|
||||
'nearest_years', 'next_record', 'nm', 'no_of_current_records',
|
||||
'no_of_records', 'numval', 'ny', 'output', 'output_array_as_constants',
|
||||
'output_file_path', 'output_record', 'pmdf_output', 'previous', 'rand',
|
||||
're_start', 'read_generic_table', 'read_generic_table_text',
|
||||
'read_input_footer', 'read_input_footer_text', 'read_input_header',
|
||||
'read_input_header_text', 'record_count', 'record_suppressed', 'round',
|
||||
'round_down', 'round_near', 'round_up', 'run_dcs_program', 'run_parameter',
|
||||
'run_parameter_text', 'set_main_record', 'set_num_subrecords',
|
||||
'sort_array', 'sort_current_records', 'sort_input', 'strval', 'substr',
|
||||
'summarise', 'summarise_record', 'summarise_units',
|
||||
'summarise_units_record', 'suppress_record', 'table_correct',
|
||||
'table_validate', 'terminate', 'time', 'today', 'trim', 'ubound', 'year',
|
||||
'years_add', 'years_sub'
|
||||
),
|
||||
2 => array(
|
||||
'and', 'as', 'begin', 'boolean', 'byref', 'byval', 'call', 'case', 'date',
|
||||
'default', 'do', 'else', 'elseif', 'end_c_code', 'endfor', 'endfunction',
|
||||
'endif', 'endproc', 'endswitch', 'endwhile', 'eq',
|
||||
'explicit_declarations', 'false', 'for', 'from', 'function', 'ge', 'gt',
|
||||
'if', 'insert_c_code', 'integer', 'le', 'loop', 'lt', 'ne', 'not',
|
||||
'number', 'or', 'private', 'proc', 'public', 'quitloop', 'return',
|
||||
'short', 'step', 'switch', 'text', 'then', 'to', 'true', 'while'
|
||||
),
|
||||
3 => array(
|
||||
// These keywords are not highlighted by the DCS IDE but we may as well
|
||||
// keep track of them anyway:
|
||||
'mp_file', 'odbc_file'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']',
|
||||
'=', '<', '>',
|
||||
'+', '-', '*', '/', '^',
|
||||
':', ','
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: red;',
|
||||
2 => 'color: blue;',
|
||||
3 => 'color: black;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: black; background-color: silver;',
|
||||
// Colors for highlighting embedded C code:
|
||||
2 => 'color: maroon; background-color: pink;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: black;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: green;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: green;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: black;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
|
@ -4,13 +4,17 @@
|
|||
* ----------
|
||||
* Author: J<EFBFBD>rja Norbert (jnorbi@vipmail.hu), Benny Baumann (BenBE@omorphia.de)
|
||||
* Copyright: (c) 2004 J<EFBFBD>rja Norbert, Benny Baumann (BenBE@omorphia.de), Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/07/26
|
||||
*
|
||||
* Delphi (Object Pascal) language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2012/06/27 (1.0.8.11)
|
||||
* - Added some keywords
|
||||
* - fixed hex numbers and hex char literals (including WideChar)
|
||||
* - Added support for FPC-Style generics
|
||||
* 2008/05/23 (1.0.7.22)
|
||||
* - Added description of extra language features (SF#1970248)
|
||||
* 2005/11/19 (1.0.3)
|
||||
|
@ -50,28 +54,29 @@ $language_data = array (
|
|||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('(*' => '*)', '{' => '}'),
|
||||
//Compiler directives
|
||||
'COMMENT_REGEXP' => array(2 => '/{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'),
|
||||
'CASE_KEYWORDS' => 0,
|
||||
'COMMENT_REGEXP' => array(2 => '/\\{\\$.*?}|\\(\\*\\$.*?\\*\\)/U'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'"),
|
||||
'ESCAPE_CHAR' => '',
|
||||
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'Abstract', 'And', 'Array', 'As', 'Asm', 'At', 'Begin', 'Case',
|
||||
'Class', 'Const', 'Constructor', 'Contains', 'Destructor',
|
||||
'Class', 'Const', 'Constructor', 'Contains', 'Default', 'delayed', 'Destructor',
|
||||
'DispInterface', 'Div', 'Do', 'DownTo', 'Else', 'End', 'Except',
|
||||
'Export', 'Exports', 'External', 'File', 'Finalization', 'Finally',
|
||||
'For', 'Function', 'Goto', 'If', 'Implementation', 'In', 'Inherited',
|
||||
'Initialization', 'Inline', 'Interface', 'Is', 'Label', 'Library',
|
||||
'Mod', 'Not', 'Object', 'Of', 'On', 'Or', 'Overload', 'Override',
|
||||
'Export', 'Exports', 'External', 'File', 'Finalization', 'Finally', 'For',
|
||||
'Function', 'Generic', 'Goto', 'If', 'Implementation', 'In', 'Inherited',
|
||||
'Initialization', 'Inline', 'Interface', 'Is', 'Label', 'Library', 'Message',
|
||||
'Mod', 'Nil', 'Not', 'Object', 'Of', 'On', 'Or', 'Overload', 'Override',
|
||||
'Package', 'Packed', 'Private', 'Procedure', 'Program', 'Property',
|
||||
'Protected', 'Public', 'Published', 'Raise', 'Record', 'Register',
|
||||
'Repeat', 'Requires', 'Resourcestring', 'Set', 'Shl', 'Shr', 'Then',
|
||||
'ThreadVar', 'To', 'Try', 'Type', 'Unit', 'Until', 'Uses', 'Var',
|
||||
'Virtual', 'While', 'With', 'Xor', 'assembler', 'far',
|
||||
'near', 'pascal', 'register', 'cdecl', 'safecall', 'stdcall', 'varargs'
|
||||
'Protected', 'Public', 'Published', 'Read', 'Raise', 'Record', 'Register',
|
||||
'Repeat', 'Requires', 'Resourcestring', 'Set', 'Shl', 'Shr', 'Specialize', 'Stored',
|
||||
'Then', 'ThreadVar', 'To', 'Try', 'Type', 'Unit', 'Until', 'Uses', 'Var',
|
||||
'Virtual', 'While', 'With', 'Write', 'Xor', 'assembler', 'far',
|
||||
'near', 'pascal', 'cdecl', 'safecall', 'stdcall', 'varargs'
|
||||
),
|
||||
2 => array(
|
||||
'nil', 'false', 'self', 'true', 'var', 'type', 'const'
|
||||
'false', 'self', 'true',
|
||||
),
|
||||
3 => array(
|
||||
'Abs', 'AcquireExceptionObject', 'Addr', 'AnsiToUtf8', 'Append', 'ArcTan',
|
||||
|
@ -250,7 +255,7 @@ $language_data = array (
|
|||
1 => 'color: #006600;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #9ac;',
|
||||
0 => 'color: #0000cc;',
|
||||
1 => 'color: #ff0000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -274,16 +279,21 @@ $language_data = array (
|
|||
),
|
||||
'REGEXPS' => array(
|
||||
//Hex numbers
|
||||
0 => '\$[0-9a-fA-F]+',
|
||||
0 => '(?<!\#)\$[0-9a-fA-F]+(?!\w)',
|
||||
//Characters
|
||||
1 => '\#\$?[0-9]{1,3}'
|
||||
1 => '\#(?:\$[0-9a-fA-F]{1,4}|\d{1,5})'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 2
|
||||
'TAB_WIDTH' => 2,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
3 => array(
|
||||
'DISALLOWED_AFTER' => '(?=\s*[(;])'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Conny Brunnkvist (conny@fuchsia.se), W. Tasin (tasin@fhm.edu)
|
||||
* Copyright: (c) 2004 Fuchsia Open Source Solutions (http://www.fuchsia.se/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/12/29
|
||||
*
|
||||
* Diff-output language file for GeSHi.
|
||||
|
@ -54,20 +54,20 @@ $language_data = array (
|
|||
1 => array(
|
||||
'\ No newline at end of file'
|
||||
),
|
||||
2 => array(
|
||||
'***************' /* This only seems to works in some cases? */
|
||||
),
|
||||
// 2 => array(
|
||||
// '***************' /* This only seems to works in some cases? */
|
||||
// ),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
1 => false,
|
||||
2 => false
|
||||
// 2 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #aaaaaa; font-style: italic;',
|
||||
2 => 'color: #dd6611;',
|
||||
// 2 => 'color: #dd6611;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
),
|
||||
|
@ -107,7 +107,7 @@ $language_data = array (
|
|||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => ''
|
||||
// 2 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
|
@ -115,7 +115,7 @@ $language_data = array (
|
|||
0 => "[0-9,]+[acd][0-9,]+",
|
||||
//Removed lines
|
||||
1 => array(
|
||||
GESHI_SEARCH => '^\\<.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))\\<.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -123,7 +123,7 @@ $language_data = array (
|
|||
),
|
||||
//Inserted lines
|
||||
2 => array(
|
||||
GESHI_SEARCH => '^\\>.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))\\>.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -131,7 +131,7 @@ $language_data = array (
|
|||
),
|
||||
//Location line
|
||||
3 => array(
|
||||
GESHI_SEARCH => '^[\\-]{3}\\s.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))-{3}\\s.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -139,7 +139,7 @@ $language_data = array (
|
|||
),
|
||||
//Inserted line
|
||||
4 => array(
|
||||
GESHI_SEARCH => '^(\\+){3}\\s.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))(\\+){3}\\s.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -147,7 +147,7 @@ $language_data = array (
|
|||
),
|
||||
//Modified line
|
||||
5 => array(
|
||||
GESHI_SEARCH => '^\\!.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))\\!.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -155,7 +155,7 @@ $language_data = array (
|
|||
),
|
||||
//File specification
|
||||
6 => array(
|
||||
GESHI_SEARCH => '^[\\@]{2}.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))[\\@]{2}.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -163,7 +163,7 @@ $language_data = array (
|
|||
),
|
||||
//Removed line
|
||||
7 => array(
|
||||
GESHI_SEARCH => '^\\-.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))\\-.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -171,7 +171,7 @@ $language_data = array (
|
|||
),
|
||||
//Inserted line
|
||||
8 => array(
|
||||
GESHI_SEARCH => '^\\+.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))\\+.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -179,7 +179,7 @@ $language_data = array (
|
|||
),
|
||||
//File specification
|
||||
9 => array(
|
||||
GESHI_SEARCH => '^(\\*){3}\\s.*$',
|
||||
GESHI_SEARCH => '(^|(?<=\A\s))(\\*){3}\\s.*$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
|
@ -192,5 +192,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Gabriel Lorenzo (ermakina@gmail.com)
|
||||
* Copyright: (c) 2005 Gabriel Lorenzo (http://ermakina.gazpachito.net)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/06/19
|
||||
*
|
||||
* DIV language file for GeSHi.
|
||||
|
@ -122,5 +122,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* -------
|
||||
* Author: Alessandro Staltari (staltari@geocities.com)
|
||||
* Copyright: (c) 2005 Alessandro Staltari (http://www.geocities.com/SiliconValley/Vista/8155/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/07/05
|
||||
*
|
||||
* DOS language file for GeSHi.
|
||||
|
@ -64,7 +64,11 @@ $language_data = array (
|
|||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
//DOS comment lines
|
||||
'COMMENT_REGEXP' => array(1 => "/^\s*@?REM.*$/mi"),
|
||||
'COMMENT_REGEXP' => array(
|
||||
1 => "/^\s*@?REM\b.*$/mi",
|
||||
2 => "/^\s*::.*$/m",
|
||||
3 => "/\^./"
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
|
@ -97,7 +101,7 @@ $language_data = array (
|
|||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '@', '%'
|
||||
'(', ')', '@', '%', '!', '|', '<', '>', '&'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
|
@ -114,7 +118,9 @@ $language_data = array (
|
|||
4 => 'color: #0000ff; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080; font-style: italic;'
|
||||
1 => 'color: #808080; font-style: italic;',
|
||||
2 => 'color: #b100b1; font-style: italic;',
|
||||
3 => 'color: #33cc33;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #ff0000; font-weight: bold;'
|
||||
|
@ -139,7 +145,8 @@ $language_data = array (
|
|||
'REGEXPS' => array(
|
||||
0 => 'color: #b100b1; font-weight: bold;',
|
||||
1 => 'color: #448844;',
|
||||
2 => 'color: #448888;'
|
||||
2 => 'color: #448888;',
|
||||
3 => 'color: #448888;'
|
||||
)
|
||||
),
|
||||
'OOLANG' => false,
|
||||
|
@ -155,7 +162,7 @@ $language_data = array (
|
|||
/* Label */
|
||||
0 => array(
|
||||
/* GESHI_SEARCH => '((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((?<!\n)[^\s\n]*)',*/
|
||||
GESHI_SEARCH => '((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((?<!\n)[^\n]*)',
|
||||
GESHI_SEARCH => '((?si:[@\s]+GOTO\s+|\s+:)[\s]*)((?<!\n)[^\s\n]*)',
|
||||
GESHI_REPLACE => '\\2',
|
||||
GESHI_MODIFIERS => 'si',
|
||||
GESHI_BEFORE => '\\1',
|
||||
|
@ -164,7 +171,7 @@ $language_data = array (
|
|||
/* Variable assignement */
|
||||
1 => array(
|
||||
/* GESHI_SEARCH => '(SET[\s]+(?si:\/A[\s]+|\/P[\s]+|))([^=\s\n]+)([\s]*=)',*/
|
||||
GESHI_SEARCH => '(SET[\s]+(?si:\/A[\s]+|\/P[\s]+|))([^=\n]+)([\s]*=)',
|
||||
GESHI_SEARCH => '(SET\s+(?si:\\/A\s+|\\/P\s+)?)([^=\n]+)(\s*=)',
|
||||
GESHI_REPLACE => '\\2',
|
||||
GESHI_MODIFIERS => 'si',
|
||||
GESHI_BEFORE => '\\1',
|
||||
|
@ -172,6 +179,15 @@ $language_data = array (
|
|||
),
|
||||
/* Arguments or variable evaluation */
|
||||
2 => array(
|
||||
/* GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((?<!%\d)%|)',*/
|
||||
GESHI_SEARCH => '(!(?:!(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^!>\n]*(?=!))((?<!%\d)%|)(?!!>)',
|
||||
GESHI_REPLACE => '\\2',
|
||||
GESHI_MODIFIERS => 'si',
|
||||
GESHI_BEFORE => '\\1',
|
||||
GESHI_AFTER => '\\3'
|
||||
),
|
||||
/* Arguments or variable evaluation */
|
||||
3 => array(
|
||||
/* GESHI_SEARCH => '(%)([\d*]|[^%\s]*(?=%))((?<!%\d)%|)',*/
|
||||
GESHI_SEARCH => '(%(?:%(?=[a-z0-9]))?)([\d*]|(?:~[adfnpstxz]*(?:$\w+:)?)?[a-z0-9](?!\w)|[^%\n]*(?=%))((?<!%\d)%|)',
|
||||
GESHI_REPLACE => '\\2',
|
||||
|
@ -187,12 +203,23 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'BRACKETS' => GESHI_NEVER,
|
||||
'NUMBERS' => GESHI_NEVER
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![\w\-])'
|
||||
),
|
||||
2 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![\w\-])'
|
||||
),
|
||||
3 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![\w\-])'
|
||||
),
|
||||
4 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<!\w)'
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------------------------
|
||||
* Author: Adrien Friggeri (adrien@friggeri.net)
|
||||
* Copyright: (c) 2007 Adrien Friggeri (http://www.friggeri.net)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/05/30
|
||||
*
|
||||
* dot language file for GeSHi.
|
||||
|
@ -63,14 +63,14 @@ $language_data = array (
|
|||
'node', 'graph', 'digraph', 'strict', 'edge', 'subgraph'
|
||||
),
|
||||
3 => array(
|
||||
'Mcircle', 'Mdiamond', 'Mrecord', 'Msquare', 'TRUE', 'auto', 'back',
|
||||
'bold', 'both', 'box', 'circle', 'compress', 'dashed', 'diamond', 'dot',
|
||||
'dotted', 'doublecircle', 'doubleoctagon', 'egg', 'ellipse', 'epsf', 'false',
|
||||
'fill', 'filled', 'forward', 'global', 'hexagon', 'house', 'inv', 'invdot',
|
||||
'invhouse', 'invis', 'invodot', 'invtrapezium', 'invtriangle', 'local', 'max',
|
||||
'min', 'none', 'normal', 'octagon', 'odot', 'out', 'parallelogram', 'plaintext',
|
||||
'polygon', 'record', 'same', 'solid', 'trapezium', 'triangle', 'tripleoctagon',
|
||||
'true'
|
||||
'Mcircle', 'Mdiamond', 'Mrecord', 'Msquare', 'auto', 'back', 'bold',
|
||||
'both', 'box', 'circle', 'compress', 'dashed', 'diamond', 'dot',
|
||||
'dotted', 'doublecircle', 'doubleoctagon', 'egg', 'ellipse', 'epsf',
|
||||
'false', 'fill', 'filled', 'forward', 'global', 'hexagon', 'house',
|
||||
'inv', 'invdot', 'invhouse', 'invis', 'invodot', 'invtrapezium',
|
||||
'invtriangle', 'local', 'max', 'min', 'none', 'normal', 'octagon',
|
||||
'odot', 'out', 'parallelogram', 'plaintext', 'polygon', 'record',
|
||||
'same', 'solid', 'trapezium', 'triangle', 'tripleoctagon', 'true'
|
||||
),
|
||||
4 => array(
|
||||
'aliceblue', 'antiquewhite', 'aquamarine', 'azure', 'beige', 'bisque', 'black',
|
||||
|
@ -160,5 +160,3 @@ $language_data = array (
|
|||
3 => true
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
206
serendipity_event_geshi/geshi/e.php
Normal file
206
serendipity_event_geshi/geshi/e.php
Normal file
|
@ -0,0 +1,206 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* e.php
|
||||
* --------
|
||||
* Author: Kevin Reid (kpreid@switchb.org)
|
||||
* Copyright: (c) 2010 Kevin Reid (http://switchb.org/kpreid/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/04/16
|
||||
*
|
||||
* E language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010-04-21 (1.0.8.8)
|
||||
* - Fixing langcheck-reported bugs.
|
||||
* 2010-04-14 (0.1)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2010-04-21)
|
||||
* -------------------------
|
||||
* - Do something useful with the keyword groups. Since RC uses CSS classes named
|
||||
* by the group numbers, either
|
||||
* - change the numbering to match conventional uses by other languages,
|
||||
* - or find or create some way to produce usefully named classes.
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'E',
|
||||
'COMMENT_SINGLE' => array(1 => '#'),
|
||||
'COMMENT_MULTI' => array('/**' => '*/'), // Note: This is method doc, not a general comment syntax.
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
|
||||
// FIXME: The escaping inside ` is actually doubling of any interior `, $, or @ -- backslash is NOT special
|
||||
'QUOTEMARKS' => array('\'', '"', '`'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
|
||||
'KEYWORDS' => array(
|
||||
// builtin control structures
|
||||
1 => array(
|
||||
'accum', 'break', 'try', 'continue', 'if', 'while', 'for', 'switch'
|
||||
),
|
||||
|
||||
// control structures subsidiary keywords
|
||||
2 => array(
|
||||
'catch', 'else', 'finally', 'in', 'exit'
|
||||
),
|
||||
|
||||
// named operators
|
||||
3 => array(
|
||||
'fn', 'via'
|
||||
),
|
||||
|
||||
// variable/function/object definers
|
||||
4 => array(
|
||||
'def', 'bind', 'var'
|
||||
),
|
||||
|
||||
// object definition subsidiary keywords
|
||||
5 => array(
|
||||
'extends', 'as', 'implements', 'guards', 'match', 'to', 'method'
|
||||
),
|
||||
|
||||
// builtin nouns in safeEnv
|
||||
6 => array(
|
||||
'null', 'false', 'true', 'throw', '__loop', '__makeList',
|
||||
'__makeMap', '__makeProtocolDesc', '__makeMessageDesc',
|
||||
'__makeParamDesc', 'any', 'void', 'boolean', '__makeOrderedSpace',
|
||||
'ValueGuard', '__MatchContext', 'require', '__makeVerbFacet', 'NaN',
|
||||
'Infinity', '__identityFunc', '__makeInt', '__makeFinalSlot',
|
||||
'__makeVarSlot', '__makeGuardedSlot', '__makeGuard', '__makeTwine',
|
||||
'__makeSourceSpan', '__auditedBy', 'Guard', 'near', 'pbc',
|
||||
'PassByCopy', 'DeepPassByCopy', 'Data', 'Persistent', 'DeepFrozen',
|
||||
'int', 'float64', 'char', 'String', 'Twine', 'TextWriter', 'List',
|
||||
'Map', 'nullOk', 'Tuple', '__Portrayal', 'notNull', 'vow', 'rcvr',
|
||||
'SturdyRef', 'simple__quasiParser', 'twine__quasiParser',
|
||||
'rx__quasiParser', 'e__quasiParser', 'epatt__quasiParser',
|
||||
'sml__quasiParser', 'term__quasiParser', 'traceln', '__equalizer',
|
||||
'__comparer', 'Ref', 'E', 'promiseAllFulfilled', 'EIO', 'help',
|
||||
'safeScope', '__eval', 'resource__uriGetter', 'type__uriGetter',
|
||||
'import__uriGetter', 'elib__uriGetter', 'elang__uriGetter',
|
||||
'opaque__uriGetter'
|
||||
),
|
||||
|
||||
// builtin nouns in privilegedEnv
|
||||
7 => array(
|
||||
'file__uriGetter', 'fileURL__uriGetter', 'jar__uriGetter',
|
||||
'http__uriGetter', 'ftp__uriGetter', 'gopher__uriGetter',
|
||||
'news__uriGetter', 'cap__uriGetter', 'makeCommand', 'stdout',
|
||||
'stderr', 'stdin', 'print', 'println', 'interp', 'entropy', 'timer',
|
||||
'introducer', 'identityMgr', 'makeSturdyRef', 'timeMachine',
|
||||
'unsafe__uriGetter', 'currentVat', 'rune', 'awt__uriGetter',
|
||||
'swing__uriGetter', 'JPanel__quasiParser', 'swt__uriGetter',
|
||||
'currentDisplay', 'swtGrid__quasiParser', 'swtGrid`',
|
||||
'privilegedScope'
|
||||
),
|
||||
|
||||
// reserved keywords
|
||||
8 => array(
|
||||
'abstract', 'an', 'assert', 'attribute', 'be', 'begin', 'behalf',
|
||||
'belief', 'believe', 'believes', 'case', 'class', 'const',
|
||||
'constructor', 'declare', 'default', 'define', 'defmacro',
|
||||
'delicate', 'deprecated', 'dispatch', 'do', 'encapsulate',
|
||||
'encapsulated', 'encapsulates', 'end', 'ensure', 'enum', 'eventual',
|
||||
'eventually', 'export', 'facet', 'forall', 'function', 'given',
|
||||
'hidden', 'hides', 'inline', 'is', 'know', 'knows', 'lambda', 'let',
|
||||
'methods', 'module', 'namespace', 'native', 'obeys', 'octet',
|
||||
'oneway', 'operator', 'package', 'private', 'protected', 'public',
|
||||
'raises', 'reliance', 'reliant', 'relies', 'rely', 'reveal', 'sake',
|
||||
'signed', 'static', 'struct', 'suchthat', 'supports', 'suspect',
|
||||
'suspects', 'synchronized', 'this', 'transient', 'truncatable',
|
||||
'typedef', 'unsigned', 'unum', 'uses', 'using', 'utf8', 'utf16',
|
||||
'virtual', 'volatile', 'wstring'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
1 => array(
|
||||
'(', ')', '{', '}', '[', ']', '+', '-', '*', '/', '%', '=', '<', '>', '!', '^', '&', '|', '?', ':', ';', ','
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true,
|
||||
7 => true,
|
||||
8 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #b1b100;',
|
||||
2 => 'color: #b1b100;',
|
||||
3 => 'color: #b1b100;',
|
||||
4 => 'color: #b1b100;',
|
||||
5 => 'color: #b1b100;',
|
||||
6 => 'color: #b1b100;',
|
||||
7 => 'color: #b1b100;',
|
||||
8 => 'color: #b1b100;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
'MULTI' => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #004000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
1 => 'color: #339933;'
|
||||
),
|
||||
'REGEXPS' => array(),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://wiki.erights.org/wiki/{FNAME}',
|
||||
2 => 'http://wiki.erights.org/wiki/{FNAME}',
|
||||
3 => 'http://wiki.erights.org/wiki/{FNAME}',
|
||||
4 => 'http://wiki.erights.org/wiki/{FNAME}',
|
||||
5 => 'http://wiki.erights.org/wiki/{FNAME}',
|
||||
6 => 'http://wiki.erights.org/wiki/{FNAME}',
|
||||
7 => 'http://wiki.erights.org/wiki/{FNAME}',
|
||||
8 => 'http://wiki.erights.org/wiki/{FNAME}'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
2 => '<-',
|
||||
3 => '::'
|
||||
),
|
||||
'REGEXPS' => array(),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
208
serendipity_event_geshi/geshi/ecmascript.php
Normal file
208
serendipity_event_geshi/geshi/ecmascript.php
Normal file
|
@ -0,0 +1,208 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* ecmascript.php
|
||||
* --------------
|
||||
* Author: Michel Mariani (http://www.tonton-pixel.com/site/)
|
||||
* Copyright: (c) 2010 Michel Mariani (http://www.tonton-pixel.com/site/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/01/08
|
||||
*
|
||||
* ECMAScript language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/01/08 (1.0.8.6)
|
||||
* - First Release
|
||||
* - Adapted from javascript.php to support plain ECMAScript/JavaScript (no HTML, no DOM)
|
||||
* - Fixed regular expression for 'COMMENT_REGEXP' to exclude 'COMMENT_MULTI' syntax
|
||||
* - Added '~' and removed '@' from 'SYMBOLS'
|
||||
* - Cleaned up and expanded the list of 'KEYWORDS'
|
||||
* - Added support for 'ESCAPE_REGEXP' and 'NUMBERS' (from c.php)
|
||||
* - Selected colors to match my web site color chart
|
||||
* - Added full number highlighting in all C language style formats
|
||||
* - Added highlighting of escape sequences in strings, in all C language style formats including Unicode (\uXXXX).
|
||||
*
|
||||
* TODO (updated 2010/01/08)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'ECMAScript',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
// Regular Expression Literals
|
||||
'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\*\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\*\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\*\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[\\\\abfnrtv\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs
|
||||
2 => "#\\\\x[\da-fA-F]{2}#",
|
||||
//Hexadecimal Char Specs
|
||||
3 => "#\\\\u[\da-fA-F]{4}#",
|
||||
//Hexadecimal Char Specs
|
||||
4 => "#\\\\U[\da-fA-F]{8}#",
|
||||
//Octal Char Specs
|
||||
5 => "#\\\\[0-7]{1,3}#"
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE | GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX | GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array( // Reserved literals
|
||||
'false', 'true',
|
||||
'null'
|
||||
),
|
||||
2 => array( // Main keywords
|
||||
'break', 'case', 'catch', 'continue', 'default', 'delete', 'do', 'else',
|
||||
'finally', 'for', 'function', 'if', 'in', 'instanceof', 'new', 'return',
|
||||
'switch', 'this', 'throw', 'try', 'typeof', 'var', 'void', 'while',
|
||||
'with'
|
||||
),
|
||||
3 => array( // Extra keywords or keywords reserved for future use
|
||||
'abstract', 'as', 'boolean', 'byte', 'char', 'class', 'const', 'debugger',
|
||||
'double', 'enum', 'export', 'extends', 'final', 'float', 'goto', 'implements',
|
||||
'import', 'int', 'interface', 'is', 'long', 'native', 'namespace', 'package',
|
||||
'private', 'protected', 'public', 'short', 'static', 'super', 'synchronized', 'throws',
|
||||
'transient', 'use', 'volatile'
|
||||
),
|
||||
4 => array( // Operators
|
||||
'get', 'set'
|
||||
),
|
||||
5 => array( // Built-in object classes
|
||||
'Array', 'Boolean', 'Date', 'EvalError', 'Error', 'Function', 'Math', 'Number',
|
||||
'Object', 'RangeError', 'ReferenceError', 'RegExp', 'String', 'SyntaxError', 'TypeError', 'URIError'
|
||||
),
|
||||
6 => array( // Global properties
|
||||
'Infinity', 'NaN', 'undefined'
|
||||
),
|
||||
7 => array( // Global methods
|
||||
'decodeURI', 'decodeURIComponent', 'encodeURI', 'encodeURIComponent',
|
||||
'eval', 'isFinite', 'isNaN', 'parseFloat', 'parseInt',
|
||||
// The escape and unescape functions do not work properly for non-ASCII characters and have been deprecated.
|
||||
// In JavaScript 1.5 and later, use encodeURI, decodeURI, encodeURIComponent, and decodeURIComponent.
|
||||
'escape', 'unescape'
|
||||
),
|
||||
8 => array( // Function's arguments
|
||||
'arguments'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '[', ']', '{', '}',
|
||||
'+', '-', '*', '/', '%',
|
||||
'!', '.', '&', '|', '^',
|
||||
'<', '>', '=', '~',
|
||||
',', ';', '?', ':'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true,
|
||||
7 => true,
|
||||
8 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #009999;',
|
||||
2 => 'color: #1500C8;',
|
||||
3 => 'color: #1500C8;',
|
||||
4 => 'color: #1500C8;',
|
||||
5 => 'color: #1500C8;',
|
||||
6 => 'color: #1500C8;',
|
||||
7 => 'color: #1500C8;',
|
||||
8 => 'color: #1500C8;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
2 => 'color: #CC0000;',
|
||||
'MULTI' => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #3366CC;',
|
||||
1 => 'color: #3366CC;',
|
||||
2 => 'color: #3366CC;',
|
||||
3 => 'color: #3366CC;',
|
||||
4 => 'color: #3366CC;',
|
||||
5 => 'color: #3366CC;',
|
||||
'HARD' => '',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #008800;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #9900FF;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #FF00FF;',
|
||||
GESHI_NUMBER_BIN_PREFIX_0B => 'color: #FF00FF;',
|
||||
GESHI_NUMBER_OCT_PREFIX => 'color: #FF00FF;',
|
||||
GESHI_NUMBER_HEX_PREFIX => 'color: #FF00FF;',
|
||||
GESHI_NUMBER_FLT_SCI_SHORT => 'color: #FF00FF;',
|
||||
GESHI_NUMBER_FLT_SCI_ZERO => 'color: #FF00FF;',
|
||||
GESHI_NUMBER_FLT_NONSCI_F => 'color: #FF00FF;',
|
||||
GESHI_NUMBER_FLT_NONSCI => 'color: #FF00FF;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #660066;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
0 => '',
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => '',
|
||||
7 => '',
|
||||
8 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Zoran Simic (zsimic@axarosenberg.com)
|
||||
* Copyright: (c) 2005 Zoran Simic
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/06/30
|
||||
*
|
||||
* Eiffel language file for GeSHi.
|
||||
|
@ -391,5 +391,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------
|
||||
* Author: Benny Baumann (BenBE@geshi.org)
|
||||
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/10/19
|
||||
*
|
||||
* Email (mbox \ eml \ RFC format) language file for GeSHi.
|
||||
|
@ -47,17 +47,21 @@ $language_data = array (
|
|||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'HTTP', 'SMTP', 'ASMTP', 'ESMTP'
|
||||
),
|
||||
2 => array(
|
||||
'content-type','content-transfer-encoding','content-disposition',
|
||||
'delivered-to','dkim-signature','domainkey-signature','message-id',
|
||||
'mime-version','received','received-spf','resend-from','resend-to',
|
||||
'return-path',
|
||||
'Authentication-Results','Comment','Content-Description','Content-Type',
|
||||
'Content-Disposition','Content-Transfer-Encoding','Delivered-To',
|
||||
'Dkim-Signature','Domainkey-Signature','In-Reply-To','Message-Id',
|
||||
'MIME-Version','OpenPGP','Received','Received-SPF','References',
|
||||
'Reply-To', 'Resend-From','Resend-To','Return-Path','User-Agent'
|
||||
),
|
||||
3 => array(
|
||||
'date','from','subject','to',
|
||||
'Date','From','Sender','Subject','To','CC'
|
||||
),
|
||||
4 => array(
|
||||
'by', 'from', 'id', 'with'
|
||||
'by', 'for', 'from', 'id', 'with'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
|
@ -65,12 +69,14 @@ $language_data = array (
|
|||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000FF; font-weight: bold;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #800000; font-weight: bold;',
|
||||
4 => 'font-weight: bold;',
|
||||
|
@ -100,10 +106,14 @@ $language_data = array (
|
|||
'REGEXPS' => array(
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #0000FF;',
|
||||
3 => 'color: #008000;'
|
||||
3 => 'color: #008000;',
|
||||
4 => 'color: #0000FF; font-weight: bold;',
|
||||
5 => 'font-weight: bold;',
|
||||
6 => 'color: #400080;'
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => ''
|
||||
|
@ -114,7 +124,7 @@ $language_data = array (
|
|||
'REGEXPS' => array(
|
||||
// Non-Standard-Header
|
||||
1 => array(
|
||||
GESHI_SEARCH => "(?<![:=])x-[a-z0-9\-]*(?=\s*:|\s*<)",
|
||||
GESHI_SEARCH => "(?<=\A\x20|\n)x-[a-z0-9\-]*(?=\s*:|\s*<)",
|
||||
GESHI_REPLACE => "\\0",
|
||||
GESHI_MODIFIERS => "smi",
|
||||
GESHI_BEFORE => "",
|
||||
|
@ -122,7 +132,7 @@ $language_data = array (
|
|||
),
|
||||
//Email-Adresses or Mail-IDs
|
||||
2 => array(
|
||||
GESHI_SEARCH => "\b[\w\.]+@\w+(?:(?:\.\w+)*\.\w{2,4})?",
|
||||
GESHI_SEARCH => "\b(?<!\\/)(?P<q>\"?)[\w\.\-]+\k<q>@(?!-)[\w\-]+(?<!-)(?:(?:\.(?!-)[\w\-]+(?<!-))*)?",
|
||||
GESHI_REPLACE => "\\0",
|
||||
GESHI_MODIFIERS => "mi",
|
||||
GESHI_BEFORE => "",
|
||||
|
@ -137,11 +147,50 @@ $language_data = array (
|
|||
GESHI_MODIFIERS => "mi",
|
||||
GESHI_BEFORE => "",
|
||||
GESHI_AFTER => ""
|
||||
),
|
||||
//IP addresses
|
||||
4 => array(
|
||||
GESHI_SEARCH => "(?<=\s)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\s)|".
|
||||
"(?<=\[)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=\])|".
|
||||
"(?<==)\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(?=<)|".
|
||||
|
||||
"(?<=\s)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\s)|".
|
||||
"(?<=\[)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=\])|".
|
||||
"(?<==)(?:[a-f\d]{1,4}\:)+(?:[a-f\d]{0,4})?(?:\:[a-f\d]{1,4})+(?=<)|".
|
||||
|
||||
"(?<=\s)\:(?:\:[a-f\d]{1,4})+(?=\s)|".
|
||||
"(?<=\[)\:(?:\:[a-f\d]{1,4})+(?=\])|".
|
||||
"(?<==)\:(?:\:[a-f\d]{1,4})+(?=<)|".
|
||||
|
||||
"(?<=\s)(?:[a-f\d]{1,4}\:)+\:(?=\s)|".
|
||||
"(?<=\[)(?:[a-f\d]{1,4}\:)+\:(?=\])|".
|
||||
"(?<==)(?:[a-f\d]{1,4}\:)+\:(?=<)",
|
||||
GESHI_REPLACE => "\\0",
|
||||
GESHI_MODIFIERS => "i",
|
||||
GESHI_BEFORE => "",
|
||||
GESHI_AFTER => ""
|
||||
),
|
||||
//Field-Assignments
|
||||
5 => array(
|
||||
GESHI_SEARCH => "(?<=\s)[A-Z0-9\-\.]+(?==(?:$|\s$|[^\s=]))",
|
||||
GESHI_REPLACE => "\\0",
|
||||
GESHI_MODIFIERS => "mi",
|
||||
GESHI_BEFORE => "",
|
||||
GESHI_AFTER => ""
|
||||
),
|
||||
//MIME type
|
||||
6 => array(
|
||||
GESHI_SEARCH => "(?<=\s)(?:audio|application|image|multipart|text|".
|
||||
"video|x-[a-z0-9\-]+)\/[a-z0-9][a-z0-9\-]*(?=\s|<|$)",
|
||||
GESHI_REPLACE => "\\0",
|
||||
GESHI_MODIFIERS => "m",
|
||||
GESHI_BEFORE => "",
|
||||
GESHI_AFTER => ""
|
||||
)
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
0 => "/(^)[A-Z][a-zA-Z0-9\-]*\s*:\s*(?:.|(?=\n\s)\n)*($)/m"
|
||||
0 => "/(?P<start>^)[A-Za-z][a-zA-Z0-9\-]*\s*:\s*(?:.|(?=\n\s)\n)*(?P<end>$)/m"
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
0 => true,
|
||||
|
@ -150,11 +199,11 @@ $language_data = array (
|
|||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
2 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![:=])',
|
||||
'DISALLOWED_BEFORE' => '(?<=\A\x20|\n)',
|
||||
'DISALLOWED_AFTER' => '(?=\s*:)',
|
||||
),
|
||||
3 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![:=])',
|
||||
'DISALLOWED_BEFORE' => '(?<=\A\x20|\n)',
|
||||
'DISALLOWED_AFTER' => '(?=\s*:)',
|
||||
),
|
||||
4 => array(
|
||||
|
@ -169,5 +218,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
152
serendipity_event_geshi/geshi/epc.php
Normal file
152
serendipity_event_geshi/geshi/epc.php
Normal file
|
@ -0,0 +1,152 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* epc.php
|
||||
* --------
|
||||
* Author: Thorsten Muehlfelder (muehlfelder@enertex.de)
|
||||
* Copyright: (c) 2010 Enertex Bayern GmbH
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/08/26
|
||||
*
|
||||
* Enerscript language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/08/26 (1.0.8.10)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'EPC',
|
||||
'COMMENT_SINGLE' => array('//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//[Sections]
|
||||
//1 => "/^\\[.*\\]/"
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array(
|
||||
0 => '"',
|
||||
1 => '$'
|
||||
),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'if', 'then', 'else', 'endif',
|
||||
'and', 'or', 'xor', 'hysteresis'
|
||||
),
|
||||
2 => array(
|
||||
'read', 'write', 'event',
|
||||
'gettime', 'settime', 'getdate', 'setdate', 'gettimedate', 'settimedate',
|
||||
'hour', 'minute', 'second', 'changehour', 'changeminute', 'changesecond',
|
||||
'date', 'month', 'day', 'dayofweek', 'sun', 'azimuth', 'elevation',
|
||||
'sunrisehour', 'sunriseminute', 'sunsethour', 'sunsetminute',
|
||||
'wtime', 'htime', 'mtime', 'stime',
|
||||
'cwtime', 'chtime', 'cmtime', 'cstime',
|
||||
'delay', 'after', 'cycle',
|
||||
'readflash', 'writeflash',
|
||||
'abs', 'acos', 'asin', 'atan', 'cos', 'ceil', 'average', 'exp', 'floor',
|
||||
'log', 'max', 'min', 'mod', 'pow', 'sqrt', 'sin', 'tan', 'change', 'convert',
|
||||
'eval', 'systemstart', 'random', 'comobject', 'sleep', 'scene', 'storescene', 'callscene',
|
||||
'find', 'stringcast', 'stringset', 'stringformat', 'split', 'size',
|
||||
'readrs232'. 'sendrs232', 'address', 'readknx',
|
||||
'readudp', 'sendudp', 'connecttcp', 'closetcp', 'readtcp', 'sendtcp',
|
||||
'resolve', 'sendmail',
|
||||
'button', 'webbutton', 'chart', 'webchart', 'webdisplay', 'getslider', 'pshifter', 'mpshifter',
|
||||
'getpslider', 'mbutton', 'mbbutton', 'mchart', 'mpchart', 'mpbutton', 'pdisplay', 'pchart',
|
||||
'pbutton', 'setslider', 'setpslider', 'slider', 'pslider', 'page', 'line', 'header',
|
||||
'footer', 'none', 'plink', 'link', 'frame', 'dframe'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array(
|
||||
'%', 'b01',
|
||||
),
|
||||
1 => array(
|
||||
'+', '-', '==', '>=', '=<',
|
||||
),
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #e63ec3;',
|
||||
2 => 'color: #e63ec3;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
//1 => 'color: #ffa500;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
1 => 'color: #000099;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #8a0808;',
|
||||
1 => 'color: #6e6e6e;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #0b610b;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #0b610b;',
|
||||
1 => 'color: #e63ec3;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color: #0b610b;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
// Numbers, e.g. 255u08
|
||||
1 => "[0-9]*[subf][0136][12468]"
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'COMMENTS' => array(
|
||||
'DISALLOWED_BEFORE' => '$'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![\.\-a-zA-Z0-9_\$\#])",
|
||||
'DISALLOWED_AFTER' => "(?![\.\-a-zA-Z0-9_%=\\/])"
|
||||
)
|
||||
)
|
||||
);
|
439
serendipity_event_geshi/geshi/erlang.php
Normal file
439
serendipity_event_geshi/geshi/erlang.php
Normal file
|
@ -0,0 +1,439 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* erlang.php
|
||||
* --------
|
||||
* Author: Benny Baumann (BenBE@geshi.org)
|
||||
* Contributions:
|
||||
* - Uwe Dauernheim (uwe@dauernheim.net)
|
||||
* - Dan Forest-Barbier (dan@twisted.in)
|
||||
* Copyright: (c) 2008 Uwe Dauernheim (http://www.kreisquadratur.de/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008-09-27
|
||||
*
|
||||
* Erlang language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/05/02 (1.0.8.3)
|
||||
* - Now using 'PARSER_CONTROL' instead of huge rexgexps, better and cleaner
|
||||
*
|
||||
* 2009/04/26 (1.0.8.3)
|
||||
* - Only link to existing docs / Fixes
|
||||
*
|
||||
* 2008-09-28 (1.0.0.1)
|
||||
* [!] Bug fixed with keyword module.
|
||||
* [+] Added more function names
|
||||
*
|
||||
* 2008-09-27 (1.0.0)
|
||||
* [ ] First Release
|
||||
*
|
||||
* TODO (updated 2008-09-27)
|
||||
* -------------------------
|
||||
* [!] Stop ';' from being transformed to '<SEMI>'
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'Erlang',
|
||||
'COMMENT_SINGLE' => array(1 => '%'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'HARDQUOTE' => array("'", "'"),
|
||||
'HARDESCAPE' => array("'", "\\"),
|
||||
'HARDCHAR' => "\\",
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'NUMBERS' => GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
//Control flow keywrods
|
||||
1 => array(
|
||||
'after', 'andalso', 'begin', 'case', 'catch', 'end', 'fun', 'if',
|
||||
'of', 'orelse', 'receive', 'try', 'when', 'query'
|
||||
),
|
||||
//Binary operators
|
||||
2 => array(
|
||||
'and', 'band', 'bnot', 'bor', 'bsl', 'bsr', 'bxor', 'div', 'not',
|
||||
'or', 'rem', 'xor'
|
||||
),
|
||||
3 => array(
|
||||
'abs', 'alive', 'apply', 'atom_to_list', 'binary_to_list',
|
||||
'binary_to_term', 'concat_binary', 'date', 'disconnect_node',
|
||||
'element', 'erase', 'exit', 'float', 'float_to_list', 'get',
|
||||
'get_keys', 'group_leader', 'halt', 'hd', 'integer_to_list',
|
||||
'is_alive', 'length', 'link', 'list_to_atom', 'list_to_binary',
|
||||
'list_to_float', 'list_to_integer', 'list_to_pid', 'list_to_tuple',
|
||||
'load_module', 'make_ref', 'monitor_node', 'node', 'nodes', 'now',
|
||||
'open_port', 'pid_to_list', 'process_flag', 'process_info',
|
||||
'process', 'put', 'register', 'registered', 'round', 'self',
|
||||
'setelement', 'size', 'spawn', 'spawn_link', 'split_binary',
|
||||
'statistics', 'term_to_binary', 'throw', 'time', 'tl', 'trunc',
|
||||
'tuple_to_list', 'unlink', 'unregister', 'whereis'
|
||||
),
|
||||
// Built-In Functions
|
||||
4 => array(
|
||||
'atom', 'binary', 'constant', 'function', 'integer', 'is_atom',
|
||||
'is_binary', 'is_constant', 'is_function', 'is_integer', 'is_list',
|
||||
'is_number', 'is_pid', 'is_reference', 'is_record', 'list',
|
||||
'number', 'pid', 'ports', 'port_close', 'port_info', 'reference'
|
||||
),
|
||||
// Erlang/OTP internal modules (scary one)
|
||||
5 => array(
|
||||
'alarm_handler', 'any', 'app', 'application', 'appmon', 'appup',
|
||||
'array', 'asn1ct', 'asn1rt', 'auth', 'base64', 'beam_lib', 'c',
|
||||
'calendar', 'code', 'common_test_app', 'compile', 'config',
|
||||
'corba', 'corba_object', 'cosEventApp', 'CosEventChannelAdmin',
|
||||
'CosEventChannelAdmin_ConsumerAdmin',
|
||||
'CosEventChannelAdmin_EventChannel',
|
||||
'CosEventChannelAdmin_ProxyPullConsumer',
|
||||
'CosEventChannelAdmin_ProxyPullSupplier',
|
||||
'CosEventChannelAdmin_ProxyPushConsumer',
|
||||
'CosEventChannelAdmin_ProxyPushSupplier',
|
||||
'CosEventChannelAdmin_SupplierAdmin', 'CosEventDomainAdmin',
|
||||
'CosEventDomainAdmin_EventDomain',
|
||||
'CosEventDomainAdmin_EventDomainFactory',
|
||||
'cosEventDomainApp', 'CosFileTransfer_Directory',
|
||||
'CosFileTransfer_File', 'CosFileTransfer_FileIterator',
|
||||
'CosFileTransfer_FileTransferSession',
|
||||
'CosFileTransfer_VirtualFileSystem',
|
||||
'cosFileTransferApp', 'CosNaming', 'CosNaming_BindingIterator',
|
||||
'CosNaming_NamingContext', 'CosNaming_NamingContextExt',
|
||||
'CosNotification', 'CosNotification_AdminPropertiesAdmin',
|
||||
'CosNotification_QoSAdmin', 'cosNotificationApp',
|
||||
'CosNotifyChannelAdmin_ConsumerAdmin',
|
||||
'CosNotifyChannelAdmin_EventChannel',
|
||||
'CosNotifyChannelAdmin_EventChannelFactory',
|
||||
'CosNotifyChannelAdmin_ProxyConsumer',
|
||||
'CosNotifyChannelAdmin_ProxyPullConsumer',
|
||||
'CosNotifyChannelAdmin_ProxyPullSupplier',
|
||||
'CosNotifyChannelAdmin_ProxyPushConsumer',
|
||||
'CosNotifyChannelAdmin_ProxyPushSupplier',
|
||||
'CosNotifyChannelAdmin_ProxySupplier',
|
||||
'CosNotifyChannelAdmin_SequenceProxyPullConsumer',
|
||||
'CosNotifyChannelAdmin_SequenceProxyPullSupplier',
|
||||
'CosNotifyChannelAdmin_SequenceProxyPushConsumer',
|
||||
'CosNotifyChannelAdmin_SequenceProxyPushSupplier',
|
||||
'CosNotifyChannelAdmin_StructuredProxyPullConsumer',
|
||||
'CosNotifyChannelAdmin_StructuredProxyPullSupplier',
|
||||
'CosNotifyChannelAdmin_StructuredProxyPushConsumer',
|
||||
'CosNotifyChannelAdmin_StructuredProxyPushSupplier',
|
||||
'CosNotifyChannelAdmin_SupplierAdmin',
|
||||
'CosNotifyComm_NotifyPublish', 'CosNotifyComm_NotifySubscribe',
|
||||
'CosNotifyFilter_Filter', 'CosNotifyFilter_FilterAdmin',
|
||||
'CosNotifyFilter_FilterFactory', 'CosNotifyFilter_MappingFilter',
|
||||
'cosProperty', 'CosPropertyService_PropertiesIterator',
|
||||
'CosPropertyService_PropertyNamesIterator',
|
||||
'CosPropertyService_PropertySet',
|
||||
'CosPropertyService_PropertySetDef',
|
||||
'CosPropertyService_PropertySetDefFactory',
|
||||
'CosPropertyService_PropertySetFactory', 'cosTime',
|
||||
'CosTime_TimeService', 'CosTime_TIO', 'CosTime_UTO',
|
||||
'CosTimerEvent_TimerEventHandler',
|
||||
'CosTimerEvent_TimerEventService', 'cosTransactions',
|
||||
'CosTransactions_Control', 'CosTransactions_Coordinator',
|
||||
'CosTransactions_RecoveryCoordinator', 'CosTransactions_Resource',
|
||||
'CosTransactions_SubtransactionAwareResource',
|
||||
'CosTransactions_Terminator', 'CosTransactions_TransactionFactory',
|
||||
'cover', 'cprof', 'cpu_sup', 'crashdump', 'crypto', 'crypto_app',
|
||||
'ct', 'ct_cover', 'ct_ftp', 'ct_master', 'ct_rpc', 'ct_snmp',
|
||||
'ct_ssh', 'ct_telnet', 'dbg', 'debugger', 'dets', 'dialyzer',
|
||||
'dict', 'digraph', 'digraph_utils', 'disk_log', 'disksup',
|
||||
'docb_gen', 'docb_transform', 'docb_xml_check', 'docbuilder_app',
|
||||
'driver_entry', 'edoc', 'edoc_doclet', 'edoc_extract',
|
||||
'edoc_layout', 'edoc_lib', 'edoc_run', 'egd', 'ei', 'ei_connect',
|
||||
'epmd', 'epp', 'epp_dodger', 'eprof', 'erl', 'erl_boot_server',
|
||||
'erl_call', 'erl_comment_scan', 'erl_connect', 'erl_ddll',
|
||||
'erl_driver', 'erl_error', 'erl_eterm', 'erl_eval',
|
||||
'erl_expand_records', 'erl_format', 'erl_global', 'erl_id_trans',
|
||||
'erl_internal', 'erl_lint', 'erl_malloc', 'erl_marshal',
|
||||
'erl_parse', 'erl_pp', 'erl_prettypr', 'erl_prim_loader',
|
||||
'erl_prim_loader_stub', 'erl_recomment', 'erl_scan',
|
||||
'erl_set_memory_block', 'erl_syntax', 'erl_syntax_lib', 'erl_tar',
|
||||
'erl_tidy', 'erlang', 'erlang_mode', 'erlang_stub', 'erlc',
|
||||
'erlsrv', 'error_handler', 'error_logger', 'erts_alloc',
|
||||
'erts_alloc_config', 'escript', 'et', 'et_collector',
|
||||
'et_selector', 'et_viewer', 'etop', 'ets', 'eunit', 'file',
|
||||
'file_sorter', 'filelib', 'filename', 'fixed', 'fprof', 'ftp',
|
||||
'gb_sets', 'gb_trees', 'gen_event', 'gen_fsm', 'gen_sctp',
|
||||
'gen_server', 'gen_tcp', 'gen_udp', 'gl', 'global', 'global_group',
|
||||
'glu', 'gs', 'heart', 'http', 'httpd', 'httpd_conf',
|
||||
'httpd_socket', 'httpd_util', 'i', 'ic', 'ic_c_protocol',
|
||||
'ic_clib', 'igor', 'inet', 'inets', 'init', 'init_stub',
|
||||
'instrument', 'int', 'interceptors', 'inviso', 'inviso_as_lib',
|
||||
'inviso_lfm', 'inviso_lfm_tpfreader', 'inviso_rt',
|
||||
'inviso_rt_meta', 'io', 'io_lib', 'kernel_app', 'lib', 'lists',
|
||||
'lname', 'lname_component', 'log_mf_h', 'make', 'math', 'megaco',
|
||||
'megaco_codec_meas', 'megaco_codec_transform',
|
||||
'megaco_edist_compress', 'megaco_encoder', 'megaco_flex_scanner',
|
||||
'megaco_tcp', 'megaco_transport', 'megaco_udp', 'megaco_user',
|
||||
'memsup', 'mnesia', 'mnesia_frag_hash', 'mnesia_registry',
|
||||
'mod_alias', 'mod_auth', 'mod_esi', 'mod_security',
|
||||
'Module_Interface', 'ms_transform', 'net_adm', 'net_kernel',
|
||||
'new_ssl', 'nteventlog', 'observer_app', 'odbc', 'orber',
|
||||
'orber_acl', 'orber_diagnostics', 'orber_ifr', 'orber_tc',
|
||||
'orddict', 'ordsets', 'os', 'os_mon', 'os_mon_mib', 'os_sup',
|
||||
'otp_mib', 'overload', 'packages', 'percept', 'percept_profile',
|
||||
'pg', 'pg2', 'pman', 'pool', 'prettypr', 'proc_lib', 'proplists',
|
||||
'public_key', 'qlc', 'queue', 'random', 'rb', 're', 'regexp',
|
||||
'registry', 'rel', 'release_handler', 'reltool', 'relup', 'rpc',
|
||||
'run_erl', 'run_test', 'runtime_tools_app', 'sasl_app', 'script',
|
||||
'seq_trace', 'sets', 'shell', 'shell_default', 'slave', 'snmp',
|
||||
'snmp_app', 'snmp_community_mib', 'snmp_framework_mib',
|
||||
'snmp_generic', 'snmp_index', 'snmp_notification_mib', 'snmp_pdus',
|
||||
'snmp_standard_mib', 'snmp_target_mib', 'snmp_user_based_sm_mib',
|
||||
'snmp_view_based_acm_mib', 'snmpa', 'snmpa_conf', 'snmpa_error',
|
||||
'snmpa_error_io', 'snmpa_error_logger', 'snmpa_error_report',
|
||||
'snmpa_local_db', 'snmpa_mpd', 'snmpa_network_interface',
|
||||
'snmpa_network_interface_filter',
|
||||
'snmpa_notification_delivery_info_receiver',
|
||||
'snmpa_notification_filter', 'snmpa_supervisor', 'snmpc', 'snmpm',
|
||||
'snmpm_conf', 'snmpm_mpd', 'snmpm_network_interface', 'snmpm_user',
|
||||
'sofs', 'ssh', 'ssh_channel', 'ssh_connection', 'ssh_sftp',
|
||||
'ssh_sftpd', 'ssl', 'ssl_app', 'ssl_pkix', 'start', 'start_erl',
|
||||
'start_webtool', 'stdlib_app', 'string', 'supervisor',
|
||||
'supervisor_bridge', 'sys', 'systools', 'tags', 'test_server',
|
||||
'test_server_app', 'test_server_ctrl', 'tftp', 'timer', 'toolbar',
|
||||
'ttb', 'tv', 'unicode', 'unix_telnet', 'user', 'webtool', 'werl',
|
||||
'win32reg', 'wrap_log_reader', 'wx', 'wx_misc', 'wx_object',
|
||||
'wxAcceleratorEntry', 'wxAcceleratorTable', 'wxArtProvider',
|
||||
'wxAuiDockArt', 'wxAuiManager', 'wxAuiNotebook', 'wxAuiPaneInfo',
|
||||
'wxAuiTabArt', 'wxBitmap', 'wxBitmapButton', 'wxBitmapDataObject',
|
||||
'wxBoxSizer', 'wxBrush', 'wxBufferedDC', 'wxBufferedPaintDC',
|
||||
'wxButton', 'wxCalendarCtrl', 'wxCalendarDateAttr',
|
||||
'wxCalendarEvent', 'wxCaret', 'wxCheckBox', 'wxCheckListBox',
|
||||
'wxChildFocusEvent', 'wxChoice', 'wxClientDC', 'wxClipboard',
|
||||
'wxCloseEvent', 'wxColourData', 'wxColourDialog',
|
||||
'wxColourPickerCtrl', 'wxColourPickerEvent', 'wxComboBox',
|
||||
'wxCommandEvent', 'wxContextMenuEvent', 'wxControl',
|
||||
'wxControlWithItems', 'wxCursor', 'wxDataObject', 'wxDateEvent',
|
||||
'wxDatePickerCtrl', 'wxDC', 'wxDialog', 'wxDirDialog',
|
||||
'wxDirPickerCtrl', 'wxDisplayChangedEvent', 'wxEraseEvent',
|
||||
'wxEvent', 'wxEvtHandler', 'wxFileDataObject', 'wxFileDialog',
|
||||
'wxFileDirPickerEvent', 'wxFilePickerCtrl', 'wxFindReplaceData',
|
||||
'wxFindReplaceDialog', 'wxFlexGridSizer', 'wxFocusEvent', 'wxFont',
|
||||
'wxFontData', 'wxFontDialog', 'wxFontPickerCtrl',
|
||||
'wxFontPickerEvent', 'wxFrame', 'wxGauge', 'wxGBSizerItem',
|
||||
'wxGenericDirCtrl', 'wxGLCanvas', 'wxGraphicsBrush',
|
||||
'wxGraphicsContext', 'wxGraphicsFont', 'wxGraphicsMatrix',
|
||||
'wxGraphicsObject', 'wxGraphicsPath', 'wxGraphicsPen',
|
||||
'wxGraphicsRenderer', 'wxGrid', 'wxGridBagSizer', 'wxGridCellAttr',
|
||||
'wxGridCellEditor', 'wxGridCellRenderer', 'wxGridEvent',
|
||||
'wxGridSizer', 'wxHelpEvent', 'wxHtmlEasyPrinting', 'wxIcon',
|
||||
'wxIconBundle', 'wxIconizeEvent', 'wxIdleEvent', 'wxImage',
|
||||
'wxImageList', 'wxJoystickEvent', 'wxKeyEvent',
|
||||
'wxLayoutAlgorithm', 'wxListBox', 'wxListCtrl', 'wxListEvent',
|
||||
'wxListItem', 'wxListView', 'wxMask', 'wxMaximizeEvent',
|
||||
'wxMDIChildFrame', 'wxMDIClientWindow', 'wxMDIParentFrame',
|
||||
'wxMemoryDC', 'wxMenu', 'wxMenuBar', 'wxMenuEvent', 'wxMenuItem',
|
||||
'wxMessageDialog', 'wxMiniFrame', 'wxMirrorDC',
|
||||
'wxMouseCaptureChangedEvent', 'wxMouseEvent', 'wxMoveEvent',
|
||||
'wxMultiChoiceDialog', 'wxNavigationKeyEvent', 'wxNcPaintEvent',
|
||||
'wxNotebook', 'wxNotebookEvent', 'wxNotifyEvent',
|
||||
'wxPageSetupDialog', 'wxPageSetupDialogData', 'wxPaintDC',
|
||||
'wxPaintEvent', 'wxPalette', 'wxPaletteChangedEvent', 'wxPanel',
|
||||
'wxPasswordEntryDialog', 'wxPen', 'wxPickerBase', 'wxPostScriptDC',
|
||||
'wxPreviewCanvas', 'wxPreviewControlBar', 'wxPreviewFrame',
|
||||
'wxPrintData', 'wxPrintDialog', 'wxPrintDialogData', 'wxPrinter',
|
||||
'wxPrintout', 'wxPrintPreview', 'wxProgressDialog',
|
||||
'wxQueryNewPaletteEvent', 'wxRadioBox', 'wxRadioButton',
|
||||
'wxRegion', 'wxSashEvent', 'wxSashLayoutWindow', 'wxSashWindow',
|
||||
'wxScreenDC', 'wxScrollBar', 'wxScrolledWindow', 'wxScrollEvent',
|
||||
'wxScrollWinEvent', 'wxSetCursorEvent', 'wxShowEvent',
|
||||
'wxSingleChoiceDialog', 'wxSizeEvent', 'wxSizer', 'wxSizerFlags',
|
||||
'wxSizerItem', 'wxSlider', 'wxSpinButton', 'wxSpinCtrl',
|
||||
'wxSpinEvent', 'wxSplashScreen', 'wxSplitterEvent',
|
||||
'wxSplitterWindow', 'wxStaticBitmap', 'wxStaticBox',
|
||||
'wxStaticBoxSizer', 'wxStaticLine', 'wxStaticText', 'wxStatusBar',
|
||||
'wxStdDialogButtonSizer', 'wxStyledTextCtrl', 'wxStyledTextEvent',
|
||||
'wxSysColourChangedEvent', 'wxTextAttr', 'wxTextCtrl',
|
||||
'wxTextDataObject', 'wxTextEntryDialog', 'wxToggleButton',
|
||||
'wxToolBar', 'wxToolTip', 'wxTopLevelWindow', 'wxTreeCtrl',
|
||||
'wxTreeEvent', 'wxUpdateUIEvent', 'wxWindow', 'wxWindowCreateEvent',
|
||||
'wxWindowDC', 'wxWindowDestroyEvent', 'wxXmlResource', 'xmerl',
|
||||
'xmerl_eventp', 'xmerl_scan', 'xmerl_xpath', 'xmerl_xs',
|
||||
'xmerl_xsd', 'xref', 'yecc', 'zip', 'zlib', 'zlib_stub'
|
||||
),
|
||||
// Binary modifiers
|
||||
6 => array(
|
||||
'big', 'binary', 'float', 'integer', 'little', 'signed', 'unit', 'unsigned'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array('(', ')', '[', ']', '{', '}'),
|
||||
1 => array('->', ',', ';', '.'),
|
||||
2 => array('<<', '>>'),
|
||||
3 => array('=', '||', '-', '+', '*', '/', '++', '--', '!', '<', '>', '>=',
|
||||
'=<', '==', '/=', '=:=', '=/=')
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #186895;',
|
||||
2 => 'color: #014ea4;',
|
||||
3 => 'color: #fa6fff;',
|
||||
4 => 'color: #fa6fff;',
|
||||
5 => 'color: #ff4e18;',
|
||||
6 => 'color: #9d4f37;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
'MULTI' => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
'HARD' => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #109ab8;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff7800;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #ff9600;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #006600;',
|
||||
2 => 'color: #006600;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #004866;',
|
||||
1 => 'color: #6bb810;',
|
||||
2 => 'color: #ee3800;',
|
||||
3 => 'color: #014ea4;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #6941fd;',
|
||||
1 => 'color: #d400ed;',
|
||||
2 => 'color: #5400b3;',
|
||||
3 => 'color: #ff3c00;',
|
||||
4 => 'color: #6941fd;',
|
||||
5 => 'color: #45b3e6;',
|
||||
6 => 'color: #ff9600;',
|
||||
7 => 'color: #d400ed;',
|
||||
8 => 'color: #ff9600;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://erlang.org/doc/man/{FNAME}.html',
|
||||
6 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '->',
|
||||
2 => ':'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//<2F>Macro definitions
|
||||
0 => array(
|
||||
GESHI_SEARCH => '(-define\s*\()([a-zA-Z0-9_]+)(\(|,)',
|
||||
GESHI_REPLACE => '\2',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\1',
|
||||
GESHI_AFTER => '\3'
|
||||
),
|
||||
// Record definitions
|
||||
1 => array(
|
||||
GESHI_SEARCH => '(-record\s*\()([a-zA-Z0-9_]+)(,)',
|
||||
GESHI_REPLACE => '\2',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\1',
|
||||
GESHI_AFTER => '\3'
|
||||
),
|
||||
// Precompiler directives
|
||||
2 => array(
|
||||
GESHI_SEARCH => '(-)([a-z][a-zA-Z0-9_]*)(\()',
|
||||
GESHI_REPLACE => '\2',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\1',
|
||||
GESHI_AFTER => '\3'
|
||||
),
|
||||
// Functions
|
||||
3 => array(
|
||||
GESHI_SEARCH => '([a-z]\w*|\'\w*\')(\s*\()',
|
||||
GESHI_REPLACE => '\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => '\2'
|
||||
),
|
||||
// Macros
|
||||
4 => array(
|
||||
GESHI_SEARCH => '(\?)([a-zA-Z0-9_]+)',
|
||||
GESHI_REPLACE => '\2',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\1',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
// Variables - With hack to avoid interfering wish GeSHi internals
|
||||
5 => array(
|
||||
GESHI_SEARCH => '([([{,<+*-\/=\s!]|<)(?!(?:PIPE|SEMI|DOT|NUM|REG3XP\d*)\W)([A-Z_]\w*)(?!\w)',
|
||||
GESHI_REPLACE => '\2',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\1',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
// ASCII<49>codes
|
||||
6 => '(\$[a-zA-Z0-9_])',
|
||||
// Records
|
||||
7 => array(
|
||||
GESHI_SEARCH => '(#)([a-z][a-zA-Z0-9_]*)(\.|\{)',
|
||||
GESHI_REPLACE => '\2',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\1',
|
||||
GESHI_AFTER => '\3'
|
||||
),
|
||||
// Numbers with a different radix
|
||||
8 => '(?<=>)(#[a-zA-Z0-9]*)'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
3 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<![\w])',
|
||||
'DISALLOWED_AFTER' => ''//'(?=\s*\()'
|
||||
),
|
||||
5 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<=\'|)',
|
||||
'DISALLOWED_AFTER' => '(?=(\'|):)'
|
||||
),
|
||||
6 => array(
|
||||
'DISALLOWED_BEFORE' => '(?<=\/|-)',
|
||||
'DISALLOWED_AFTER' => ''
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
138
serendipity_event_geshi/geshi/euphoria.php
Normal file
138
serendipity_event_geshi/geshi/euphoria.php
Normal file
|
@ -0,0 +1,138 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* euphoria.php
|
||||
* ---------------------------------
|
||||
* Author: Nicholas Koceja (nerketur@hotmail.com)
|
||||
* Copyright: (c) 2010 Nicholas Koceja
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 11/24/2010
|
||||
*
|
||||
* Euphoria language file for GeSHi.
|
||||
*
|
||||
* Author's note: The colors are based off of the Euphoria Editor (ed.ex) colors.
|
||||
* Also, I added comments in places so I could remember a few things about Euphoria.
|
||||
*
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* <date-of-release> (1.0.8.9)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated <date-of-release>)
|
||||
* -------------------------
|
||||
* seperate the funtions from the procedures, and have a slight color change for each.
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Euphoria',
|
||||
'COMMENT_SINGLE' => array(1 => '--'),
|
||||
'COMMENT_MULTI' => array(), //Euphoria doesn't support multi-line comments
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array( // keywords
|
||||
'and', 'by', 'constant', 'do', 'else', 'elsif', 'end', 'exit',
|
||||
'for', 'function', 'global', 'if', 'include', 'not', 'or',
|
||||
'procedure', 'return', 'then', 'to', 'type', 'while', 'with',
|
||||
'without', 'xor'
|
||||
),
|
||||
2 => array( // built-ins
|
||||
'abort', 'and_bits', 'append', 'arctan', 'atom', 'c_func', 'call',
|
||||
'c_proc', 'call_func', 'call_proc', 'clear_screen', 'close', 'compare',
|
||||
'command_line', 'cos', 'date', 'equal', 'find', 'find_from', 'floor',
|
||||
'getc', 'getenv', 'gets', 'get_key', 'get_pixel', 'integer', 'length',
|
||||
'log', 'machine_func', 'machine_proc', 'match', 'match_from',
|
||||
'mem_copy', 'mem_set', 'not_bits', 'object', 'open', 'or_bits', 'peek',
|
||||
'peek4s', 'peek4u', 'pixel', 'platform', 'poke', 'poke4', 'position',
|
||||
'power', 'prepend', 'print', 'printf', 'profile', 'puts', 'rand',
|
||||
'remainder', 'repeat', 'routine_id', 'sequence', 'sin', 'sprintf',
|
||||
'sqrt', 'system', 'system_exec', 'tan', 'task_clock_stop',
|
||||
'task_clock_start', 'task_create', 'task_list', 'task_schedule',
|
||||
'task_self', 'task_status', 'task_suspend', 'task_yield', 'time',
|
||||
'trace', 'xor_bits'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array(
|
||||
'(', ')', '{', '}', '[', ']'
|
||||
),
|
||||
1 => array(
|
||||
'+', '-', '*', '/', '=', '&', '^'
|
||||
),
|
||||
2 => array(
|
||||
'&', '?', ','
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000ff; font-weight: bold;', // keywords
|
||||
2 => 'color: #cc33ff; font-weight: bold;', // builtins
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #ff0000; font-style: italic;',
|
||||
'MULTI' => '' // doesn't exist
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #009900; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #999900; font-weight: bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #00cc00;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc33cc; font-style: italic'
|
||||
),
|
||||
'METHODS' => array( // Doesn't exist in Euphoria. Everything is a function =)
|
||||
0 => ''
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #999900;', // brackets
|
||||
1 => 'color: #333333;', // operators
|
||||
2 => 'color: #333333; font-style: bold' // print+concat
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array( // Never included in scripts.
|
||||
)
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
134
serendipity_event_geshi/geshi/ezt.php
Normal file
134
serendipity_event_geshi/geshi/ezt.php
Normal file
|
@ -0,0 +1,134 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* ezt.php
|
||||
* -----------
|
||||
* Author: Ramesh Vishveshwar (ramesh.vishveshwar@gmail.com)
|
||||
* Copyright: (c) 2012 Ramesh Vishveshwar (http://thecodeisclear.in)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2012/09/01
|
||||
*
|
||||
* Easytrieve language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2012/09/22 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'EZT',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
|
||||
'COMMENT_REGEXP' => array(
|
||||
// First character of the line is an asterisk. Rest of the line is spaces/null
|
||||
0 => '/\*(\s|\D)?(\n)/',
|
||||
// Asterisk followed by any character & then a non numeric character.
|
||||
// This is to prevent expressions such as 25 * 4 from being marked as a comment
|
||||
// Note: 25*4 - 100 will mark *4 - 100 as a comment. Pls. space out expressions
|
||||
// In any case, 25*4 will result in an Easytrieve error
|
||||
1 => '/\*.([^0-9\n])+.*(\n)/'
|
||||
),
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'CONTROL','DEFINE','DISPLAY','DO','ELSE','END-DO','END-IF',
|
||||
'END-PROC','FILE','GET','GOTO','HEADING','IF','JOB','LINE',
|
||||
'PARM','PERFORM','POINT','PRINT','PROC','PUT','READ','RECORD',
|
||||
'REPORT','RETRIEVE','SEARCH','SELECT','SEQUENCE','SORT','STOP',
|
||||
'TITLE','WRITE'
|
||||
),
|
||||
// Procedure Keywords (Names of specific procedures)
|
||||
2 => array (
|
||||
'AFTER-BREAK','AFTER-LINE','BEFORE-BREAK','BEFORE-LINE',
|
||||
'ENDPAGE','REPORT-INPUT','TERMINATION',
|
||||
),
|
||||
// Macro names, Parameters
|
||||
3 => array (
|
||||
'COMPILE','CONCAT','DESC','GETDATE','MASK','PUNCH',
|
||||
'VALUE','SYNTAX','NEWPAGE','SKIP','COL','TALLY',
|
||||
'WITH'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(',')','=','&',',','*','>','<','%'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false
|
||||
//4 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #FF0000;',
|
||||
2 => 'color: #21A502;',
|
||||
3 => 'color: #FF00FF;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
0 => 'color: #0000FF; font-style: italic;',
|
||||
1 => 'color: #0000FF; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => ''
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #FF7400;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #66CC66;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #736205;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => '',
|
||||
2 => ''
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #FF7400;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #E01B6A;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
0 => ''
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(
|
||||
// We are trying to highlight Macro names here which preceded by %
|
||||
0 => '(%)([a-zA-Z0-9])+(\s|\n)'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
149
serendipity_event_geshi/geshi/f1.php
Normal file
149
serendipity_event_geshi/geshi/f1.php
Normal file
|
@ -0,0 +1,149 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* f1.php
|
||||
* -------
|
||||
* Author: Juro Bystricky (juro@f1compiler.com)
|
||||
* Copyright: K2 Software Corp.
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/07/06
|
||||
*
|
||||
* Formula One language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/07/06 (1.0.8.9)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* -------------------------
|
||||
* - Add more RTL functions with URLs
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'Formula One',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('{' => '}'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Nested Comments
|
||||
2 => "/(\{(?:\{.*\}|[^\{])*\})/m"
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'",'"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
//Simple Single Char Escapes
|
||||
1 => "#\\\\[\\\\nrt\'\"?\n]#i",
|
||||
//Hexadecimal Char Specs (Utf16 codes, Unicode versions only)
|
||||
2 => "#\\\\u[\da-fA-F]{4}#",
|
||||
),
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_INT_CSTYLE |
|
||||
GESHI_NUMBER_BIN_PREFIX_0B |
|
||||
GESHI_NUMBER_OCT_PREFIX_0O |
|
||||
GESHI_NUMBER_HEX_PREFIX |
|
||||
GESHI_NUMBER_FLT_NONSCI |
|
||||
GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'pred','proc','subr','else','elsif','iff','if','then','false','true',
|
||||
'case','of','use','local','mod','end','list','file','all','one','max','min','rel',
|
||||
'external','Nil','_stdcall','_cdecl','_addressof','_pred','_file','_line'
|
||||
),
|
||||
2 => array(
|
||||
'Ascii','Bin','I','L','P','R','S','U'
|
||||
),
|
||||
3 => array(
|
||||
'Append','in','Dupl','Len','Print','_AllDifferent','_AllAscending',
|
||||
'_AllDescending','_Ascending','_Descending'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array('(', ')', '[', ']'),
|
||||
1 => array('<', '>','='),
|
||||
2 => array('+', '-', '*', '/'),
|
||||
3 => array('&', '|'),
|
||||
4 => array(':', ';')
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0000ff;',
|
||||
2 => 'color: #000080;',
|
||||
3 => 'color: #000080;',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #008000; font-style: italic;',
|
||||
2 => 'color: #008000; font-style: italic;',
|
||||
'MULTI' => 'color: #008000; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
2 => 'color: #009999; font-weight: bold;',
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #800000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #000000;',
|
||||
1 => 'color: #000000;',
|
||||
2 => 'color: #000000;',
|
||||
3 => 'color: #000000;',
|
||||
4 => 'color: #000000;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => 'http://www.f1compiler.com/f1helponline/f1_runtime_library.html#{FNAME}'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
217
serendipity_event_geshi/geshi/falcon.php
Normal file
217
serendipity_event_geshi/geshi/falcon.php
Normal file
|
@ -0,0 +1,217 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* falcon.php
|
||||
* ---------------------------------
|
||||
* Author: billykater (billykater+geshi@gmail.com)
|
||||
* Copyright: (c) 2010 billykater (http://falconpl.org/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/06/07
|
||||
*
|
||||
* Falcon language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* <2010/8/1> (1.0.8.10)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
* ************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Falcon',
|
||||
'COMMENT_SINGLE' => array( 1 => '//' ),
|
||||
'COMMENT_MULTI' => array( '/*' => '*/' ),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array( "'", '"' ),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'break','case','catch','class','const','continue','def','default',
|
||||
'dropping','elif','else','end','enum','for','forfirst','forlast',
|
||||
'formiddle','from','function','global','if','init','innerfunc',
|
||||
'launch','loop','object','raise','return','select','state','static',
|
||||
'switch','try','while'
|
||||
),
|
||||
2 => array(
|
||||
'false','nil','true',
|
||||
),
|
||||
3 => array(
|
||||
'and','as','eq','fself','in','not','notin','or','provides','self','to'
|
||||
),
|
||||
4 => array(
|
||||
'directive','export','import','load','macro'
|
||||
),
|
||||
5 => array(
|
||||
'ArrayType','BooleanType','ClassMethodType','ClassType','DictionaryType',
|
||||
'FunctionType','MemBufType','MethodType','NilType','NumericType','ObjectType',
|
||||
'RangeType','StringType','LBindType'
|
||||
),
|
||||
6 => array(
|
||||
"CurrentTime","IOStream","InputStream","MemBufFromPtr","OutputStream",
|
||||
"PageDict","ParseRFC2822","abs","acos","all",
|
||||
"allp","any","anyp","argd","argv",
|
||||
"arrayAdd","arrayBuffer","arrayCompact","arrayDel","arrayDelAll",
|
||||
"arrayFill","arrayFind","arrayHead","arrayIns","arrayMerge",
|
||||
"arrayNM","arrayRemove","arrayResize","arrayScan","arraySort",
|
||||
"arrayTail","asin","assert","atan","atan2",
|
||||
"attributes","baseClass","beginCritical","bless","brigade",
|
||||
"broadcast","cascade","ceil","choice","chr",
|
||||
"className","clone","combinations","compare","consume",
|
||||
"cos","deg2rad","deoob","derivedFrom","describe",
|
||||
"deserialize","dictBack","dictBest","dictClear","dictFill",
|
||||
"dictFind","dictFront","dictGet","dictKeys","dictMerge",
|
||||
"dictRemove","dictSet","dictValues","dirChange","dirCurrent",
|
||||
"dirMake","dirMakeLink","dirReadLink","dirRemove","dolist",
|
||||
"endCritical","epoch","eval","exit","exp",
|
||||
"factorial","fileChgroup","fileChmod","fileChown","fileCopy",
|
||||
"fileExt","fileMove","fileName","fileNameMerge","filePath",
|
||||
"fileRemove","fileType","fileUnit","filter","fint",
|
||||
"firstOf","floop","floor","fract","getAssert",
|
||||
"getEnviron","getProperty","getSlot","getSystemEncoding","getenv",
|
||||
"iff","include","input","inspect","int",
|
||||
"isBound","isCallable","isoob","lbind","len",
|
||||
"let","lit","log","map","max",
|
||||
"metaclass","min","numeric","oob","ord",
|
||||
"paramCount","paramIsRef","paramSet","parameter","passvp",
|
||||
"permutations","pow","print","printl","properties",
|
||||
"rad2deg","random","randomChoice","randomDice","randomGrab",
|
||||
"randomPick","randomSeed","randomWalk","readURI","reduce",
|
||||
"retract","round","seconds","serialize","set",
|
||||
"setProperty","setenv","sin","sleep","stdErr",
|
||||
"stdErrRaw","stdIn","stdInRaw","stdOut","stdOutRaw",
|
||||
"strBack","strBackFind","strBackTrim","strBuffer","strCmpIgnoreCase",
|
||||
"strEndsWith","strEscape","strEsq","strFill","strFind",
|
||||
"strFromMemBuf","strFront","strFrontTrim","strLower","strMerge",
|
||||
"strReplace","strReplicate","strSplit","strSplitTrimmed","strStartsWith",
|
||||
"strToMemBuf","strTrim","strUnescape","strUnesq","strUpper",
|
||||
"strWildcardMatch","subscribe","systemErrorDescription","tan","times",
|
||||
"toString","transcodeFrom","transcodeTo","typeOf","unsetenv",
|
||||
"unsubscribe","valof","vmFalconPath","vmIsMain","vmModuleName",
|
||||
"vmModuleVersionInfo","vmSearchPath","vmSystemType","vmVersionInfo","vmVersionName",
|
||||
"writeURI","xmap","yield","yieldOut"
|
||||
),
|
||||
7 => array(
|
||||
"AccessError","Array","BOM","Base64","Class",
|
||||
"ClassMethod","CloneError","CmdlineParser","CodeError","Continuation",
|
||||
"Dictionary","Directory","Error","FileStat","Format",
|
||||
"Function","GarbagePointer","GenericError","Integer","InterruptedError",
|
||||
"IoError","Iterator","LateBinding","List","MathError",
|
||||
"MemoryBuffer","MessageError","Method","Numeric","Object",
|
||||
"ParamError","ParseError","Path","Range","Semaphore",
|
||||
"Sequence","Set","Stream","String","StringStream",
|
||||
"SyntaxError","Table","TableError","TimeStamp","TimeZone",
|
||||
"Tokenizer","TypeError","URI","VMSlot"
|
||||
),
|
||||
8 => array(
|
||||
"args","scriptName","scriptPath"
|
||||
),
|
||||
9 => array(
|
||||
"GC"
|
||||
),
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://falconpl.org/project_docs/core/functions.html#typeOf',
|
||||
6 => 'http://falconpl.org/project_docs/core/functions.html#{FNAME}',
|
||||
7 => 'http://falconpl.org/project_docs/core/class_{FNAME}.html',
|
||||
8 => 'http://falconpl.org/project_docs/core/globals.html#{FNAME}',
|
||||
9 => 'http://falconpl.org/project_docs/core/object_{FNAME}.html)'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
6 => true,
|
||||
7 => true,
|
||||
8 => true,
|
||||
9 => true
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'(',')','$','%','&','/','{','[',']','=','}','?','+','-','#','*','@',
|
||||
'<','>','|',',',':',';','\\','^'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => array(
|
||||
GESHI_SEARCH => '(\[)([a-zA-Z_]|\c{C})(?:[a-zA-Z0-9_]|\p{C})*(\])',
|
||||
GESHI_REPLACE => '\\2',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\\1',
|
||||
GESHI_AFTER => '\\3',
|
||||
|
||||
),
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
0 => array( '<?' => '?>' )
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
0 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000080;font-weight:bold;',
|
||||
2 => 'color: #800000;font-weight:bold;',
|
||||
3 => 'color: #800000;font-weight:bold;',
|
||||
4 => 'color: #000080;font-weight:bold;',
|
||||
5 => 'color: #000000;font-weight:bold;',
|
||||
6 => 'font-weight:bold;',
|
||||
7 => 'font-weight:bold;',
|
||||
8 => 'font-weight:bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #29B900;',
|
||||
'MULTI' => 'color: #008080'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #800000'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #800000'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #000000'
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #000000'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #8B0513'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
0 => ''
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #FF00FF'
|
||||
)
|
||||
),
|
||||
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
'.'
|
||||
)
|
||||
);
|
326
serendipity_event_geshi/geshi/fo.php
Normal file
326
serendipity_event_geshi/geshi/fo.php
Normal file
|
@ -0,0 +1,326 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* fo.php
|
||||
* --------
|
||||
* Author: Tan-Vinh Nguyen (tvnguyen@web.de)
|
||||
* Copyright: (c) 2009 Tan-Vinh Nguyen
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/03/23
|
||||
*
|
||||
* fo language file for GeSHi.
|
||||
*
|
||||
* FO stands for "Flexible Oberflaechen" (Flexible Surfaces) and
|
||||
* is part of the abas-ERP.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/03/23 (1.0.0)
|
||||
* - First Release
|
||||
* Basic commands in German and English
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'FO (abas-ERP)',
|
||||
'COMMENT_SINGLE' => array(1 => '..'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
//Control Flow
|
||||
1 => array(
|
||||
/* see http://www.abas.de/sub_de/kunden/help/hd/html/9.html */
|
||||
|
||||
/* fo keywords, part 1: control flow */
|
||||
'.weiter', '.continue'
|
||||
|
||||
/* this language works with goto's only*/
|
||||
),
|
||||
|
||||
//FO Keywords
|
||||
2 => array(
|
||||
/* fo keywords, part 2 */
|
||||
'.fo', '.formel', '.formula',
|
||||
'.zuweisen', '.assign',
|
||||
'.fehler', '.error',
|
||||
'.ende', '.end'
|
||||
),
|
||||
|
||||
//Java Keywords
|
||||
3 => array(
|
||||
/* Java keywords, part 3: primitive data types */
|
||||
'.art', '.type',
|
||||
'integer', 'real', 'bool', 'text', 'datum', 'woche', 'termin', 'zeit',
|
||||
'mehr', 'MEHR'
|
||||
),
|
||||
|
||||
//Reserved words in fo literals
|
||||
4 => array(
|
||||
/* other reserved words in fo literals */
|
||||
/* should be styled to look similar to numbers and Strings */
|
||||
'false', 'null', 'true',
|
||||
'OBJEKT',
|
||||
'VORGANG', 'PROCESS',
|
||||
'OFFEN', 'OPEN',
|
||||
'ABORT',
|
||||
'AN', 'ADDEDTO',
|
||||
'AUF', 'NEW',
|
||||
'BILDSCHIRM', 'TERMINAL',
|
||||
'PC',
|
||||
'MASKE', 'SCREEN',
|
||||
'ZEILE', 'LINE'
|
||||
),
|
||||
|
||||
// interpreter settings
|
||||
5 => array (
|
||||
'..!INTERPRETER', 'DEBUG'
|
||||
),
|
||||
|
||||
// database commands
|
||||
6 => array (
|
||||
'.hole', '.hol', '.select',
|
||||
'.lade', '.load',
|
||||
'.aktion', '.action',
|
||||
'.belegen', '.occupy',
|
||||
'.bringe', '.rewrite',
|
||||
'.dazu', '.add',
|
||||
'.löschen', '.delete',
|
||||
'.mache', '.make',
|
||||
'.merke', '.reserve',
|
||||
'.setze', '.set',
|
||||
'SPERREN', 'LOCK',
|
||||
'TEIL', 'PART',
|
||||
'KEINESPERRE',
|
||||
'AMASKE', 'ASCREEN',
|
||||
'BETRIEB', 'WORK-ORDER',
|
||||
'NUMERISCH', 'NUMERICAL',
|
||||
'VORSCHLAG', 'SUGGESTION',
|
||||
'OBLIGO', 'OUTSTANDING',
|
||||
'LISTE', 'LIST',
|
||||
'DRUCK', 'PRINT',
|
||||
'ÜBERNAHME', 'TAGEOVER',
|
||||
'ABLAGE', 'FILINGSYSTEM',
|
||||
'BDE', 'PDC',
|
||||
'BINDUNG', 'ALLOCATION',
|
||||
'BUCHUNG', 'ENTRY',
|
||||
'COLLI', 'SERIAL',
|
||||
'DATEI', 'FILE',
|
||||
'VERKAUF', 'SALES',
|
||||
'EINKAUF', 'PURCHASING',
|
||||
'EXEMPLAR', 'EXAMPLE',
|
||||
'FERTIGUNG', 'PRODUCTION',
|
||||
'FIFO',
|
||||
'GRUPPE', 'GROUP',
|
||||
'JAHR', 'YEAR',
|
||||
'JOURNAL',
|
||||
'KOPF', 'HEADER',
|
||||
'KOSTEN',
|
||||
'LIFO',
|
||||
'LMENGE', 'SQUANTITY',
|
||||
'LOHNFERTIGUNG', 'SUBCONTRACTING',
|
||||
'LPLATZ', 'LOCATION',
|
||||
'MBELEGUNG', 'MACHLOADING',
|
||||
'MONAT', 'MONTH', 'MZ',
|
||||
'NACHRICHT', 'MESSAGE',
|
||||
'PLAN', 'TARGET',
|
||||
'REGIONEN', 'REGIONS',
|
||||
'SERVICEANFRAGE', 'SERVICEREQUEST',
|
||||
'VERWENDUNG', 'APPLICATION',
|
||||
'WEITER', 'CONTINUE',
|
||||
'ABBRUCH', 'CANCEL',
|
||||
'ABLAGEKENNZEICHEN', 'FILLINGCODE',
|
||||
'ALLEIN', 'SINGLEUSER',
|
||||
'AUFZAEHLTYP', 'ENUMERATION-TYPE',
|
||||
'AUSGABE', 'OUTPUT',
|
||||
'DEZPUNKT', 'DECPOINT'
|
||||
),
|
||||
|
||||
// output settings
|
||||
7 => array (
|
||||
'.absatz', '.para',
|
||||
'.blocksatz', '.justified',
|
||||
'.flattersatz', '.unjustified',
|
||||
'.format',
|
||||
'.box',
|
||||
'.drucken', '.print',
|
||||
'.gedruckt', '.printed',
|
||||
'.länge', '.length',
|
||||
'.links', '.left',
|
||||
'.rechts', '.right',
|
||||
'.oben', '.up',
|
||||
'.unten', '.down',
|
||||
'.seite', '.page',
|
||||
'.tabellensatz', '.tablerecord',
|
||||
'.trenner', '.separator',
|
||||
'ARCHIV'
|
||||
),
|
||||
|
||||
// text commands
|
||||
8 => array (
|
||||
'.text',
|
||||
'.atext',
|
||||
'.println',
|
||||
'.uebersetzen', '.translate'
|
||||
),
|
||||
|
||||
// I/O commands
|
||||
9 => array (
|
||||
'.aus', '.ausgabe', '.output',
|
||||
'.ein', '.eingabe', '.input',
|
||||
'.datei', '.file',
|
||||
'.lesen', '.read',
|
||||
'.sortiere', '.sort',
|
||||
'-ÖFFNEN', '-OPEN',
|
||||
'-TEST',
|
||||
'-LESEN', '-READ',
|
||||
'VON', 'FROM'
|
||||
),
|
||||
|
||||
//system
|
||||
10 => array (
|
||||
'.browser',
|
||||
'.kommando', '.command',
|
||||
'.system', '.dde',
|
||||
'.editiere', '.edit',
|
||||
'.hilfe', '.help',
|
||||
'.kopieren', '.copy',
|
||||
'.pc.clip',
|
||||
'.pc.copy',
|
||||
'.pc.dll',
|
||||
'.pc.exec',
|
||||
'.pc.open',
|
||||
'DIAGNOSE', 'ERRORREPORT',
|
||||
'DOPPELPUNKT', 'COLON',
|
||||
'ERSETZUNG', 'REPLACEMENT',
|
||||
'WARTEN', 'PARALLEL'
|
||||
),
|
||||
|
||||
//fibu/accounting specific commands
|
||||
11 => array (
|
||||
'.budget',
|
||||
'.chart',
|
||||
'VKZ',
|
||||
'KONTO', 'ACCOUNT',
|
||||
'AUSZUG', 'STATEMENT',
|
||||
'WAEHRUNG', 'CURRENCY',
|
||||
'WAEHRUNGSKURS', 'EXCHANGERATE',
|
||||
'AUSWAEHR', 'FORCURR',
|
||||
'BUCHUNGSKREIS', 'SET OF BOOKS'
|
||||
),
|
||||
|
||||
// efop - extended flexible surface
|
||||
12 => array (
|
||||
'.cursor',
|
||||
'.farbe', '.colour',
|
||||
'.fenster', '.window',
|
||||
'.hinweis', '.note',
|
||||
'.menue', '.menu',
|
||||
'.schutz', '.protection',
|
||||
'.zeigen', '.view',
|
||||
'.zeile', '.line',
|
||||
'VORDERGRUND', 'FOREGROUND',
|
||||
'HINTERGRUND', 'BACKGROUND',
|
||||
'SOFORT', 'IMMEDIATELY',
|
||||
'AKTUALISIEREN', 'UPDATE',
|
||||
'FENSTERSCHLIESSEN', 'CLOSEWINDOWS'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array('(', ')', '[', ']', '{', '}', '*', '&', '%', ';', '<', '>'),
|
||||
1 => array('?', '!')
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
/* all fo keywords are case sensitive, don't have to but I like this type of coding */
|
||||
1 => true, 2 => true, 3 => true, 4 => true,
|
||||
5 => true, 6 => true, 7 => true, 8 => true, 9 => true,
|
||||
10 => true, 11 => true, 12 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #000000; font-weight: bold;',
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
3 => 'color: #006600; font-weight: bold;',
|
||||
4 => 'color: #006600; font-weight: bold;',
|
||||
5 => 'color: #003399; font-weight: bold;',
|
||||
6 => 'color: #003399; font-weight: bold;',
|
||||
7 => 'color: #003399; font-weight: bold;',
|
||||
8 => 'color: #003399; font-weight: bold;',
|
||||
9 => 'color: #003399; font-weight: bold;',
|
||||
10 => 'color: #003399; font-weight: bold;',
|
||||
11 => 'color: #003399; font-weight: bold;',
|
||||
12 => 'color: #003399; font-weight: bold;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
//2 => 'color: #006699;',
|
||||
'MULTI' => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #006633;',
|
||||
2 => 'color: #006633;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;',
|
||||
1 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => '',
|
||||
7 => '',
|
||||
8 => '',
|
||||
9 => '',
|
||||
10 => '',
|
||||
11 => '',
|
||||
12 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* -----------
|
||||
* Author: Cedric Arrabie (cedric.arrabie@univ-pau.fr)
|
||||
* Copyright: (C) 2006 Cetric Arrabie
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/04/22
|
||||
*
|
||||
* Fortran language file for GeSHi.
|
||||
|
@ -156,5 +156,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK'=> array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* -------------
|
||||
* Author: Roberto Rossi
|
||||
* Copyright: (c) 2005 Roberto Rossi (http://rsoftware.altervista.org)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/08/19
|
||||
*
|
||||
* FreeBasic (http://www.freebasic.net/) language file for GeSHi.
|
||||
|
@ -137,5 +137,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
166
serendipity_event_geshi/geshi/freeswitch.php
Normal file
166
serendipity_event_geshi/geshi/freeswitch.php
Normal file
|
@ -0,0 +1,166 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* freeswitch.php
|
||||
* --------
|
||||
* Author: James Rose (james.gs@stubbornroses.com)
|
||||
* Copyright: (c) 2006 Christian Lescuyer http://xtian.goelette.info
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2011/11/18
|
||||
*
|
||||
* FreeSWITCH language file for GeSHi.
|
||||
*
|
||||
* This file is based on robots.php
|
||||
*
|
||||
* 2011/11/18 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'FreeSWITCH',
|
||||
'COMMENT_SINGLE' => array(1 => '#'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(1 => "/^Comment:.*?$/m"),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
// 1 => array(
|
||||
// 'Disallow', 'Request-rate', 'Robot-version',
|
||||
// 'Sitemap', 'User-agent', 'Visit-time'
|
||||
// )
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
// ':'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false
|
||||
),
|
||||
|
||||
//order is important. regexes will overwrite most things....
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
// 1 => 'color: #FF0000; font-weight: bold;',//red
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080; font-style: italic;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
// 0 => 'color: #66cc66;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
// 0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
// 0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
// 0 => 'color: #66cc66;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: firebrick; font-weight: bold;',
|
||||
1 => 'color: cornflowerblue; font-weight: bold;',
|
||||
2 => 'color: goldenrod; font-weight: bold;',
|
||||
3 => 'color: green; font-weight: bold;',
|
||||
4 => 'color: dimgrey; font-style: italic;',
|
||||
5 => 'color: green; font-weight: bold;',
|
||||
6 => 'color: firebrick; font-weight: bold;',
|
||||
7 => 'color: indigo; font-weight: italic;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
// 1 => 'http://www.robotstxt.org/wc/norobots.html'
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => array(
|
||||
GESHI_SEARCH => '(^.*ERROR.*)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => 'im',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
1 => array(
|
||||
GESHI_SEARCH => '(^.*NOTICE.*)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => 'im',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
2 => array(
|
||||
GESHI_SEARCH => '(^.*DEBUG.*)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
3 => array(
|
||||
GESHI_SEARCH => '(^.*INFO.*|.*info\(.*|^Channel.*|^Caller.*|^variable.*)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
4 => array(
|
||||
GESHI_SEARCH => '(^Dialplan.*)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => 'im',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
5 => array(
|
||||
GESHI_SEARCH => '(Regex\ \(PASS\))',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
6 => array(
|
||||
GESHI_SEARCH => '(Regex\ \(FAIL\))',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
7 => array(
|
||||
GESHI_SEARCH => '(\d{7,15})',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
)
|
||||
),
|
||||
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
211
serendipity_event_geshi/geshi/fsharp.php
Normal file
211
serendipity_event_geshi/geshi/fsharp.php
Normal file
|
@ -0,0 +1,211 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* fsharp.php
|
||||
* ----------
|
||||
* Author: julien ortin (jo_spam-divers@yahoo.fr)
|
||||
* Copyright: (c) 2009 julien ortin
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/09/20
|
||||
*
|
||||
* F# language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/09/22 (1.0.1)
|
||||
* - added rules for single char handling (generics ['a] vs char ['x'])
|
||||
* - added symbols and keywords
|
||||
* 2009/09/20 (1.0.0)
|
||||
* - Initial release
|
||||
*
|
||||
* TODO
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'F#',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(3 => '/\(\*(?!\)).*?\*\)/s'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'HARDQUOTE' => array('@"', '"'),
|
||||
'HARDESCAPE' => array('"'),
|
||||
'HARDCHAR' => '"',
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
/* main F# keywords */
|
||||
/* section 3.4 */
|
||||
1 => array(
|
||||
'abstract', 'and', 'as', 'assert', 'base', 'begin', 'class', 'default', 'delegate', 'do', 'done',
|
||||
'downcast', 'downto', 'elif', 'else', 'end', 'exception', 'extern', 'false', 'finally', 'for',
|
||||
'fun', 'function', 'if', 'in', 'inherit', 'inline', 'interface', 'internal', 'lazy', 'let',
|
||||
'match', 'member', 'module', 'mutable', 'namespace', 'new', 'not', 'null', 'of', 'open', 'or',
|
||||
'override', 'private', 'public', 'rec', 'return', 'sig', 'static', 'struct', 'then', 'to',
|
||||
'true', 'try', 'type', 'upcast', 'use', 'val', 'void', 'when', 'while', 'with', 'yield',
|
||||
'asr', 'land', 'lor', 'lsl', 'lsr', 'lxor', 'mod',
|
||||
/* identifiers are reserved for future use by F# */
|
||||
'atomic', 'break', 'checked', 'component', 'const', 'constraint', 'constructor',
|
||||
'continue', 'eager', 'fixed', 'fori', 'functor', 'global', 'include', 'method', 'mixin',
|
||||
'object', 'parallel', 'params', 'process', 'protected', 'pure', 'sealed', 'tailcall',
|
||||
'trait', 'virtual', 'volatile',
|
||||
/* take monads into account */
|
||||
'let!', 'yield!'
|
||||
),
|
||||
/* define names of main libraries in F# Core, so we can link to it
|
||||
* http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/namespaces.html
|
||||
*/
|
||||
2 => array(
|
||||
'Array', 'Array2D', 'Array3D', 'Array4D', 'ComparisonIdentity', 'HashIdentity', 'List',
|
||||
'Map', 'Seq', 'SequenceExpressionHelpers', 'Set', 'CommonExtensions', 'Event',
|
||||
'ExtraTopLevelOperators', 'LanguagePrimitives', 'NumericLiterals', 'Operators',
|
||||
'OptimizedClosures', 'Option', 'String', 'NativePtr', 'Printf'
|
||||
),
|
||||
/* 17.2 & 17.3 */
|
||||
3 => array(
|
||||
'abs', 'acos', 'asin', 'atan', 'atan2', 'ceil', 'cos', 'cosh', 'exp',
|
||||
'floor', 'log', 'log10', 'pown', 'round', 'sign', 'sin', 'sinh', 'sqrt',
|
||||
'tan', 'tanh',
|
||||
'ignore',
|
||||
'fst', 'snd',
|
||||
'stdin', 'stdout', 'stderr',
|
||||
'KeyValue',
|
||||
'max', 'min'
|
||||
),
|
||||
/* Pervasives Types & Overloaded Conversion Functions */
|
||||
4 => array(
|
||||
'bool', 'byref', 'byte', 'char', 'decimal', 'double', 'exn', 'float', 'float32',
|
||||
'FuncConvert', 'ilsigptr', 'int', 'int16', 'int32', 'int64', 'int8',
|
||||
'nativeint', 'nativeptr', 'obj', 'option', 'ref', 'sbyte', 'single', 'string', 'uint16',
|
||||
'uint32', 'uint64', 'uint8', 'unativeint', 'unit',
|
||||
'enum',
|
||||
'async', 'seq', 'dict'
|
||||
),
|
||||
/* 17.2 Exceptions */
|
||||
5 => array (
|
||||
'failwith', 'invalidArg', 'raise', 'rethrow'
|
||||
),
|
||||
/* 3.3 Conditional compilation & 13.3 Compiler Directives + light / light off */
|
||||
6 => array(
|
||||
'(*IF-FSHARP', 'ENDIF-FSHARP*)', '(*F#', 'F#*)', '(*IF-OCAML', 'ENDIF-OCAML*)',
|
||||
'#light',
|
||||
'#if', '#else', '#endif', '#indent', '#nowarn', '#r', '#reference',
|
||||
'#I', '#Include', '#load', '#time', '#help', '#q', '#quit',
|
||||
),
|
||||
/* 3.11 Pre-processor Declarations / Identifier Replacements */
|
||||
7 => array(
|
||||
'__SOURCE_DIRECTORY__', '__SOURCE_FILE__', '__LINE__'
|
||||
),
|
||||
/* 17.2 Object Transformation Operators */
|
||||
8 => array(
|
||||
'box', 'hash', 'sizeof', 'typeof', 'typedefof', 'unbox'
|
||||
)
|
||||
),
|
||||
/* 17.2 basic operators + the yield and yield! arrows */
|
||||
'SYMBOLS' => array(
|
||||
1 => array('+', '-', '/', '*', '**', '%', '~-'),
|
||||
2 => array('<', '<=', '>', '<=', '=', '<>'),
|
||||
3 => array('<<<', '>>>', '^^^', '&&&', '|||', '~~~'),
|
||||
4 => array('|>', '>>', '<|', '<<'),
|
||||
5 => array('!', '->', '->>'),
|
||||
6 => array('[',']','(',')','{','}', '[|', '|]', '(|', '|)'),
|
||||
7 => array(':=', ';', ';;')
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true, /* keywords */
|
||||
2 => true, /* modules */
|
||||
3 => true, /* pervasives functions */
|
||||
4 => true, /* types and overloaded conversion operators */
|
||||
5 => true, /* exceptions */
|
||||
6 => true, /* conditional compilation & compiler Directives */
|
||||
7 => true, /* pre-processor declarations / identifier replacements */
|
||||
8 => true /* object transformation operators */
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #06c; font-weight: bold;', /* nice blue */
|
||||
2 => 'color: #06c; font-weight: bold;', /* nice blue */
|
||||
3 => 'color: #06c; font-weight: bold;', /* nice blue */
|
||||
4 => 'color: #06c; font-weight: bold;', /* nice blue */
|
||||
5 => 'color: #06c; font-weight: bold;', /* nice blue */
|
||||
6 => 'color: #06c; font-weight: bold;', /* nice blue */
|
||||
7 => 'color: #06c; font-weight: bold;', /* nice blue */
|
||||
8 => 'color: #06c; font-weight: bold;' /* nice blue */
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
'MULTI' => 'color: #5d478b; font-style: italic;', /* light purple */
|
||||
1 => 'color: #5d478b; font-style: italic;',
|
||||
2 => 'color: #5d478b; font-style: italic;', /* light purple */
|
||||
3 => 'color: #5d478b; font-style: italic;' /* light purple */
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #6c6;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #3cb371;' /* nice green */
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #c6c;' /* pink */
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #060;' /* dark green */
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #a52a2a;' /* maroon */
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
/* some of keywords are Pervasives functions (land, lxor, asr, ...) */
|
||||
1 => '',
|
||||
2 => 'http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/manual/namespaces.html',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
6 => '',
|
||||
7 => '',
|
||||
8 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#>|^])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_<\|%\\-])"
|
||||
)
|
||||
)
|
||||
);
|
212
serendipity_event_geshi/geshi/gambas.php
Normal file
212
serendipity_event_geshi/geshi/gambas.php
Normal file
|
@ -0,0 +1,212 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* gambas.php
|
||||
* ---------
|
||||
* Author: Jesus Guardon (jguardon@telefonica.net)
|
||||
* Copyright: (c) 2009 Jesus Guardon (http://gambas-es.org),
|
||||
* Benny Baumann (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/08/20
|
||||
*
|
||||
* GAMBAS language file for GeSHi.
|
||||
* GAMBAS Official Site: http://gambas.sourceforge.net
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/09/26 (1.0.1)
|
||||
* - Splitted dollar-ended keywords in another group to match with or without '$'
|
||||
* - Modified URL for object/components keywords search through Google "I'm feeling lucky"
|
||||
* 2009/09/23 (1.0.0)
|
||||
* - Initial release
|
||||
*
|
||||
* TODO (updated 2009/09/26)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'GAMBAS',
|
||||
'COMMENT_SINGLE' => array(1 => "'"),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'NUMBERS' =>
|
||||
GESHI_NUMBER_INT_BASIC | GESHI_NUMBER_OCT_PREFIX | GESHI_NUMBER_HEX_PREFIX |
|
||||
GESHI_NUMBER_FLT_NONSCI_F | GESHI_NUMBER_FLT_SCI_SHORT | GESHI_NUMBER_FLT_SCI_ZERO,
|
||||
'KEYWORDS' => array(
|
||||
//keywords
|
||||
1 => array(
|
||||
'APPEND', 'AS', 'BREAK', 'BYREF', 'CASE', 'CATCH', 'CLASS', 'CLOSE', 'CONST', 'CONTINUE', 'COPY',
|
||||
'CREATE', 'DEBUG', 'DEC', 'DEFAULT', 'DIM', 'DO', 'EACH', 'ELSE', 'END', 'ENDIF', 'ERROR', 'EVENT', 'EXEC',
|
||||
'EXPORT', 'EXTERN', 'FALSE', 'FINALLY', 'FLUSH', 'FOR', 'FUNCTION', 'GOTO', 'IF', 'IN', 'INC', 'INHERITS',
|
||||
'INPUT', 'FROM', 'IS', 'KILL', 'LAST', 'LIBRARY', 'LIKE', 'LINE INPUT', 'LINK', 'LOCK', 'LOOP', 'ME',
|
||||
'MKDIR', 'MOVE', 'NEW', 'NEXT', 'NULL', 'OPEN', 'OPTIONAL', 'OUTPUT', 'PIPE', 'PRINT', 'PRIVATE',
|
||||
'PROCEDURE', 'PROPERTY', 'PUBLIC', 'QUIT', 'RAISE', 'RANDOMIZE', 'READ', 'REPEAT', 'RETURN', 'RMDIR',
|
||||
'SEEK', 'SELECT', 'SHELL', 'SLEEP', 'STATIC', 'STEP', 'STOP', 'SUB', 'SUPER', 'SWAP', 'THEN', 'TO',
|
||||
'TRUE', 'TRY', 'UNLOCK', 'UNTIL', 'WAIT', 'WATCH', 'WEND', 'WHILE', 'WITH', 'WRITE'
|
||||
),
|
||||
//functions
|
||||
2 => array(
|
||||
'Abs', 'Access', 'Acos', 'Acosh', 'Alloc', 'Ang', 'Asc', 'ASin', 'ASinh', 'Asl', 'Asr', 'Assign', 'Atan',
|
||||
'ATan2', 'ATanh',
|
||||
'BChg', 'BClr', 'Bin', 'BSet', 'BTst',
|
||||
'CBool', 'Cbr', 'CByte', 'CDate', 'CFloat', 'Choose', 'Chr', 'CInt', 'CLong', 'Comp', 'Conv', 'Cos',
|
||||
'Cosh', 'CShort', 'CSng', 'CStr',
|
||||
'DateAdd', 'DateDiff', 'Day', 'DConv', 'Deg', 'DFree', 'Dir',
|
||||
'Eof', 'Eval', 'Exist', 'Exp', 'Exp10', 'Exp2', 'Expm',
|
||||
'Fix', 'Format', 'Frac', 'Free',
|
||||
'Hex', 'Hour', 'Hyp',
|
||||
'Iif', 'InStr', 'Int', 'IsAscii', 'IsBlank', 'IsBoolean', 'IsByte', 'IsDate', 'IsDigit', 'IsDir',
|
||||
'IsFloat', 'IsHexa', 'IsInteger', 'IsLCase', 'IsLetter', 'IsLong', 'IsNull', 'IsNumber', 'IsObject',
|
||||
'IsPunct', 'IsShort', 'IsSingle', 'IsSpace', 'IsString', 'IsUCase', 'IsVariant',
|
||||
'LCase', 'Left', 'Len', 'Lof', 'Log', 'Log10', 'Log2', 'Logp', 'Lsl', 'Lsr', 'LTrim',
|
||||
'Mag', 'Max', 'Mid', 'Min', 'Minute', 'Month', 'Now', 'Quote',
|
||||
'Rad', 'RDir', 'Realloc', 'Replace', 'Right', 'RInStr', 'Rnd', 'Rol', 'Ror', 'Round', 'RTrim',
|
||||
'Scan', 'SConv', 'Second', 'Seek', 'Sgn', 'Shl', 'Shr', 'Sin', 'Sinh', 'Space', 'Split', 'Sqr',
|
||||
'Stat', 'Str', 'StrPtr', 'Subst',
|
||||
'Tan', 'Tanh', 'Temp$', 'Time', 'Timer', 'Tr', 'Trim', 'TypeOf',
|
||||
'UCase', 'Unquote', 'Val', 'VarPtr', 'Week', 'WeekDay', 'Year'
|
||||
),
|
||||
//string functions
|
||||
3 => array(
|
||||
'Bin$', 'Chr$', 'Conv$', 'DConv$', 'Format$', 'Hex$', 'LCase$', 'Left$', 'LTrim$', 'Mid$', 'Quote$',
|
||||
'Replace$', 'Right$', 'SConv$', 'Space$', 'Str$', 'String$', 'Subst$', 'Tr$', 'Trim$', 'UCase$',
|
||||
'Unquote$'
|
||||
),
|
||||
//datatypes
|
||||
4 => array(
|
||||
'Boolean', 'Byte', 'Short', 'Integer', 'Long', 'Single', 'Float', 'Date', 'String', 'Variant', 'Object',
|
||||
'Pointer', 'File'
|
||||
),
|
||||
//operators
|
||||
5 => array(
|
||||
'AND', 'DIV', 'MOD', 'NOT', 'OR', 'XOR'
|
||||
),
|
||||
//objects/classes
|
||||
6 => array(
|
||||
'Application', 'Array', 'Byte[]', 'Collection', 'Component', 'Enum', 'Observer', 'Param', 'Process',
|
||||
'Stream', 'System', 'User', 'Chart', 'Compress', 'Crypt', 'Blob', 'Connection', 'DB', 'Database',
|
||||
'DatabaseUser', 'Field', 'Index', 'Result', 'ResultField', 'Table', 'DataBrowser', 'DataCombo',
|
||||
'DataControl', 'DataSource', 'DataView', 'Desktop', 'DesktopFile', 'Balloon', 'ColorButton',
|
||||
'ColorChooser', 'DateChooser', 'DirChooser', 'DirView', 'Expander', 'FileChooser', 'FileView',
|
||||
'FontChooser', 'InputBox', 'ListContainer', 'SidePanel', 'Stock', 'TableView', 'ToolPanel', 'ValueBox',
|
||||
'Wizard', 'Dialog', 'ToolBar', 'WorkSpace', 'DnsClient', 'SerialPort', 'ServerSocket', 'Socket',
|
||||
'UdpSocket', 'FtpClient', 'HttpClient', 'SmtpClient', 'Regexp', 'Action', 'Button', 'CheckBox',
|
||||
'ColumnView', 'ComboBox', 'Draw', 'Container', 'Control', 'Cursor', 'DrawingArea', 'Embedder',
|
||||
'Font', 'Form', 'Frame', 'GridView', 'HBox', 'HPanel', 'HSplit', 'IconView', 'Image', 'Key', 'Label',
|
||||
'Line', 'ListBox', 'ListView', 'Menu', 'Message', 'Mouse', 'MovieBox', 'Panel', 'Picture', 'PictureBox',
|
||||
'ProgressBar', 'RadioButton', 'ScrollBar', 'ScrollView', 'Separator', 'Slider', 'SpinBox', 'TabStrip',
|
||||
'TextArea', 'TextBox', 'TextLabel', 'ToggleButton', 'TrayIcon', 'TreeView', 'VBox', 'VPanel', 'VSplit',
|
||||
'Watcher', 'Window', 'Dial', 'Editor', 'LCDNumber', 'Printer', 'TextEdit', 'WebBrowser', 'GLarea',
|
||||
'Report', 'ReportCloner', 'ReportContainer', 'ReportControl', 'ReportDrawing', 'ReportField', 'ReportHBox',
|
||||
'ReportImage', 'ReportLabel', 'ReportSection', 'ReportSpecialField', 'ReportTextLabel', 'ReportVBox',
|
||||
'CDRom', 'Channel', 'Music', 'Sound', 'Settings', 'VideoDevice', 'Vb', 'CGI', 'HTML', 'Request', 'Response',
|
||||
'Session', 'XmlDocument', 'XmlNode', 'XmlReader', 'XmlReaderNodeType', 'XmlWriter', 'RpcArray', 'RpcClient',
|
||||
'RpcFunction', 'RpcServer', 'RpcStruct', 'RpcType', 'XmlRpc', 'Xslt'
|
||||
),
|
||||
//constants
|
||||
7 => array(
|
||||
'Pi'
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'&', '&=', '&/', '*', '*=', '+', '+=', '-', '-=', '//', '/', '/=', '=', '==', '\\', '\\=',
|
||||
'^', '^=', '[', ']', '{', '}', '<', '>', '<>', '<=', '>='
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
5 => false,
|
||||
6 => false,
|
||||
7 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0600FF; font-weight: bold;', // Keywords
|
||||
2 => 'color: #8B1433;', // Functions
|
||||
3 => 'color: #8B1433;', // String Functions
|
||||
4 => 'color: #0600FF;', // Data Types
|
||||
5 => 'color: #1E90FF;', // Operators
|
||||
6 => 'color: #0600FF;', // Objects/Components
|
||||
7 => 'color: #0600FF;' // Constants
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #1A5B1A; font-style: italic;',
|
||||
'MULTI' => 'color: #1A5B1A; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #008080;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #612188;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #7E4B05;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #FF0000;',
|
||||
GESHI_NUMBER_INT_BASIC => 'color: #FF0000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #0000FF;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #6132B2;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//3 => 'color: #8B1433;' //fakes '$' colour matched by REGEXP
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://gambasdoc.org/help/lang/{FNAMEL}',
|
||||
2 => 'http://gambasdoc.org/help/lang/{FNAMEL}',
|
||||
3 => 'http://www.google.com/search?hl=en&q={FNAMEL}+site:http://gambasdoc.org/help/lang/&btnI=I%27m%20Feeling%20Lucky',
|
||||
4 => 'http://gambasdoc.org/help/lang/type/{FNAMEL}',
|
||||
5 => 'http://gambasdoc.org/help/lang/{FNAMEL}',
|
||||
6 => 'http://www.google.com/search?hl=en&q={FNAMEL}+site:http://gambasdoc.org/&btnI=I%27m%20Feeling%20Lucky',
|
||||
7 => 'http://gambasdoc.org/help/lang/{FNAMEL}'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 =>'.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//3 => "\\$(?!\\w)" //matches '$' at the end of Keyword
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
2 => array(
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_\|%\\-&;\$])"
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
194
serendipity_event_geshi/geshi/gdb.php
Normal file
194
serendipity_event_geshi/geshi/gdb.php
Normal file
|
@ -0,0 +1,194 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* gdb.php
|
||||
* --------
|
||||
* Author: Milian Wolff (mail@milianw.de)
|
||||
* Copyright: (c) 2009 Milian Wolff
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/06/24
|
||||
*
|
||||
* GDB language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2009/06/24 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2009/06/24)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'GDB',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
0 => array(
|
||||
'Application',
|
||||
'signal',
|
||||
),
|
||||
1 => array(
|
||||
'Segmentation fault',
|
||||
'[KCrash Handler]',
|
||||
),
|
||||
),
|
||||
'NUMBERS' => false,
|
||||
'SYMBOLS' => array(
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
0 => true,
|
||||
1 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
0 => 'font-weight:bold;',
|
||||
1 => 'font-weight:bold; color: #ff0000;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => ''
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'font-weight:bold;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #933;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
0 => 'color: #000066; font-weight:bold;',
|
||||
1 => 'color: #006600;',
|
||||
2 => 'color: #B07E00;',
|
||||
3 => 'color: #0057AE; text-style:italic;',
|
||||
4 => 'color: #0057AE; text-style:italic;',
|
||||
5 => 'color: #442886;',
|
||||
6 => 'color: #442886; font-weight:bold;',
|
||||
7 => 'color: #FF0000; font-weight:bold;',
|
||||
8 => 'color: #006E26;',
|
||||
9 => 'color: #555;',
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
0 => '',
|
||||
1 => ''
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
//[Current Thread...], [KCrash Handler] etc.
|
||||
0 => array(
|
||||
GESHI_SEARCH => '^\[.+\]',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
//stack number
|
||||
1 => array(
|
||||
GESHI_SEARCH => '^#\d+',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
//Thread X (Thread...)
|
||||
2 => array(
|
||||
GESHI_SEARCH => '^Thread \d.+$',
|
||||
GESHI_REPLACE => '\\0',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => ''
|
||||
),
|
||||
//Files with linenumbers
|
||||
3 => array(
|
||||
GESHI_SEARCH => '(at\s+)(.+)(:\d+\s*)$',
|
||||
GESHI_REPLACE => '\\2',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '\\1',
|
||||
GESHI_AFTER => '\\3'
|
||||
),
|
||||
//Libs without linenumbers
|
||||
4 => array(
|
||||
GESHI_SEARCH => '(from\s+)(.+)(\s*)$',
|
||||
GESHI_REPLACE => '\\2',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '\\1',
|
||||
GESHI_AFTER => '\\3'
|
||||
),
|
||||
//Line numbers
|
||||
5 => array(
|
||||
GESHI_SEARCH => '(:)(\d+)(\s*)$',
|
||||
GESHI_REPLACE => '\\2',
|
||||
GESHI_MODIFIERS => 'm',
|
||||
GESHI_BEFORE => '\\1',
|
||||
GESHI_AFTER => '\\3'
|
||||
),
|
||||
//Location
|
||||
6 => array(
|
||||
GESHI_SEARCH => '(\s+)(in\s+)?([^ 0-9][^ ]*)([ \n]+\()',
|
||||
GESHI_REPLACE => '\\3',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '\\1\\2',
|
||||
GESHI_AFTER => '\\4'
|
||||
),
|
||||
// interesting parts: abort, qFatal, assertions, null ptrs, ...
|
||||
7 => array(
|
||||
GESHI_SEARCH => '\b((?:\*__GI_)?(?:__assert_fail|abort)|qFatal|0x0)\b([^\.]|$)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => '',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => '\\2'
|
||||
),
|
||||
// Namespace / Classes
|
||||
8 => array(
|
||||
GESHI_SEARCH => '\b(\w+)(::)',
|
||||
GESHI_REPLACE => '\\1',
|
||||
GESHI_MODIFIERS => 'U',
|
||||
GESHI_BEFORE => '',
|
||||
GESHI_AFTER => '\\2'
|
||||
),
|
||||
// make ptr adresses and <value optimized out> uninteresting
|
||||
9 => '\b(?:0x[a-f0-9]{2,}|value\s+optimized\s+out)\b'
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'NUMBERS' => false
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Lars Gersmann (lars.gersmann@gmail.com)
|
||||
* Copyright: (c) 2007 Lars Gersmann, Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2007/07/01
|
||||
*
|
||||
* Genero (FOURJ's Genero 4GL) language file for GeSHi.
|
||||
|
@ -459,5 +459,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
155
serendipity_event_geshi/geshi/genie.php
Normal file
155
serendipity_event_geshi/geshi/genie.php
Normal file
|
@ -0,0 +1,155 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* genie.php
|
||||
* ----------
|
||||
* Author: Nicolas Joseph (nicolas.joseph@valaide.org)
|
||||
* Copyright: (c) 2009 Nicolas Joseph
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/04/29
|
||||
*
|
||||
* Genie language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
*
|
||||
* TODO
|
||||
* ----
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Genie',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Using and Namespace directives (basic support)
|
||||
//Please note that the alias syntax for using is not supported
|
||||
3 => '/(?:(?<=using[\\n\\s])|(?<=namespace[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*[a-zA-Z0-9_]+[\n\s]*(?=[;=])/i'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'HARDQUOTE' => array('@"', '"'),
|
||||
'HARDESCAPE' => array('""'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'and', 'as', 'abstract', 'break', 'case', 'cast', 'catch', 'const',
|
||||
'construct', 'continue', 'default', 'def', 'delete', 'div',
|
||||
'dynamic', 'do', 'downto', 'else', 'ensures', 'except', 'extern',
|
||||
'false', 'final', 'finally', 'for', 'foreach', 'get', 'if', 'in',
|
||||
'init', 'inline', 'internal', 'implements', 'lock', 'not', 'null',
|
||||
'of', 'or', 'otherwise', 'out', 'override', 'pass', 'raise',
|
||||
'raises', 'readonly', 'ref', 'requires', 'self', 'set', 'static',
|
||||
'super', 'switch', 'to', 'true', 'try', 'unless', 'uses', 'var', 'virtual',
|
||||
'volatile', 'void', 'when', 'while'
|
||||
),
|
||||
// 2 => array(
|
||||
// ),
|
||||
3 => array(
|
||||
'is', 'isa', 'new', 'owned', 'sizeof', 'typeof', 'unchecked',
|
||||
'unowned', 'weak'
|
||||
),
|
||||
4 => array(
|
||||
'bool', 'byte', 'class', 'char', 'date', 'datetime', 'decimal', 'delegate',
|
||||
'double', 'enum', 'event', 'exception', 'float', 'int', 'interface',
|
||||
'long', 'object', 'prop', 'sbyte', 'short', 'single', 'string',
|
||||
'struct', 'ulong', 'ushort'
|
||||
),
|
||||
// 5 => array(
|
||||
// ),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'+', '-', '*', '?', '=', '/', '%', '&', '>', '<', '^', '!', ':', ';',
|
||||
'(', ')', '{', '}', '[', ']', '|'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
// 2 => false,
|
||||
3 => false,
|
||||
4 => false,
|
||||
// 5 => false,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #0600FF;',
|
||||
// 2 => 'color: #FF8000; font-weight: bold;',
|
||||
3 => 'color: #008000;',
|
||||
4 => 'color: #FF0000;',
|
||||
// 5 => 'color: #000000;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #008080; font-style: italic;',
|
||||
// 2 => 'color: #008080;',
|
||||
3 => 'color: #008080;',
|
||||
'MULTI' => 'color: #008080; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #008080; font-weight: bold;',
|
||||
'HARD' => 'color: #008080; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #666666;',
|
||||
'HARD' => 'color: #666666;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #FF0000;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #0000FF;',
|
||||
2 => 'color: #0000FF;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #008000;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
// 2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
// 5 => ''
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'KEYWORDS' => array(
|
||||
'DISALLOWED_BEFORE' => "(?<![a-zA-Z0-9\$_\|\#>|^])",
|
||||
'DISALLOWED_AFTER' => "(?![a-zA-Z0-9_<\|%\\-])"
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* --------
|
||||
* Author: Milian Wolff (mail@milianw.de)
|
||||
* Copyright: (c) 2008 Milian Wolff
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/05/25
|
||||
*
|
||||
* GNU Gettext .po/.pot language file for GeSHi.
|
||||
|
@ -91,7 +91,5 @@ $language_data = array (
|
|||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* -----
|
||||
* Author: Benny Baumann (BenBE@omorphia.de)
|
||||
* Copyright: (c) 2008 Benny Baumann (BenBE@omorphia.de)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/03/20
|
||||
*
|
||||
* glSlang language file for GeSHi.
|
||||
|
@ -41,6 +41,12 @@ $language_data = array (
|
|||
'LANG_NAME' => 'glSlang',
|
||||
'COMMENT_SINGLE' => array(1 => '//', 2 => '#'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Multiline-continued single-line comments
|
||||
1 => '/\/\/(?:\\\\\\\\|\\\\\\n|.)*$/m',
|
||||
//Multiline-continued preprocessor define
|
||||
2 => '/#(?:\\\\\\\\|\\\\\\n|.)*$/m'
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
|
@ -54,7 +60,7 @@ $language_data = array (
|
|||
'const', 'uniform', 'attribute', 'centroid', 'varying', 'invariant',
|
||||
'in', 'out', 'inout', 'input', 'output', 'typedef', 'volatile',
|
||||
'public', 'static', 'extern', 'external', 'packed',
|
||||
'inline', 'noinline'
|
||||
'inline', 'noinline', 'noperspective', 'flat'
|
||||
),
|
||||
3 => array(
|
||||
'void', 'bool', 'int', 'long', 'short', 'float', 'half', 'fixed',
|
||||
|
@ -195,5 +201,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* gml.php
|
||||
* --------
|
||||
* Author: Jos<EFBFBD> Jorge Enr<EFBFBD>quez (jenriquez@users.sourceforge.net)
|
||||
* Copyright: (c) 2005 Jos<EFBFBD> Jorge Enr<EFBFBD>quez Rodr<EFBFBD>guez (http://www.zonamakers.com)
|
||||
* Release Version: 1.0.8.1
|
||||
* -------
|
||||
* Author: José Jorge Enríquez <jenriquez@users.sourceforge.net>, Timon Knigge <timonknigge@live.nl>
|
||||
* Copyright: (c) 2005 José Jorge Enríquez Rodríguez (http://www.zonamakers.com), (c) 2013 Timon Knigge (http://www.bluemoonproductions.nl)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2005/06/21
|
||||
*
|
||||
* GML language file for GeSHi.
|
||||
|
@ -61,388 +61,256 @@
|
|||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'GML',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'"),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'QUOTEMARKS' => array('"', "'"),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
// language keywords
|
||||
// Variables
|
||||
1 => array(
|
||||
'break', 'continue', 'do', 'until', 'if', 'else',
|
||||
'exit', 'for', 'repeat', 'return', 'switch',
|
||||
'case', 'default', 'var', 'while', 'with', 'div', 'mod',
|
||||
// GML Language overview
|
||||
'self', 'other', 'all', 'noone', 'global',
|
||||
'argument','argument0','argument1','argument10','argument11','argument12','argument13','argument14','argument15','argument2','argument3','argument4','argument5','argument6','argument7',
|
||||
'argument8','argument9','argument_count','argument_relative','async_load','background_alpha','background_blend','background_color','background_foreground','background_height','background_hspeed',
|
||||
'background_htiled','background_index','background_showcolor','background_visible','background_vspeed','background_vtiled','background_width','background_x','background_xscale','background_y',
|
||||
'background_yscale','browser_height','browser_width','caption_health','caption_lives','caption_score','current_day','current_hour','current_minute','current_month','current_second','current_time',
|
||||
'current_weekday','current_year','cursor_sprite','debug_mode','delta_time','display_aa','error_last','error_occurred','event_action','event_number','event_object','event_type','fps','fps_real',
|
||||
'game_id','gamemaker_pro','gamemaker_registered','gamemaker_version','health','instance_count','instance_id','keyboard_key','keyboard_lastchar','keyboard_lastkey','keyboard_string','lives',
|
||||
'mouse_button','mouse_lastbutton','mouse_x','mouse_y','os_browser','os_device','os_type','os_version','program_directory','room','room_caption','room_first','room_height','room_last',
|
||||
'room_persistent','room_speed','room_width','score','secure_mode','show_health','show_lives','show_score','temp_directory','transition_color','transition_kind','transition_steps','view_angle',
|
||||
'view_current','view_enabled','view_hborder','view_hport','view_hspeed','view_hview','view_object','view_surface_id','view_vborder','view_visible','view_vspeed','view_wport','view_wview','view_xport',
|
||||
'view_xview','view_yport','view_yview','webgl_enabled','working_directory','alarm','bbox_bottom','bbox_left','bbox_right','bbox_top','depth','direction','friction','gravity','gravity_direction',
|
||||
'hspeed','id','image_alpha','image_angle','image_blend','image_index','image_number','image_single','image_speed','image_xscale','image_yscale','mask_index','object_index','path_endaction','path_index',
|
||||
'path_orientation','path_position','path_positionprevious','path_scale','path_speed','persistent','phy_active','phy_angular_damping','phy_angular_velocity','phy_bullet','phy_col_normal_x',
|
||||
'phy_col_normal_y','phy_collision_points','phy_collision_x','phy_collision_y','phy_com_x','phy_com_y','phy_dynamic','phy_fixed_rotation','phy_inertia','phy_kinematic','phy_linear_damping',
|
||||
'phy_linear_velocity_x','phy_linear_velocity_y','phy_mass','phy_position_x','phy_position_xprevious','phy_position_y','phy_position_yprevious','phy_rotation','phy_sleeping','phy_speed','phy_speed_x',
|
||||
'phy_speed_y','solid','speed','sprite_height','sprite_index','sprite_width','sprite_xoffset','sprite_yoffset','timeline_index','timeline_loop','timeline_position','timeline_running','timeline_speed',
|
||||
'visible','vspeed','x','xprevious','xstart','y','yprevious','ystart'
|
||||
),
|
||||
// modifiers and built-in variables
|
||||
|
||||
// Functions
|
||||
2 => array(
|
||||
// Game play
|
||||
'x','y','xprevious','yprevious','xstart','ystart','hspeed','vspeed','direction','speed',
|
||||
'friction','gravity','gravity_direction',
|
||||
'path_index','path_position','path_positionprevious','path_speed','path_orientation',
|
||||
'path_endaction',
|
||||
'object_index','id','mask_index','solid','persistent','instance_count','instance_id',
|
||||
'room_speed','fps','current_time','current_year','current_month','current_day','current_weekday',
|
||||
'current_hour','current_minute','current_second','alarm','timeline_index','timeline_position',
|
||||
'timeline_speed',
|
||||
'room','room_first','room_last','room_width','room_height','room_caption','room_persistent',
|
||||
'score','lives','health','show_score','show_lives','show_health','caption_score','caption_lives',
|
||||
'caption_health',
|
||||
'event_type','event_number','event_object','event_action',
|
||||
'error_occurred','error_last',
|
||||
// User interaction
|
||||
'keyboard_lastkey','keyboard_key','keyboard_lastchar','keyboard_string',
|
||||
'mouse_x','mouse_y','mouse_button','mouse_lastbutton',
|
||||
// Game Graphics
|
||||
'sprite_index','sprite_width','sprite_height','sprite_xoffset','sprite_yoffset',
|
||||
'image_number','image_index','image_speed','image_xscale','image_yscale','image_angle',
|
||||
'image_alpha','image_blend','bbox_left','bbox_right','bbox_top','bbox_bottom',
|
||||
'background_color','background_showcolor','background_visible','background_foreground',
|
||||
'background_index','background_x','background_y','background_width','background_height',
|
||||
'background_htiled','background_vtiled','background_xscale','background_yscale',
|
||||
'background_hspeed','background_vspeed','background_blend','background_alpha',
|
||||
'background','left, top, width, height','depth','visible','xscale','yscale','blend','alpha',
|
||||
'view_enabled','view_current','view_visible','view_yview','view_wview','view_hview','view_xport',
|
||||
'view_yport','view_wport','view_hport','view_angle','view_hborder','view_vborder','view_hspeed',
|
||||
'view_vspeed','view_object',
|
||||
'transition_kind',
|
||||
// Files, registry and executing programs
|
||||
'game_id','working_directory','temp_directory',
|
||||
'secure_mode',
|
||||
// Creating particles
|
||||
'xmin', 'xmax', 'ymin', 'ymax','shape','distribution','particle type','number',
|
||||
'force','dist','kind','additive', 'parttype1', 'parttype2'
|
||||
'YoYo_AchievementsAvailable','YoYo_AddVirtualKey','YoYo_CheckSecurity','YoYo_DeleteVirtualKey','YoYo_DisableAds','YoYo_EnableAds','YoYo_EnableAlphaBlend','YoYo_GetCPUDetails','YoYo_GetConfig',
|
||||
'YoYo_GetDevice','YoYo_GetDomain','YoYo_GetPictureSprite','YoYo_GetPlatform','YoYo_GetSessionKey','YoYo_GetTiltX','YoYo_GetTiltY','YoYo_GetTiltZ','YoYo_GetTimer','YoYo_HideVirtualKey','YoYo_IsKeypadOpen',
|
||||
'YoYo_LeaveRating','YoYo_LoginAchievements','YoYo_LogoutAchievements','YoYo_MouseCheckButton','YoYo_MouseCheckButtonPressed','YoYo_MouseCheckButtonReleased','YoYo_MouseX','YoYo_MouseXRaw','YoYo_MouseY',
|
||||
'YoYo_MouseYRaw','YoYo_OSPauseEvent','YoYo_OpenURL','YoYo_OpenURL_ext','YoYo_OpenURL_full','YoYo_PostAchievement','YoYo_PostScore','YoYo_SelectPicture','YoYo_ShowVirtualKey','abs','achievement_available',
|
||||
'achievement_event','achievement_get_challenges','achievement_get_info','achievement_get_pic','achievement_increment','achievement_load_friends','achievement_load_leaderboard','achievement_load_progress',
|
||||
'achievement_login','achievement_login_status','achievement_logout','achievement_post','achievement_post_score','achievement_reset','achievement_send_challenge','achievement_show',
|
||||
'achievement_show_achievements','achievement_show_challenge_notifications','achievement_show_leaderboards','action_another_room','action_bounce','action_change_object','action_color','action_create_object',
|
||||
'action_create_object_motion','action_create_object_random','action_current_room','action_draw_arrow','action_draw_background','action_draw_ellipse','action_draw_ellipse_gradient','action_draw_gradient_hor',
|
||||
'action_draw_gradient_vert','action_draw_health','action_draw_life','action_draw_life_images','action_draw_line','action_draw_rectangle','action_draw_score','action_draw_sprite','action_draw_text',
|
||||
'action_draw_text_transformed','action_draw_variable','action_effect','action_end_game','action_end_sound','action_execute_script','action_font','action_fullscreen','action_highscore_clear','action_if',
|
||||
'action_if_aligned','action_if_collision','action_if_dice','action_if_empty','action_if_health','action_if_life','action_if_mouse','action_if_next_room','action_if_number','action_if_object',
|
||||
'action_if_previous_room','action_if_question','action_if_score','action_if_sound','action_if_variable','action_inherited','action_kill_object','action_kill_position','action_linear_step','action_load_game',
|
||||
'action_message','action_move','action_move_contact','action_move_point','action_move_random','action_move_start','action_move_to','action_next_room','action_partemit_burst','action_partemit_create',
|
||||
'action_partemit_destroy','action_partemit_stream','action_partsyst_clear','action_partsyst_create','action_partsyst_destroy','action_parttype_color','action_parttype_create','action_parttype_gravity',
|
||||
'action_parttype_life','action_parttype_secondary','action_parttype_speed','action_path','action_path_end','action_path_position','action_path_speed','action_potential_step','action_previous_room',
|
||||
'action_replace_background','action_replace_sound','action_replace_sprite','action_restart_game','action_reverse_xdir','action_reverse_ydir','action_save_game','action_set_alarm','action_set_cursor',
|
||||
'action_set_friction','action_set_gravity','action_set_health','action_set_hspeed','action_set_life','action_set_motion','action_set_score','action_set_timeline_position','action_set_timeline_speed',
|
||||
'action_set_vspeed','action_snap','action_snapshot','action_sound','action_sprite_color','action_sprite_set','action_sprite_transform','action_timeline_pause','action_timeline_set','action_timeline_start',
|
||||
'action_timeline_stop','action_webpage','action_wrap','ads_disable','ads_enable','ads_engagement_active','ads_engagement_available','ads_engagement_launch','ads_event','ads_event_preload',
|
||||
'ads_get_display_height','ads_get_display_width','ads_interstitial_available','ads_interstitial_display','ads_move','ads_set_reward_callback','ads_setup','analytics_event','analytics_event_ext','ansi_char',
|
||||
'arccos','arcsin','arctan','arctan2','array_height_2d','array_length_1d','array_length_2d','asset_get_index','asset_get_type','audio_channel_num','audio_emitter_create','audio_emitter_exists',
|
||||
'audio_emitter_falloff','audio_emitter_free','audio_emitter_gain','audio_emitter_pitch','audio_emitter_position','audio_emitter_velocity','audio_exists','audio_falloff_set_model','audio_get_type',
|
||||
'audio_is_paused','audio_is_playing','audio_listener_orientation','audio_listener_position','audio_listener_velocity','audio_master_gain','audio_music_gain','audio_music_is_playing','audio_pause_all',
|
||||
'audio_pause_music','audio_pause_sound','audio_play_music','audio_play_sound','audio_play_sound_at','audio_play_sound_on','audio_resume_all','audio_resume_music','audio_resume_sound','audio_sound_gain',
|
||||
'audio_sound_length','audio_sound_pitch','audio_stop_all','audio_stop_music','audio_stop_sound','audio_system','background_add','background_assign','background_create_color','background_create_from_surface',
|
||||
'background_create_gradient','background_delete','background_duplicate','background_exists','background_get_height','background_get_name','background_get_texture','background_get_uvs','background_get_width',
|
||||
'background_replace','background_save','background_set_alpha_from_background','base64_decode','base64_encode','buffer_base64_decode','buffer_base64_decode_ext','buffer_base64_encode','buffer_copy',
|
||||
'buffer_create','buffer_delete','buffer_fill','buffer_get_size','buffer_get_surface','buffer_load','buffer_load_ext','buffer_md5','buffer_peek','buffer_poke','buffer_read','buffer_resize','buffer_save',
|
||||
'buffer_save_ext','buffer_seek','buffer_set_surface','buffer_sha1','buffer_sizeof','buffer_tell','buffer_write','ceil','choose','chr','clamp','clickable_add','clickable_add_ext','clickable_change',
|
||||
'clickable_change_ext','clickable_delete','clickable_exists','clipboard_get_text','clipboard_has_text','clipboard_set_text','cloud_file_save','cloud_string_save','cloud_synchronise','code_is_compiled',
|
||||
'collision_circle','collision_ellipse','collision_line','collision_point','collision_rectangle','color_get_blue','color_get_green','color_get_hue','color_get_red','color_get_saturation','color_get_value',
|
||||
'cos','d3d_draw_block','d3d_draw_cone','d3d_draw_cylinder','d3d_draw_ellipsoid','d3d_draw_floor','d3d_draw_wall','d3d_end','d3d_light_define_ambient','d3d_light_define_direction','d3d_light_define_point',
|
||||
'd3d_light_enable','d3d_model_block','d3d_model_clear','d3d_model_cone','d3d_model_create','d3d_model_cylinder','d3d_model_destroy','d3d_model_draw','d3d_model_ellipsoid','d3d_model_floor','d3d_model_load',
|
||||
'd3d_model_primitive_begin','d3d_model_primitive_end','d3d_model_save','d3d_model_vertex','d3d_model_vertex_color','d3d_model_vertex_normal','d3d_model_vertex_normal_color','d3d_model_vertex_normal_texture',
|
||||
'd3d_model_vertex_normal_texture_color','d3d_model_vertex_texture','d3d_model_vertex_texture_color','d3d_model_wall','d3d_primitive_begin','d3d_primitive_begin_texture','d3d_primitive_end','d3d_set_culling',
|
||||
'd3d_set_depth','d3d_set_fog','d3d_set_hidden','d3d_set_lighting','d3d_set_perspective','d3d_set_projection','d3d_set_projection_ext','d3d_set_projection_ortho','d3d_set_projection_perspective',
|
||||
'd3d_set_shading','d3d_set_zwriteenable','d3d_start','d3d_transform_add_rotation_axis','d3d_transform_add_rotation_x','d3d_transform_add_rotation_y','d3d_transform_add_rotation_z','d3d_transform_add_scaling',
|
||||
'd3d_transform_add_translation','d3d_transform_set_identity','d3d_transform_set_rotation_axis','d3d_transform_set_rotation_x','d3d_transform_set_rotation_y','d3d_transform_set_rotation_z',
|
||||
'd3d_transform_set_scaling','d3d_transform_set_translation','d3d_transform_stack_clear','d3d_transform_stack_discard','d3d_transform_stack_empty','d3d_transform_stack_pop','d3d_transform_stack_push',
|
||||
'd3d_transform_stack_top','d3d_transform_vertex','d3d_vertex','d3d_vertex_color','d3d_vertex_normal','d3d_vertex_normal_color','d3d_vertex_normal_texture','d3d_vertex_normal_texture_color','d3d_vertex_texture',
|
||||
'd3d_vertex_texture_color','date_compare_date','date_compare_datetime','date_compare_time','date_create_datetime','date_current_datetime','date_date_of','date_date_string','date_datetime_string','date_day_span',
|
||||
'date_days_in_month','date_days_in_year','date_get_day','date_get_day_of_year','date_get_hour','date_get_hour_of_year','date_get_minute','date_get_minute_of_year','date_get_month','date_get_second',
|
||||
'date_get_second_of_year','date_get_week','date_get_weekday','date_get_year','date_hour_span','date_inc_day','date_inc_hour','date_inc_minute','date_inc_month','date_inc_second','date_inc_week','date_inc_year',
|
||||
'date_is_today','date_leap_year','date_minute_span','date_month_span','date_second_span','date_time_of','date_time_string','date_valid_datetime','date_week_span','date_year_span','degtorad','device_get_tilt_x',
|
||||
'device_get_tilt_y','device_get_tilt_z','device_ios_get_image','device_ios_get_imagename','device_is_keypad_open','device_mouse_check_button','device_mouse_check_button_pressed',
|
||||
'device_mouse_check_button_released','device_mouse_dbclick_enable','device_mouse_raw_x','device_mouse_raw_y','device_mouse_x','device_mouse_y','directory_create','directory_exists','display_get_dpi_x',
|
||||
'display_get_dpi_y','display_get_gui_height','display_get_gui_width','display_get_height','display_get_orientation','display_get_width','display_mouse_get_x','display_mouse_get_y','display_mouse_set',
|
||||
'display_reset','display_set_gui_size','distance_to_object','distance_to_point','dot_product','dot_product_3d','dot_product_3d_normalised','dot_product_normalised','draw_arrow','draw_background',
|
||||
'draw_background_ext','draw_background_general','draw_background_part','draw_background_part_ext','draw_background_stretched','draw_background_stretched_ext','draw_background_tiled','draw_background_tiled_ext',
|
||||
'draw_button','draw_circle','draw_circle_color','draw_clear','draw_clear_alpha','draw_ellipse','draw_ellipse_color','draw_enable_alphablend','draw_enable_drawevent','draw_get_alpha','draw_get_alpha_test',
|
||||
'draw_get_alpha_test_ref_value','draw_get_color','draw_getpixel','draw_getpixel_ext','draw_healthbar','draw_highscore','draw_line','draw_line_color','draw_line_width','draw_line_width_color','draw_path',
|
||||
'draw_point','draw_point_color','draw_primitive_begin','draw_primitive_begin_texture','draw_primitive_end','draw_rectangle','draw_rectangle_color','draw_roundrect','draw_roundrect_color','draw_self',
|
||||
'draw_set_alpha','draw_set_alpha_test','draw_set_alpha_test_ref_value','draw_set_blend_mode','draw_set_blend_mode_ext','draw_set_circle_precision','draw_set_color','draw_set_color_write_enable',
|
||||
'draw_set_font','draw_set_halign','draw_set_valign','draw_sprite','draw_sprite_ext','draw_sprite_general','draw_sprite_part','draw_sprite_part_ext','draw_sprite_pos','draw_sprite_stretched',
|
||||
'draw_sprite_stretched_ext','draw_sprite_tiled','draw_sprite_tiled_ext','draw_surface','draw_surface_ext','draw_surface_general','draw_surface_part','draw_surface_part_ext','draw_surface_stretched',
|
||||
'draw_surface_stretched_ext','draw_surface_tiled','draw_surface_tiled_ext','draw_text','draw_text_color','draw_text_ext','draw_text_ext_color','draw_text_ext_transformed','draw_text_ext_transformed_color',
|
||||
'draw_text_transformed','draw_text_transformed_color','draw_texture_flush','draw_triangle','draw_triangle_color','draw_vertex','draw_vertex_color','draw_vertex_texture','draw_vertex_texture_color',
|
||||
'ds_exists','ds_grid_add','ds_grid_add_disk','ds_grid_add_grid_region','ds_grid_add_region','ds_grid_clear','ds_grid_copy','ds_grid_create','ds_grid_destroy','ds_grid_get','ds_grid_get_disk_max',
|
||||
'ds_grid_get_disk_mean','ds_grid_get_disk_min','ds_grid_get_disk_sum','ds_grid_get_max','ds_grid_get_mean','ds_grid_get_min','ds_grid_get_sum','ds_grid_height','ds_grid_multiply','ds_grid_multiply_disk',
|
||||
'ds_grid_multiply_grid_region','ds_grid_multiply_region','ds_grid_read','ds_grid_resize','ds_grid_set','ds_grid_set_disk','ds_grid_set_grid_region','ds_grid_set_region','ds_grid_shuffle','ds_grid_sort',
|
||||
'ds_grid_value_disk_exists','ds_grid_value_disk_x','ds_grid_value_disk_y','ds_grid_value_exists','ds_grid_value_x','ds_grid_value_y','ds_grid_width','ds_grid_write','ds_list_add','ds_list_clear',
|
||||
'ds_list_copy','ds_list_create','ds_list_delete','ds_list_destroy','ds_list_empty','ds_list_find_index','ds_list_find_value','ds_list_insert','ds_list_mark_as_list','ds_list_mark_as_map','ds_list_read',
|
||||
'ds_list_replace','ds_list_shuffle','ds_list_size','ds_list_sort','ds_list_write','ds_map_add','ds_map_add_list','ds_map_add_map','ds_map_clear','ds_map_copy','ds_map_create','ds_map_delete',
|
||||
'ds_map_destroy','ds_map_empty','ds_map_exists','ds_map_find_first','ds_map_find_last','ds_map_find_next','ds_map_find_previous','ds_map_find_value','ds_map_read','ds_map_replace','ds_map_replace_list',
|
||||
'ds_map_replace_map','ds_map_size','ds_map_write','ds_priority_add','ds_priority_change_priority','ds_priority_clear','ds_priority_copy','ds_priority_create','ds_priority_delete_max','ds_priority_delete_min',
|
||||
'ds_priority_delete_value','ds_priority_destroy','ds_priority_empty','ds_priority_find_max','ds_priority_find_min','ds_priority_find_priority','ds_priority_read','ds_priority_size','ds_priority_write',
|
||||
'ds_queue_clear','ds_queue_copy','ds_queue_create','ds_queue_dequeue','ds_queue_destroy','ds_queue_empty','ds_queue_enqueue','ds_queue_head','ds_queue_read','ds_queue_size','ds_queue_tail','ds_queue_write',
|
||||
'ds_set_precision','ds_stack_clear','ds_stack_copy','ds_stack_create','ds_stack_destroy','ds_stack_empty','ds_stack_pop','ds_stack_push','ds_stack_read','ds_stack_size','ds_stack_top','ds_stack_write',
|
||||
'effect_clear','effect_create_above','effect_create_below','environment_get_variable','event_inherited','event_perform','event_perform_object','event_user','exp','external_call','external_define','external_free',
|
||||
'facebook_accesstoken','facebook_dialog','facebook_graph_request','facebook_init','facebook_launch_offerwall','facebook_login','facebook_logout','facebook_post_message','facebook_send_invite','facebook_status',
|
||||
'facebook_user_id','file_attributes','file_bin_close','file_bin_open','file_bin_position','file_bin_read_byte','file_bin_rewrite','file_bin_seek','file_bin_size','file_bin_write_byte','file_copy','file_delete',
|
||||
'file_exists','file_find_close','file_find_first','file_find_next','file_rename','file_text_close','file_text_eof','file_text_eoln','file_text_open_append','file_text_open_from_string','file_text_open_read',
|
||||
'file_text_open_write','file_text_read_real','file_text_read_string','file_text_readln','file_text_write_real','file_text_write_string','file_text_writeln','filename_change_ext','filename_dir','filename_drive',
|
||||
'filename_ext','filename_name','filename_path','floor','font_add','font_add_sprite','font_add_sprite_ext','font_delete','font_exists','font_get_bold','font_get_first','font_get_fontname','font_get_italic',
|
||||
'font_get_last','font_get_name','font_get_size','font_get_texture','font_get_uvs','font_replace','font_replace_sprite','font_replace_sprite_ext','font_set_cache_size','frac','game_end','game_load',
|
||||
'game_load_buffer','game_restart','game_save','game_save_buffer','gamepad_axis_count','gamepad_axis_value','gamepad_button_check','gamepad_button_check_pressed','gamepad_button_check_released',
|
||||
'gamepad_button_count','gamepad_button_value','gamepad_get_axis_deadzone','gamepad_get_button_threshold','gamepad_get_description','gamepad_get_device_count','gamepad_is_connected','gamepad_is_supported',
|
||||
'gamepad_set_axis_deadzone','gamepad_set_button_threshold','gamepad_set_vibration','get_integer','get_integer_async','get_login_async','get_open_filename','get_open_filename_ext','get_save_filename',
|
||||
'get_save_filename_ext','get_string','get_string_async','get_timer','highscore_add','highscore_clear','highscore_name','highscore_value','http_get','http_get_file','http_post_string','iap_acquire',
|
||||
'iap_activate','iap_consume','iap_event_queue','iap_files_purchased','iap_is_downloaded','iap_is_purchased','iap_product_details','iap_product_files','iap_product_status','iap_restore_all','iap_status',
|
||||
'iap_store_status','immersion_play_effect','immersion_stop','ini_close','ini_key_delete','ini_key_exists','ini_open','ini_open_from_string','ini_read_real','ini_read_string','ini_section_delete',
|
||||
'ini_section_exists','ini_write_real','ini_write_string','instance_activate_all','instance_activate_object','instance_activate_region','instance_change','instance_copy','instance_create',
|
||||
'instance_deactivate_all','instance_deactivate_object','instance_deactivate_region','instance_destroy','instance_exists','instance_find','instance_furthest','instance_nearest','instance_number',
|
||||
'instance_place','instance_position','io_clear','irandom','irandom_range','is_array','is_real','is_string','joystick_axes','joystick_buttons','joystick_check_button','joystick_direction','joystick_exists',
|
||||
'joystick_has_pov','joystick_name','joystick_pov','joystick_rpos','joystick_upos','joystick_vpos','joystick_xpos','joystick_ypos','joystick_zpos','json_decode','json_encode','keyboard_check',
|
||||
'keyboard_check_direct','keyboard_check_pressed','keyboard_check_released','keyboard_clear','keyboard_get_map','keyboard_get_numlock','keyboard_key_press','keyboard_key_release','keyboard_set_map',
|
||||
'keyboard_set_numlock','keyboard_unset_map','lengthdir_x','lengthdir_y','lerp','ln','log10','log2','logn','make_color_hsv','make_color_rgb','math_set_epsilon','matrix_build','matrix_get','matrix_multiply',
|
||||
'matrix_set','max','md5_file','md5_string_unicode','md5_string_utf8','mean','median','merge_color','message_caption','min','motion_add','motion_set','mouse_check_button','mouse_check_button_pressed',
|
||||
'mouse_check_button_released','mouse_clear','mouse_wheel_down','mouse_wheel_up','move_bounce','move_bounce_all','move_bounce_solid','move_contact','move_contact_all','move_contact_solid','move_outside_all',
|
||||
'move_outside_solid','move_random','move_snap','move_towards_point','move_wrap','mp_grid_add_cell','mp_grid_add_instances','mp_grid_add_rectangle','mp_grid_clear_all','mp_grid_clear_cell',
|
||||
'mp_grid_clear_rectangle','mp_grid_create','mp_grid_destroy','mp_grid_draw','mp_grid_path','mp_linear_path','mp_linear_path_object','mp_linear_step','mp_linear_step_object','mp_potential_path',
|
||||
'mp_potential_path_object','mp_potential_settings','mp_potential_step','mp_potential_step_object','network_connect','network_connect_raw','network_create_server','network_create_socket','network_destroy',
|
||||
'network_resolve','network_send_broadcast','network_send_packet','network_send_raw','network_send_udp','network_set_timeout','object_exists','object_get_depth','object_get_mask',
|
||||
'object_get_name','object_get_parent','object_get_persistent','object_get_physics','object_get_solid','object_get_sprite','object_get_visible','object_is_ancestor','object_set_depth','object_set_mask',
|
||||
'object_set_persistent','object_set_solid','object_set_sprite','object_set_visible','ord','os_get_config','os_get_info','os_get_language','os_is_network_connected','os_is_paused','os_lock_orientation',
|
||||
'os_powersave_enable','parameter_count','parameter_string','part_emitter_burst','part_emitter_clear','part_emitter_create','part_emitter_destroy','part_emitter_destroy_all','part_emitter_exists',
|
||||
'part_emitter_region','part_emitter_stream','part_particles_clear','part_particles_count','part_particles_create','part_particles_create_color','part_system_automatic_draw','part_system_automatic_update',
|
||||
'part_system_clear','part_system_create','part_system_depth','part_system_destroy','part_system_draw_order','part_system_drawit','part_system_exists','part_system_position','part_system_update',
|
||||
'part_type_alpha','part_type_alpha1','part_type_alpha2','part_type_alpha3','part_type_blend','part_type_clear','part_type_color','part_type_color1','part_type_color2','part_type_color3','part_type_color_hsv',
|
||||
'part_type_color_mix','part_type_color_rgb','part_type_create','part_type_death','part_type_destroy','part_type_direction','part_type_exists','part_type_gravity','part_type_life','part_type_orientation',
|
||||
'part_type_scale','part_type_shape','part_type_size','part_type_speed','part_type_sprite','part_type_step','path_add','path_add_point','path_append','path_assign','path_change_point','path_clear_points',
|
||||
'path_delete','path_delete_point','path_duplicate','path_end','path_exists','path_flip','path_get_closed','path_get_kind','path_get_length','path_get_name','path_get_number','path_get_point_speed',
|
||||
'path_get_point_x','path_get_point_y','path_get_precision','path_get_speed','path_get_x','path_get_y','path_insert_point','path_mirror','path_rescale','path_reverse','path_rotate','path_set_closed',
|
||||
'path_set_kind','path_set_precision','path_shift','path_start','physics_apply_force','physics_apply_impulse','physics_apply_local_force','physics_apply_local_impulse','physics_apply_torque',
|
||||
'physics_draw_debug','physics_fixture_add_point','physics_fixture_bind','physics_fixture_bind_ext','physics_fixture_create','physics_fixture_delete','physics_fixture_set_angular_damping',
|
||||
'physics_fixture_set_awake','physics_fixture_set_box_shape','physics_fixture_set_circle_shape','physics_fixture_set_collision_group','physics_fixture_set_density','physics_fixture_set_edge_shape',
|
||||
'physics_fixture_set_friction','physics_fixture_set_kinematic','physics_fixture_set_linear_damping','physics_fixture_set_polygon_shape','physics_fixture_set_restitution','physics_fixture_set_sensor',
|
||||
'physics_get_density','physics_get_friction','physics_get_restitution','physics_joint_delete','physics_joint_distance_create','physics_joint_enable_motor','physics_joint_gear_create','physics_joint_get_value',
|
||||
'physics_joint_prismatic_create','physics_joint_pulley_create','physics_joint_revolute_create','physics_joint_set_value','physics_mass_properties','physics_pause_enable','physics_remove_fixture','physics_set_density',
|
||||
'physics_set_friction','physics_set_restitution','physics_test_overlap','physics_world_create','physics_world_draw_debug','physics_world_gravity','physics_world_update_iterations','physics_world_update_speed',
|
||||
'place_empty','place_free','place_meeting','place_snapped','playhaven_add_notification_badge','playhaven_hide_notification_badge','playhaven_position_notification_badge','playhaven_update_notification_badge',
|
||||
'pocketchange_display_reward','pocketchange_display_shop','point_direction','point_distance','point_distance_3d','position_change','position_destroy','position_empty','position_meeting','power','radtodeg','random',
|
||||
'random_get_seed','random_range','random_set_seed','randomize','real','room_add','room_assign','room_duplicate','room_exists','room_get_name','room_goto','room_goto_next','room_goto_previous','room_instance_add',
|
||||
'room_instance_clear','room_next','room_previous','room_restart','room_set_background','room_set_background_color','room_set_height','room_set_persistent','room_set_view','room_set_view_enabled','room_set_width',
|
||||
'room_tile_add','room_tile_add_ext','room_tile_clear','round','screen_save','screen_save_part','script_execute','script_exists','script_get_name','sha1_file','sha1_string_unicode','sha1_string_utf8','shader_enable_corner_id',
|
||||
'shader_get_sampler_index','shader_get_uniform','shader_is_compiled','shader_reset','shader_set','shader_set_uniform_f','shader_set_uniform_f_array','shader_set_uniform_i','shader_set_uniform_i_array',
|
||||
'shader_set_uniform_matrix','shader_set_uniform_matrix_array','shaders_are_supported','shop_leave_rating','show_debug_message','show_debug_overlay','show_error','show_message','show_message_async',
|
||||
'show_question','show_question_async','sign','sin','sound_add','sound_delete','sound_exists','sound_fade','sound_get_name','sound_global_volume','sound_isplaying','sound_loop','sound_play','sound_replace',
|
||||
'sound_stop','sound_stop_all','sound_volume','sprite_add','sprite_add_from_surface','sprite_assign','sprite_collision_mask','sprite_create_from_surface','sprite_delete','sprite_duplicate','sprite_exists',
|
||||
'sprite_get_bbox_bottom','sprite_get_bbox_left','sprite_get_bbox_right','sprite_get_bbox_top','sprite_get_height','sprite_get_name','sprite_get_number','sprite_get_texture','sprite_get_tpe','sprite_get_uvs',
|
||||
'sprite_get_width','sprite_get_xoffset','sprite_get_yoffset','sprite_merge','sprite_replace','sprite_save','sprite_save_strip','sprite_set_alpha_from_sprite','sprite_set_cache_size','sprite_set_cache_size_ext',
|
||||
'sprite_set_offset','sqr','sqrt','steam_activate_overlay','steam_clear_achievement','steam_create_leaderboard','steam_download_friends_scores','steam_download_scores','steam_download_scores_around_user',
|
||||
'steam_file_delete','steam_file_exists','steam_file_persisted','steam_file_read','steam_file_share','steam_file_size','steam_file_write','steam_file_write_file','steam_get_achievement','steam_get_persona_name',
|
||||
'steam_get_quota_free','steam_get_quota_total','steam_get_stat_avg_rate','steam_get_stat_float','steam_get_stat_int','steam_get_user_steam_id','steam_initialised','steam_is_cloud_enabled_for_account',
|
||||
'steam_is_cloud_enabled_for_app','steam_is_overlay_activated','steam_is_overlay_enabled','steam_is_screenshot_requested','steam_is_user_logged_on','steam_publish_workshop_file','steam_reset_all_stats',
|
||||
'steam_reset_all_stats_achievements','steam_send_screenshot','steam_set_achievement','steam_set_stat_avg_rate','steam_set_stat_float','steam_set_stat_int','steam_stats_ready','steam_upload_score',
|
||||
'steam_user_installed_dlc','steam_user_owns_dlc','string','string_byte_at','string_byte_length','string_char_at','string_copy','string_count','string_delete','string_digits','string_format','string_height',
|
||||
'string_height_ext','string_insert','string_length','string_letters','string_lettersdigits','string_lower','string_pos','string_repeat','string_replace','string_replace_all','string_set_byte_at','string_upper',
|
||||
'string_width','string_width_ext','surface_copy','surface_copy_part','surface_create','surface_create_ext','surface_exists','surface_free','surface_get_height','surface_get_texture','surface_get_width',
|
||||
'surface_getpixel','surface_getpixel_ext','surface_reset_target','surface_save','surface_save_part','surface_set_target','surface_set_target_ext','tan','texture_exists','texture_get_height','texture_get_texel_height',
|
||||
'texture_get_texel_width','texture_get_width','texture_set_blending','texture_set_interpolation','texture_set_interpolation_ext','texture_set_repeat','texture_set_repeat_ext','texture_set_stage','tile_add',
|
||||
'tile_delete','tile_delete_at','tile_exists','tile_find','tile_get_alpha','tile_get_background','tile_get_blend','tile_get_depth','tile_get_height','tile_get_left','tile_get_top','tile_get_visible','tile_get_width',
|
||||
'tile_get_x','tile_get_xscale','tile_get_y','tile_get_yscale','tile_layer_delete','tile_layer_delete_at','tile_layer_depth','tile_layer_find','tile_layer_hide','tile_layer_shift','tile_layer_show','tile_set_alpha',
|
||||
'tile_set_background','tile_set_blend','tile_set_depth','tile_set_position','tile_set_region','tile_set_scale','tile_set_visible','timeline_add','timeline_clear','timeline_delete','timeline_exists','timeline_get_name',
|
||||
'timeline_moment_clear','url_get_domain','url_open','url_open_ext','url_open_full','vertex_argb','vertex_begin','vertex_colour','vertex_create_buffer','vertex_create_buffer_ext','vertex_delete_buffer','vertex_end',
|
||||
'vertex_float1','vertex_float2','vertex_float3','vertex_float4','vertex_format_add_colour','vertex_format_add_custom','vertex_format_add_normal','vertex_format_add_position','vertex_format_add_position_3d',
|
||||
'vertex_format_add_textcoord','vertex_format_begin','vertex_format_end','vertex_freeze','vertex_normal','vertex_position','vertex_position_3d','vertex_submit','vertex_texcoord','vertex_ubyte4','virtual_key_add',
|
||||
'virtual_key_delete','virtual_key_hide','virtual_key_show','win8_appbar_add_element','win8_appbar_enable','win8_appbar_remove_element','win8_device_touchscreen_available','win8_license_initialize_sandbox',
|
||||
'win8_license_trial_version','win8_livetile_badge_clear','win8_livetile_badge_notification','win8_livetile_notification_begin','win8_livetile_notification_end','win8_livetile_notification_expiry',
|
||||
'win8_livetile_notification_image_add','win8_livetile_notification_secondary_begin','win8_livetile_notification_tag','win8_livetile_notification_text_add','win8_livetile_queue_enable','win8_livetile_tile_clear',
|
||||
'win8_livetile_tile_notification','win8_search_add_suggestions','win8_search_disable','win8_search_enable','win8_secondarytile_badge_notification','win8_secondarytile_delete','win8_secondarytile_pin',
|
||||
'win8_settingscharm_add_entry','win8_settingscharm_add_html_entry','win8_settingscharm_add_xaml_entry','win8_settingscharm_get_xaml_property','win8_settingscharm_remove_entry','win8_settingscharm_set_xaml_property',
|
||||
'win8_share_file','win8_share_image','win8_share_screenshot','win8_share_text','win8_share_url','window_center','window_get_caption','window_get_color','window_get_cursor','window_get_fullscreen','window_get_height',
|
||||
'window_get_width','window_get_x','window_get_y','window_handle','window_has_focus','window_mouse_get_x','window_mouse_get_y','window_mouse_set','window_set_caption','window_set_color','window_set_cursor',
|
||||
'window_set_fullscreen','window_set_position','window_set_rectangle','window_set_size','window_view_mouse_get_x','window_view_mouse_get_y','window_views_mouse_get_x','window_views_mouse_get_y',
|
||||
'winphone_license_trial_version','winphone_tile_back_content','winphone_tile_back_content_wide','winphone_tile_back_image','winphone_tile_back_image_wide','winphone_tile_back_title','winphone_tile_background_color',
|
||||
'winphone_tile_count','winphone_tile_cycle_images','winphone_tile_front_image','winphone_tile_front_image_small','winphone_tile_front_image_wide','winphone_tile_icon_image','winphone_tile_small_background_image',
|
||||
'winphone_tile_small_icon_image','winphone_tile_title','winphone_tile_wide_content','zip_unzip'
|
||||
),
|
||||
// functions
|
||||
|
||||
// Constants
|
||||
3 => array(
|
||||
// Computing things
|
||||
'random','choose','abs','sign','round','floor','ceil','frac','sqrt','sqr','power','exp','ln',
|
||||
'log2','log10','logn','sin','cos','tan','arcsin','arccos','arctan','arctan2','degtorad',
|
||||
'radtodeg','min','max','mean','median','point_distance','point_direction','lengthdir_x',
|
||||
'lengthdir_y','is_real','is_string',
|
||||
'chr','ord','real','string','string_format','string_length','string_pos','string_copy',
|
||||
'string_char_at','string_delete','string_insert','string_replace','string_replace_all',
|
||||
'string_count','string_lower','string_upper','string_repeat','string_letters','string_digits',
|
||||
'string_lettersdigits','clipboard_has_text','clipboard_get_text','clipboard_set_text',
|
||||
'date_current_datetime','date_current_date','date_current_time','date_create_datetime',
|
||||
'date_create_date','date_create_time','date_valid_datetime','date_valid_date','date_valid_time',
|
||||
'date_inc_year','date_inc_month','date_inc_week','date_inc_day','date_inc_hour',
|
||||
'date_inc_minute','date_inc_second','date_get_year','date_get_month','date_get_week',
|
||||
'date_get_day','date_get_hour', 'date_get_minute','date_get_second','date_get_weekday',
|
||||
'date_get_day_of_year','date_get_hour_of_year','date_get_minute_of_year',
|
||||
'date_get_second_of_year','date_year_span','date_month_span','date_week_span','date_day_span',
|
||||
'date_hour_span','date_minute_span','date_second_span','date_compare_datetime',
|
||||
'date_compare_date','date_compare_time','date_date_of','date_time_of','date_datetime_string',
|
||||
'date_date_string','date_time_string','date_days_in_month','date_days_in_year','date_leap_year',
|
||||
'date_is_today',
|
||||
// Game play
|
||||
'motion_set','motion_add','place_free','place_empty','place_meeting','place_snapped',
|
||||
'move_random','move_snap','move_wrap','move_towards_point','move_bounce_solid','move_bounce_all',
|
||||
'move_contact_solid','move_contact_all','move_outside_solid','move_outside_all',
|
||||
'distance_to_point','distance_to_object','position_empty','position_meeting',
|
||||
'path_start','path_end',
|
||||
'mp_linear_step','mp_linear_step_object','mp_potential_step','mp_potential_step_object',
|
||||
'mp_potential_settings','mp_linear_path','mp_linear_path_object', 'mp_potential_path',
|
||||
'mp_potential_path_object','mp_grid_create','mp_grid_destroy','mp_grid_clear_all',
|
||||
'mp_grid_clear_cell','mp_grid_clear_rectangle','mp_grid_add_cell','mp_grid_add_rectangle',
|
||||
'mp_grid_add_instances','mp_grid_path','mp_grid_draw',
|
||||
'collision_point','collision_rectangle','collision_circle','collision_ellipse','collision_line',
|
||||
'instance_find','instance_exists','instance_number','instance_position','instance_nearest',
|
||||
'instance_furthest','instance_place','instance_create','instance_copy','instance_destroy',
|
||||
'instance_change','position_destroy','position_change',
|
||||
'instance_deactivate_all','instance_deactivate_object','instance_deactivate_region',
|
||||
'instance_activate_all','instance_activate_object','instance_activate_region',
|
||||
'sleep',
|
||||
'room_goto','room_goto_previous','room_goto_next','room_restart','room_previous','room_next',
|
||||
'game_end','game_restart','game_save','game_load',
|
||||
'event_perform', 'event_perform_object','event_user','event_inherited',
|
||||
'show_debug_message','variable_global_exists','variable_local_exists','variable_global_get',
|
||||
'variable_global_array_get','variable_global_array2_get','variable_local_get',
|
||||
'variable_local_array_get','variable_local_array2_get','variable_global_set',
|
||||
'variable_global_array_set','variable_global_array2_set','variable_local_set',
|
||||
'variable_local_array_set','variable_local_array2_set','set_program_priority',
|
||||
// User interaction
|
||||
'keyboard_set_map','keyboard_get_map','keyboard_unset_map','keyboard_check',
|
||||
'keyboard_check_pressed','keyboard_check_released','keyboard_check_direct',
|
||||
'keyboard_get_numlock','keyboard_set_numlock','keyboard_key_press','keyboard_key_release',
|
||||
'keyboard_clear','io_clear','io_handle','keyboard_wait',
|
||||
'mouse_check_button','mouse_check_button_pressed','mouse_check_button_released','mouse_clear',
|
||||
'mouse_wait',
|
||||
'joystick_exists','joystick_name','joystick_axes','joystick_buttons','joystick_has_pov',
|
||||
'joystick_direction','joystick_check_button','joystick_xpos','joystick_ypos','joystick_zpos',
|
||||
'joystick_rpos','joystick_upos','joystick_vpos','joystick_pov',
|
||||
// Game Graphics
|
||||
'draw_sprite','draw_sprite_stretched','draw_sprite_tiled','draw_sprite_part','draw_background',
|
||||
'draw_background_stretched','draw_background_tiled','draw_background_part','draw_sprite_ext',
|
||||
'draw_sprite_stretched_ext','draw_sprite_tiled_ext','draw_sprite_part_ext','draw_sprite_general',
|
||||
'draw_background_ext','draw_background_stretched_ext','draw_background_tiled_ext',
|
||||
'draw_background_part_ext','draw_background_general',
|
||||
'draw_clear','draw_clear_alpha','draw_point','draw_line','draw_rectangle','draw_roundrect',
|
||||
'draw_triangle','draw_circle','draw_ellipse','draw_arrow','draw_button','draw_path',
|
||||
'draw_healthbar','draw_set_color','draw_set_alpha','draw_get_color','draw_get_alpha',
|
||||
'make_color_rgb','make_color_hsv','color_get_red','color_get_green','color_get_blue',
|
||||
'color_get_hue','color_get_saturation','color_get_value','merge_color','draw_getpixel',
|
||||
'screen_save','screen_save_part',
|
||||
'draw_set_font','draw_set_halign','draw_set_valign','draw_text','draw_text_ext','string_width',
|
||||
'string_height','string_width_ext','string_height_ext','draw_text_transformed',
|
||||
'draw_text_ext_transformed','draw_text_color','draw_text_ext_color',
|
||||
'draw_text_transformed_color','draw_text_ext_transformed_color',
|
||||
'draw_point_color','draw_line_color','draw_rectangle_color','draw_roundrect_color',
|
||||
'draw_triangle_color','draw_circle_color','draw_ellipse_color','draw_primitive_begin',
|
||||
'draw_vertex','draw_vertex_color','draw_primitive_end','sprite_get_texture',
|
||||
'background_get_texture','texture_preload','texture_set_priority',
|
||||
'texture_get_width','texture_get_height','draw_primitive_begin_texture','draw_vertex_texture',
|
||||
'draw_vertex_texture_color','texture_set_interpolation',
|
||||
'texture_set_blending','texture_set_repeat','draw_set_blend_mode','draw_set_blend_mode_ext',
|
||||
'surface_create','surface_free','surface_exists','surface_get_width','surface_get_height',
|
||||
'surface_get_texture','surface_set_target','surface_reset_target','surface_getpixel',
|
||||
'surface_save','surface_save_part','draw_surface','draw_surface_stretched','draw_surface_tiled',
|
||||
'draw_surface_part','draw_surface_ext','draw_surface_stretched_ext','draw_surface_tiled_ext',
|
||||
'draw_surface_part_ext','draw_surface_general','surface_copy','surface_copy_part',
|
||||
'tile_add','tile_delete','tile_exists','tile_get_x','tile_get_y','tile_get_left','tile_get_top',
|
||||
'tile_get_width','tile_get_height','tile_get_depth','tile_get_visible','tile_get_xscale',
|
||||
'tile_get_yscale','tile_get_background','tile_get_blend','tile_get_alpha','tile_set_position',
|
||||
'tile_set_region','tile_set_background','tile_set_visible','tile_set_depth','tile_set_scale',
|
||||
'tile_set_blend','tile_set_alpha','tile_layer_hide','tile_layer_show','tile_layer_delete',
|
||||
'tile_layer_shift','tile_layer_find','tile_layer_delete_at','tile_layer_depth',
|
||||
'display_get_width','display_get_height','display_get_colordepth','display_get_frequency',
|
||||
'display_set_size','display_set_colordepth','display_set_frequency','display_set_all',
|
||||
'display_test_all','display_reset','display_mouse_get_x','display_mouse_get_y','display_mouse_set',
|
||||
'window_set_visible','window_get_visible','window_set_fullscreen','window_get_fullscreen',
|
||||
'window_set_showborder','window_get_showborder','window_set_showicons','window_get_showicons',
|
||||
'window_set_stayontop','window_get_stayontop','window_set_sizeable','window_get_sizeable',
|
||||
'window_set_caption','window_get_caption','window_set_cursor', 'window_get_cursor',
|
||||
'window_set_color','window_get_color','window_set_region_scale','window_get_region_scale',
|
||||
'window_set_position','window_set_size','window_set_rectangle','window_center','window_default',
|
||||
'window_get_x','window_get_y','window_get_width','window_get_height','window_mouse_get_x',
|
||||
'window_mouse_get_y','window_mouse_set',
|
||||
'window_set_region_size','window_get_region_width','window_get_region_height',
|
||||
'window_view_mouse_get_x','window_view_mouse_get_y','window_view_mouse_set',
|
||||
'window_views_mouse_get_x','window_views_mouse_get_y','window_views_mouse_set',
|
||||
'screen_redraw','screen_refresh','set_automatic_draw','set_synchronization','screen_wait_vsync',
|
||||
// Sound and music)
|
||||
'sound_play','sound_loop','sound_stop','sound_stop_all','sound_isplaying','sound_volume',
|
||||
'sound_global_volume','sound_fade','sound_pan','sound_background_tempo','sound_set_search_directory',
|
||||
'sound_effect_set','sound_effect_chorus','sound_effect_echo', 'sound_effect_flanger',
|
||||
'sound_effect_gargle','sound_effect_reverb','sound_effect_compressor','sound_effect_equalizer',
|
||||
'sound_3d_set_sound_position','sound_3d_set_sound_velocity','sound_3d_set_sound_distance',
|
||||
'sound_3d_set_sound_cone',
|
||||
'cd_init','cd_present','cd_number','cd_playing','cd_paused','cd_track','cd_length',
|
||||
'cd_track_length','cd_position','cd_track_position','cd_play','cd_stop','cd_pause','cd_resume',
|
||||
'cd_set_position','cd_set_track_position','cd_open_door','cd_close_door','MCI_command',
|
||||
// Splash screens, highscores, and other pop-ups
|
||||
'show_text','show_image','show_video','show_info','load_info',
|
||||
'show_message','show_message_ext','show_question','get_integer','get_string',
|
||||
'message_background','message_alpha','message_button','message_text_font','message_button_font',
|
||||
'message_input_font','message_mouse_color','message_input_color','message_caption',
|
||||
'message_position','message_size','show_menu','show_menu_pos','get_color','get_open_filename',
|
||||
'get_save_filename','get_directory','get_directory_alt','show_error',
|
||||
'highscore_show','highscore_set_background','highscore_set_border','highscore_set_font',
|
||||
'highscore_set_colors','highscore_set_strings','highscore_show_ext','highscore_clear',
|
||||
'highscore_add','highscore_add_current','highscore_value','highscore_name','draw_highscore',
|
||||
// Resources
|
||||
'sprite_exists','sprite_get_name','sprite_get_number','sprite_get_width','sprite_get_height',
|
||||
'sprite_get_transparent','sprite_get_smooth','sprite_get_preload','sprite_get_xoffset',
|
||||
'sprite_get_yoffset','sprite_get_bbox_left','sprite_get_bbox_right','sprite_get_bbox_top',
|
||||
'sprite_get_bbox_bottom','sprite_get_bbox_mode','sprite_get_precise',
|
||||
'sound_exists','sound_get_name','sound_get_kind','sound_get_preload','sound_discard',
|
||||
'sound_restore',
|
||||
'background_exists','background_get_name','background_get_width','background_get_height',
|
||||
'background_get_transparent','background_get_smooth','background_get_preload',
|
||||
'font_exists','font_get_name','font_get_fontname','font_get_bold','font_get_italic',
|
||||
'font_get_first','font_get_last',
|
||||
'path_exists','path_get_name','path_get_length','path_get_kind','path_get_closed',
|
||||
'path_get_precision','path_get_number','path_get_point_x','path_get_point_y',
|
||||
'path_get_point_speed','path_get_x','path_get_y','path_get_speed',
|
||||
'script_exists','script_get_name','script_get_text',
|
||||
'timeline_exists','timeline_get_name',
|
||||
'object_exists','object_get_name','object_get_sprite','object_get_solid','object_get_visible',
|
||||
'object_get_depth','object_get_persistent','object_get_mask','object_get_parent',
|
||||
'object_is_ancestor',
|
||||
'room_exists','room_get_name',
|
||||
// Changing resources
|
||||
'sprite_set_offset','sprite_set_bbox_mode','sprite_set_bbox','sprite_set_precise',
|
||||
'sprite_duplicate','sprite_assign','sprite_merge','sprite_add','sprite_replace',
|
||||
'sprite_create_from_screen','sprite_add_from_screen','sprite_create_from_surface',
|
||||
'sprite_add_from_surface','sprite_delete','sprite_set_alpha_from_sprite',
|
||||
'sound_add','sound_replace','sound_delete',
|
||||
'background_duplicate','background_assign','background_add','background_replace',
|
||||
'background_create_color','background_create_gradient','background_create_from_screen',
|
||||
'background_create_from_surface','background_delete','background_set_alpha_from_background',
|
||||
'font_add','font_add_sprite','font_replace_sprite','font_delete',
|
||||
'path_set_kind','path_set_closed','path_set_precision','path_add','path_delete','path_duplicate',
|
||||
'path_assign','path_append','path_add_point','path_insert_point','path_change_point',
|
||||
'path_delete_point','path_clear_points','path_reverse','path_mirror','path_flip','path_rotate',
|
||||
'path_scale','path_shift',
|
||||
'execute_string','execute_file','script_execute',
|
||||
'timeline_add','timeline_delete','timeline_moment_add','timeline_moment_clear',
|
||||
'object_set_sprite','object_set_solid','object_set_visible','object_set_depth',
|
||||
'object_set_persistent','object_set_mask','object_set_parent','object_add','object_delete',
|
||||
'object_event_add','object_event_clear',
|
||||
'room_set_width','room_set_height','room_set_caption','room_set_persistent','room_set_code',
|
||||
'room_set_background_color','room_set_background','room_set_view','room_set_view_enabled',
|
||||
'room_add','room_duplicate','room_assign','room_instance_add','room_instance_clear',
|
||||
'room_tile_add','room_tile_add_ext','room_tile_clear',
|
||||
// Files, registry and executing programs
|
||||
'file_text_open_read','file_text_open_write','file_text_open_append','file_text_close',
|
||||
'file_text_write_string','file_text_write_real','file_text_writeln','file_text_read_string',
|
||||
'file_text_read_real','file_text_readln','file_text_eof','file_exists','file_delete',
|
||||
'file_rename','file_copy','directory_exists','directory_create','file_find_first',
|
||||
'file_find_next','file_find_close','file_attributes', 'filename_name','filename_path',
|
||||
'filename_dir','filename_drive','filename_ext','filename_change_ext','file_bin_open',
|
||||
'file_bin_rewrite','file_bin_close','file_bin_size','file_bin_position','file_bin_seek',
|
||||
'file_bin_write_byte','file_bin_read_byte','parameter_count','parameter_string',
|
||||
'environment_get_variable',
|
||||
'registry_write_string','registry_write_real','registry_read_string','registry_read_real',
|
||||
'registry_exists','registry_write_string_ext','registry_write_real_ext',
|
||||
'registry_read_string_ext','registry_read_real_ext','registry_exists_ext','registry_set_root',
|
||||
'ini_open','ini_close','ini_read_string','ini_read_real','ini_write_string','ini_write_real',
|
||||
'ini_key_exists','ini_section_exists','ini_key_delete','ini_section_delete',
|
||||
'execute_program','execute_shell',
|
||||
// Data structures
|
||||
'ds_stack_create','ds_stack_destroy','ds_stack_clear','ds_stack_size','ds_stack_empty',
|
||||
'ds_stack_push','ds_stack_pop','ds_stack_top',
|
||||
'ds_queue_create','ds_queue_destroy','ds_queue_clear','ds_queue_size','ds_queue_empty',
|
||||
'ds_queue_enqueue','ds_queue_dequeue','ds_queue_head','ds_queue_tail',
|
||||
'ds_list_create','ds_list_destroy','ds_list_clear','ds_list_size','ds_list_empty','ds_list_add',
|
||||
'ds_list_insert','ds_list_replace','ds_list_delete','ds_list_find_index','ds_list_find_value',
|
||||
'ds_list_sort',
|
||||
'ds_map_create','ds_map_destroy','ds_map_clear','ds_map_size','ds_map_empty','ds_map_add',
|
||||
'ds_map_replace','ds_map_delete','ds_map_exists','ds_map_find_value','ds_map_find_previous',
|
||||
'ds_map_find_next','ds_map_find_first','ds_map_find_last',
|
||||
'ds_priority_create','ds_priority_destroy','ds_priority_clear','ds_priority_size',
|
||||
'ds_priority_empty','ds_priority_add','ds_priority_change_priority','ds_priority_find_priority',
|
||||
'ds_priority_delete_value','ds_priority_delete_min','ds_priority_find_min',
|
||||
'ds_priority_delete_max','ds_priority_find_max',
|
||||
'ds_grid_create','ds_grid_destroy','ds_grid_resize','ds_grid_width','ds_grid_height',
|
||||
'ds_grid_clear','ds_grid_set','ds_grid_add','ds_grid_multiply','ds_grid_set_region',
|
||||
'ds_grid_add_region','ds_grid_multiply_region','ds_grid_set_disk','ds_grid_add_disk',
|
||||
'ds_grid_multiply_disk','ds_grid_get','ds_grid_get_sum','ds_grid_get_max','ds_grid_get_min',
|
||||
'ds_grid_get_mean','ds_grid_get_disk_sum','ds_grid_get_disk_min','ds_grid_get_disk_max',
|
||||
'ds_grid_get_disk_mean','ds_grid_value_exists','ds_grid_value_x','ds_grid_value_y',
|
||||
'ds_grid_value_disk_exists','ds_grid_value_disk_x','ds_grid_value_disk_y',
|
||||
// Creating particles
|
||||
'effect_create_below','effect_create_above','effect_clear',
|
||||
'part_type_create','part_type_destroy','part_type_exists','part_type_clear','part_type_shape',
|
||||
'part_type_sprite','part_type_size','part_type_scale',
|
||||
'part_type_orientation','part_type_color1','part_type_color2','part_type_color3',
|
||||
'part_type_color_mix','part_type_color_rgb','part_type_color_hsv',
|
||||
'part_type_alpha1','part_type_alpha2','part_type_alpha3','part_type_blend','part_type_life',
|
||||
'part_type_step','part_type_death','part_type_speed','part_type_direction','part_type_gravity',
|
||||
'part_system_create','part_system_destroy','part_system_exists','part_system_clear',
|
||||
'part_system_draw_order','part_system_depth','part_system_position',
|
||||
'part_system_automatic_update','part_system_automatic_draw','part_system_update',
|
||||
'part_system_drawit','part_particles_create','part_particles_create_color',
|
||||
'part_particles_clear','part_particles_count',
|
||||
'part_emitter_create','part_emitter_destroy','part_emitter_destroy_all','part_emitter_exists',
|
||||
'part_emitter_clear','part_emitter_region','part_emitter_burst','part_emitter_stream',
|
||||
'part_attractor_create','part_attractor_destroy','part_attractor_destroy_all',
|
||||
'part_attractor_exists','part_attractor_clear','part_attractor_position','part_attractor_force',
|
||||
'part_destroyer_create','part_destroyer_destroy','part_destroyer_destroy_all',
|
||||
'part_destroyer_exists','part_destroyer_clear','part_destroyer_region',
|
||||
'part_deflector_create','part_deflector_destroy','part_deflector_destroy_all',
|
||||
'part_deflector_exists','part_deflector_clear','part_deflector_region','part_deflector_kind',
|
||||
'part_deflector_friction',
|
||||
'part_changer_create','part_changer_destroy','part_changer_destroy_all','part_changer_exists',
|
||||
'part_changer_clear','part_changer_region','part_changer_types','part_changer_kind',
|
||||
// Multiplayer games
|
||||
'mplay_init_ipx','mplay_init_tcpip','mplay_init_modem','mplay_init_serial',
|
||||
'mplay_connect_status','mplay_end','mplay_ipaddress',
|
||||
'mplay_session_create','mplay_session_find','mplay_session_name','mplay_session_join',
|
||||
'mplay_session_mode','mplay_session_status','mplay_session_end',
|
||||
'mplay_player_find','mplay_player_name','mplay_player_id',
|
||||
'mplay_data_write','mplay_data_read','mplay_data_mode',
|
||||
'mplay_message_send','mplay_message_send_guaranteed','mplay_message_receive','mplay_message_id',
|
||||
'mplay_message_value','mplay_message_player','mplay_message_name','mplay_message_count',
|
||||
'mplay_message_clear',
|
||||
// Using DLL's
|
||||
'external_define','external_call','external_free','window_handle',
|
||||
// 3D Graphics
|
||||
'd3d_start','d3d_end','d3d_set_hidden','d3d_set_perspective',
|
||||
'd3d_set_depth',
|
||||
'd3d_primitive_begin','d3d_vertex','d3d_vertex_color','d3d_primitive_end',
|
||||
'd3d_primitive_begin_texture','d3d_vertex_texture','d3d_vertex_texture_color','d3d_set_culling',
|
||||
'd3d_draw_block','d3d_draw_cylinder','d3d_draw_cone','d3d_draw_ellipsoid','d3d_draw_wall',
|
||||
'd3d_draw_floor',
|
||||
'd3d_set_projection','d3d_set_projection_ext','d3d_set_projection_ortho',
|
||||
'd3d_set_projection_perspective',
|
||||
'd3d_transform_set_identity','d3d_transform_set_translation','d3d_transform_set_scaling',
|
||||
'd3d_transform_set_rotation_x','d3d_transform_set_rotation_y','d3d_transform_set_rotation_z',
|
||||
'd3d_transform_set_rotation_axis','d3d_transform_add_translation','d3d_transform_add_scaling',
|
||||
'd3d_transform_add_rotation_x','d3d_transform_add_rotation_y','d3d_transform_add_rotation_z',
|
||||
'd3d_transform_add_rotation_axis','d3d_transform_stack_clear','d3d_transform_stack_empty',
|
||||
'd3d_transform_stack_push','d3d_transform_stack_pop','d3d_transform_stack_top',
|
||||
'd3d_transform_stack_discard',
|
||||
'd3d_set_fog',
|
||||
'd3d_set_lighting','d3d_set_shading','d3d_light_define_direction','d3d_light_define_point',
|
||||
'd3d_light_enable','d3d_vertex_normal','d3d_vertex_normal_color','d3d_vertex_normal_texture',
|
||||
'd3d_vertex_normal_texture_color',
|
||||
'd3d_model_create','d3d_model_destroy','d3d_model_clear','d3d_model_save','d3d_model_load',
|
||||
'd3d_model_draw','d3d_model_primitive_begin','d3d_model_vertex','d3d_model_vertex_color',
|
||||
'd3d_model_vertex_texture','d3d_model_vertex_texture_color','d3d_model_vertex_normal',
|
||||
'd3d_model_vertex_normal_color','d3d_model_vertex_normal_texture',
|
||||
'd3d_model_vertex_normal_texture_color','d3d_model_primitive_end','d3d_model_block',
|
||||
'd3d_model_cylinder','d3d_model_cone','d3d_model_ellipsoid','d3d_model_wall','d3d_model_floor'
|
||||
'ANSI_CHARSET','ARABIC_CHARSET','BALTIC_CHARSET','CHINESEBIG5_CHARSET','DEFAULT_CHARSET','EASTEUROPE_CHARSET','GB2312_CHARSET','GREEK_CHARSET','HANGEUL_CHARSET','HEBREW_CHARSET','JOHAB_CHARSET',
|
||||
'MAC_CHARSET','OEM_CHARSET','RUSSIAN_CHARSET','SHIFTJIS_CHARSET','SYMBOL_CHARSET','THAI_CHARSET','TURKISH_CHARSET','VIETNAMESE_CHARSET','achievement_achievement_info','achievement_challenge_completed',
|
||||
'achievement_challenge_completed_by_remote','achievement_challenge_launched','achievement_challenge_list_received','achievement_challenge_received','achievement_filter_all_players',
|
||||
'achievement_filter_friends_only','achievement_friends_info','achievement_leaderboard_info','achievement_our_info','achievement_pic_loaded','achievement_player_info','achievement_purchase_info',
|
||||
'achievement_show_achievement','achievement_show_bank','achievement_show_friend_picker','achievement_show_leaderboard','achievement_show_profile','achievement_show_purchase_prompt','achievement_show_ui',
|
||||
'achievement_type_achievement_challenge','achievement_type_score_challenge','all','asset_background','asset_font','asset_object','asset_path','asset_room','asset_script','asset_sound','asset_sprite',
|
||||
'asset_timeline','asset_unknown','audio_falloff_exponent_distance','audio_falloff_exponent_distance_clamped','audio_falloff_inverse_distance','audio_falloff_inverse_distance_clamped',
|
||||
'audio_falloff_linear_distance','audio_falloff_linear_distance_clamped','audio_falloff_none','audio_new_system','audio_old_system','bm_add','bm_dest_alpha','bm_dest_color','bm_inv_dest_alpha',
|
||||
'bm_inv_dest_color','bm_inv_src_alpha','bm_inv_src_color','bm_max','bm_normal','bm_one','bm_src_alpha','bm_src_alpha_sat','bm_src_color','bm_subtract','bm_zero','browser_chrome',
|
||||
'browser_firefox','browser_ie','browser_ie_mobile','browser_not_a_browser','browser_opera','browser_safari','browser_safari_mobile','browser_tizen','browser_unknown','browser_windows_store','buffer_bool',
|
||||
'buffer_f16','buffer_f32','buffer_f64','buffer_fast','buffer_fixed','buffer_generalerror','buffer_grow','buffer_invalidtype','buffer_outofbounds','buffer_outofspace','buffer_s16','buffer_s32','buffer_s8',
|
||||
'buffer_seek_end','buffer_seek_relative','buffer_seek_start','buffer_string','buffer_u16','buffer_u32','buffer_u8','buffer_vbuffer','buffer_wrap','button_type','c_aqua','c_black','c_blue','c_dkgray',
|
||||
'c_fuchsia','c_gray','c_green','c_lime','c_ltgray','c_maroon','c_navy','c_olive','c_orange','c_purple','c_red','c_silver','c_teal','c_white','c_yellow','cr_appstart','cr_arrow','cr_beam','cr_cross',
|
||||
'cr_default','cr_drag','cr_handpoint','cr_help','cr_hourglass','cr_hsplit','cr_multidrag','cr_no','cr_nodrop','cr_none','cr_size_all','cr_size_nesw','cr_size_ns','cr_size_nwse','cr_size_we','cr_sqlwait',
|
||||
'cr_uparrow','cr_vsplit','device_emulator','device_ios_ipad','device_ios_ipad_retina','device_ios_iphone','device_ios_iphone5','device_ios_iphone_retina','device_ios_unknown','device_tablet','display_landscape',
|
||||
'display_landscape_flipped','display_portrait','display_portrait_flipped','dll_cdecl','dll_stdcall','ds_type_grid','ds_type_list','ds_type_map','ds_type_priority','ds_type_queue','ds_type_stack','e','ef_cloud',
|
||||
'ef_ellipse','ef_explosion','ef_firework','ef_flare','ef_rain','ef_ring','ef_smoke','ef_smokeup','ef_snow','ef_spark','ef_star','ev_alarm','ev_animation_end','ev_boundary','ev_close_button','ev_collision',
|
||||
'ev_create','ev_destroy','ev_draw','ev_end_of_path','ev_game_end','ev_game_start','ev_global_left_button','ev_global_left_press','ev_global_left_release','ev_global_middle_button','ev_global_middle_press',
|
||||
'ev_global_middle_release','ev_global_press','ev_global_release','ev_global_right_button','ev_global_right_press','ev_global_right_release','ev_gui','ev_joystick1_button1','ev_joystick1_button2',
|
||||
'ev_joystick1_button3','ev_joystick1_button4','ev_joystick1_button5','ev_joystick1_button6','ev_joystick1_button7','ev_joystick1_button8','ev_joystick1_down','ev_joystick1_left','ev_joystick1_right',
|
||||
'ev_joystick1_up','ev_joystick2_button1','ev_joystick2_button2','ev_joystick2_button3','ev_joystick2_button4','ev_joystick2_button5','ev_joystick2_button6','ev_joystick2_button7','ev_joystick2_button8',
|
||||
'ev_joystick2_down','ev_joystick2_left','ev_joystick2_right','ev_joystick2_up','ev_keyboard','ev_keypress','ev_keyrelease','ev_left_button','ev_left_press','ev_left_release','ev_middle_button',
|
||||
'ev_middle_press','ev_middle_release','ev_mouse','ev_mouse_enter','ev_mouse_leave','ev_mouse_wheel_down','ev_mouse_wheel_up','ev_no_button','ev_no_more_health','ev_no_more_lives','ev_other','ev_outside',
|
||||
'ev_right_button','ev_right_press','ev_right_release','ev_room_end','ev_room_start','ev_step','ev_step_begin','ev_step_end','ev_step_normal','ev_trigger','ev_user0','ev_user1','ev_user10','ev_user11',
|
||||
'ev_user12','ev_user13','ev_user14','ev_user15','ev_user2','ev_user3','ev_user4','ev_user5','ev_user6','ev_user7','ev_user8','ev_user9','fa_archive','fa_bottom','fa_center','fa_directory','fa_hidden',
|
||||
'fa_left','fa_middle','fa_readonly','fa_right','fa_sysfile','fa_top','fa_volumeid','false','gp_axislh','gp_axislv','gp_axisrh','gp_axisrv','gp_face1','gp_face2','gp_face3','gp_face4','gp_padd',
|
||||
'gp_padl','gp_padr','gp_padu','gp_select','gp_shoulderl','gp_shoulderlb','gp_shoulderr','gp_shoulderrb','gp_start','gp_stickl','gp_stickr','input_type','lb_disp_none','lb_disp_numeric','lb_disp_time_ms',
|
||||
'lb_disp_time_sec','lb_sort_ascending','lb_sort_descending','lb_sort_none','leaderboard_type_number','leaderboard_type_time_mins_secs','matrix_projection','matrix_view','matrix_world','mb_any',
|
||||
'mb_left','mb_middle','mb_none','mb_right','network_socket_bluetooth','network_socket_tcp','network_socket_udp','network_type_connect','network_type_data','network_type_disconnect',
|
||||
'of_challenge_lose','of_challenge_tie','of_challenge_win','os_android','os_ios','os_linux','os_macosx','os_psp','os_symbian','os_tizen','os_unknown','os_win32','os_win8native','os_windows','os_winphone',
|
||||
'ov_achievements','ov_community','ov_friends','ov_gamegroup','ov_players','ov_settings','phy_debug_render_aabb','phy_debug_render_collision_pairs','phy_debug_render_coms',
|
||||
'phy_debug_render_core_shapes','phy_debug_render_joints','phy_debug_render_obb','phy_debug_render_shapes','phy_joint_anchor_1_x','phy_joint_anchor_1_y','phy_joint_anchor_2_x','phy_joint_anchor_2_y',
|
||||
'phy_joint_angle','phy_joint_angle_limits','phy_joint_damping_ratio','phy_joint_frequency','phy_joint_length_1','phy_joint_length_2','phy_joint_lower_angle_limit','phy_joint_max_motor_force',
|
||||
'phy_joint_max_motor_torque','phy_joint_motor_force','phy_joint_motor_speed','phy_joint_motor_torque','phy_joint_reaction_force_x','phy_joint_reaction_force_y','phy_joint_reaction_torque','phy_joint_speed',
|
||||
'phy_joint_translation','phy_joint_upper_angle_limit','pi','pr_linelist','pr_linestrip','pr_pointlist','pr_trianglefan','pr_trianglelist','pr_trianglestrip','ps_change_all','ps_change_motion',
|
||||
'ps_change_shape','ps_deflect_horizontal','ps_deflect_vertical','ps_distr_gaussian','ps_distr_invgaussian','ps_distr_linear','ps_force_constant','ps_force_linear','ps_force_quadratic','ps_shape_diamond',
|
||||
'ps_shape_ellipse','ps_shape_line','ps_shape_rectangle','pt_shape_circle','pt_shape_cloud','pt_shape_disk','pt_shape_explosion','pt_shape_flare','pt_shape_line','pt_shape_pixel','pt_shape_ring',
|
||||
'pt_shape_smoke','pt_shape_snow','pt_shape_spark','pt_shape_sphere','pt_shape_square','pt_shape_star','se_chorus','se_compressor','se_echo','se_equalizer','se_flanger','se_gargle','se_none','se_reverb',
|
||||
'text_type','true','ty_real','ty_string','vertex_type_colour','vertex_type_float1','vertex_type_float2','vertex_type_float3','vertex_type_float4','vertex_type_ubyte4','vertex_usage_binormal',
|
||||
'vertex_usage_blendindices','vertex_usage_blendweight','vertex_usage_colour','vertex_usage_depth','vertex_usage_fog','vertex_usage_normal','vertex_usage_position','vertex_usage_psize','vertex_usage_sample',
|
||||
'vertex_usage_tagnet','vertex_usage_textcoord','vk_add','vk_alt','vk_anykey','vk_backspace','vk_control','vk_decimal','vk_delete','vk_divide','vk_down','vk_end','vk_enter','vk_escape','vk_f1','vk_f10',
|
||||
'vk_f11','vk_f12','vk_f2','vk_f3','vk_f4','vk_f5','vk_f6','vk_f7','vk_f8','vk_f9','vk_home','vk_insert','vk_lalt','vk_lcontrol','vk_left','vk_lshift','vk_multiply','vk_nokey','vk_numpad0','vk_numpad1',
|
||||
'vk_numpad2','vk_numpad3','vk_numpad4','vk_numpad5','vk_numpad6','vk_numpad7','vk_numpad8','vk_numpad9','vk_pagedown','vk_pageup','vk_pause','vk_printscreen','vk_ralt','vk_rcontrol','vk_return','vk_right',
|
||||
'vk_rshift','vk_shift','vk_space','vk_subtract','vk_tab','vk_up'
|
||||
),
|
||||
// constants
|
||||
|
||||
// Keywords
|
||||
4 => array(
|
||||
'true', 'false', 'pi',
|
||||
'ev_destroy','ev_step','ev_alarm','ev_keyboard','ev_mouse','ev_collision','ev_other','ev_draw',
|
||||
'ev_keypress','ev_keyrelease','ev_left_button','ev_right_button','ev_middle_button',
|
||||
'ev_no_button','ev_left_press','ev_right_press','ev_middle_press','ev_left_release',
|
||||
'ev_right_release','ev_middle_release','ev_mouse_enter','ev_mouse_leave','ev_mouse_wheel_up',
|
||||
'ev_mouse_wheel_down','ev_global_left_button','ev_global_right_button','ev_global_middle_button',
|
||||
'ev_global_left_press','ev_global_right_press','ev_global_middle_press','ev_global_left_release',
|
||||
'ev_global_right_release','ev_global_middle_release','ev_joystick1_left','ev_joystick1_right',
|
||||
'ev_joystick1_up','ev_joystick1_down','ev_joystick1_button1','ev_joystick1_button2',
|
||||
'ev_joystick1_button3','ev_joystick1_button4','ev_joystick1_button5','ev_joystick1_button6',
|
||||
'ev_joystick1_button7','ev_joystick1_button8','ev_joystick2_left','ev_joystick2_right',
|
||||
'ev_joystick2_up','ev_joystick2_down','ev_joystick2_button1','ev_joystick2_button2',
|
||||
'ev_joystick2_button3','ev_joystick2_button4','ev_joystick2_button5','ev_joystick2_button6',
|
||||
'ev_joystick2_button7','ev_joystick2_button8',
|
||||
'ev_outside','ev_boundary','ev_game_start','ev_game_end','ev_room_start','ev_room_end',
|
||||
'ev_no_more_lives','ev_no_more_health','ev_animation_end','ev_end_of_path','ev_user0','ev_user1',
|
||||
'ev_user2','ev_user3','ev_user4','ev_user5','ev_user6','ev_user7','ev_user8','ev_user9',
|
||||
'ev_user10','ev_user11','ev_user12','ev_user13','ev_user14','ev_user15','ev_step_normal',
|
||||
'ev_step_begin','ev_step_end',
|
||||
'vk_nokey','vk_anykey','vk_left','vk_right','vk_up','vk_down','vk_enter','vk_escape','vk_space',
|
||||
'vk_shift','vk_control','vk_alt','vk_backspace','vk_tab','vk_home','vk_end','vk_delete',
|
||||
'vk_insert','vk_pageup','vk_pagedown','vk_pause','vk_printscreen',
|
||||
'vk_f1','vk_f2','vk_f3','vk_f4','vk_f5','vk_f6','vk_f7','vk_f8','vk_f9','vk_f10','vk_f11','vk_f12',
|
||||
'vk_numpad0','vk_numpad1','vk_numpad2','vk_numpad3','vk_numpad4','vk_numpad5','vk_numpad6',
|
||||
'vk_numpad7','vk_numpad8','vk_numpad9', 'vk_multiply','vk_divide','vk_add','vk_subtract',
|
||||
'vk_decimal','vk_lshift','vk_lcontrol','vk_lalt','vk_rshift','vk_rcontrol','vk_ralt',
|
||||
'c_aqua','c_black','c_blue','c_dkgray','c_fuchsia','c_gray','c_green','c_lime','c_ltgray',
|
||||
'c_maroon','c_navy','c_olive','c_purple','c_red','c_silver','c_teal','c_white','c_yellow',
|
||||
'fa_left', 'fa_center','fa_right','fa_top','fa_middle','fa_bottom',
|
||||
'pr_pointlist','pr_linelist','pr_linestrip','pr_trianglelist','pr_trianglestrip',
|
||||
'pr_trianglefan',
|
||||
'cr_none','cr_arrow','cr_cross','cr_beam','cr_size_nesw','cr_size_ns','cr_size_nwse',
|
||||
'cr_size_we','cr_uparrow','cr_hourglass','cr_drag','cr_nodrop','cr_hsplit','cr_vsplit',
|
||||
'cr_multidrag','cr_sqlwait','cr_no','cr_appstart','cr_help','cr_handpoint','cr_size_all',
|
||||
'se_chorus','se_echo','se_flanger','se_gargle','se_reverb','se_compressor','se_equalizer',
|
||||
'fa_readonly','fa_hidden','fa_sysfile','fa_volumeid','fa_directory','fa_archive',
|
||||
'pt_shape_pixel','pt_shape_disk','pt_shape_square','pt_shape_line','pt_shape_star',
|
||||
'pt_shape_circle','pt_shape_ring','pt_shape_sphere','pt_shape_flare','pt_shape_spark',
|
||||
'pt_shape_explosion','pt_shape_cloud','pt_shape_smoke','pt_shape_snow',
|
||||
'ps_shape_rectangle','ps_shape_ellipse ','ps_shape_diamond','ps_shape_line',
|
||||
'ps_distr_linear','ps_distr_gaussian','ps_force_constant','ps_force_linear','ps_force_quadratic',
|
||||
'ps_deflect_horizontal', 'ps_deflect_vertical',
|
||||
'ps_change_motion','ps_change_shape','ps_change_all'
|
||||
),
|
||||
'if','while','do','until','exit','break','continue','for','switch','case','default',
|
||||
'else','then','begin','end','repeat','var','globalvar','with','div','mod',
|
||||
'self','noone','other','global','local','return',
|
||||
'and','or','xor','not'
|
||||
)
|
||||
),
|
||||
|
||||
'SYMBOLS' => array(
|
||||
'(', ')', '{', '}', '[', ']',
|
||||
'&&', '||', '^^', '&', '|', '^',
|
||||
'<', '<=', '==', '!=', '>', '>=', '=',
|
||||
'<<', '>>',
|
||||
'+=', '-=', '*=', '/=',
|
||||
'+', '-', '*', '/',
|
||||
'!', '~', ',', ';'
|
||||
),
|
||||
// Angled brackets
|
||||
0 => array('{','}'),
|
||||
// Other brackets
|
||||
1 => array('(',')','[',']'),
|
||||
// Operators (NOTE: Operators and/or/not/xor are included in the keywords section. These are non-alphanumeric operators
|
||||
2 => array('&&', '||', '^^', '&', '|', '^',
|
||||
'<', '<=', '==', '!=', '>', '>=', '=',
|
||||
'<<', '>>',
|
||||
'+=', '-=', '*=', '/=',
|
||||
'+', '-', '*', '/',
|
||||
'!', '~', ',', ';'
|
||||
)),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
|
@ -452,33 +320,28 @@ $language_data = array (
|
|||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'font-weight: bold; color: #000000;',
|
||||
2 => 'font-weight: bold; color: #000000;',
|
||||
3 => 'color: navy;',
|
||||
4 => 'color: #663300;',
|
||||
),
|
||||
1 => 'color: #800000;',
|
||||
2 => 'color: #800000;',
|
||||
3 => 'color: #800000;',
|
||||
4 => 'color: #000080; font-weight: bold;'),
|
||||
'COMMENTS' => array(
|
||||
1 => 'font-style: italic; color: green;',
|
||||
'MULTI' => 'font-style: italic; color: green;'
|
||||
),
|
||||
1 => 'font-style: italic; color: #008000;',
|
||||
'MULTI' => 'font-style: italic; color: #008000;'),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
0 => ''),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;' //'color: #66cc66;'
|
||||
),
|
||||
0 => 'color: #000080;'),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
0 => 'color: #0000FF;',
|
||||
1 => 'color: #0000FF;'),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
0 => 'color: #0000FF;'),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #202020;'
|
||||
),
|
||||
0 => 'color: #800000;'),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #66cc66; font-weight: bold;'
|
||||
),
|
||||
0 => 'color: #000080; font-weight: bold;',
|
||||
1 => 'color: #000000;',
|
||||
2 => 'color: #000000;'),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
|
@ -502,5 +365,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Milian Wolff (mail@milianw.de)
|
||||
* Copyright: (c) 2008 Milian Wolff (http://milianw.de)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2008/07/07
|
||||
*
|
||||
* Gnuplot script language file for GeSHi.
|
||||
|
@ -69,7 +69,7 @@ $language_data = array (
|
|||
'cbtics', 'clabel', 'clip', 'cntrparam',
|
||||
'colorbox', 'contour', 'datafile', 'date_specifiers',
|
||||
'decimalsign', 'dgrid3d', 'dummy', 'encoding',
|
||||
'fit', 'fontpath', 'format', 'grid',
|
||||
'fontpath', 'format', 'grid',
|
||||
'hidden3d', 'historysize', 'isosamples', 'key',
|
||||
'label', 'lmargin', 'loadpath', 'locale',
|
||||
'log', 'logscale', 'macros', 'mapping',
|
||||
|
@ -77,12 +77,12 @@ $language_data = array (
|
|||
'mx2tics', 'mxtics', 'my2tics', 'mytics',
|
||||
'mztics', 'object', 'offsets', 'origin',
|
||||
'output', 'palette', 'parametric', 'pm3d',
|
||||
'pointsize', 'polar', 'print', 'rmargin',
|
||||
'pointsize', 'polar', 'rmargin',
|
||||
'rrange', 'samples', 'size', 'style',
|
||||
'surface', 'table', 'term', 'terminal',
|
||||
'termoption', 'tics', 'ticscale', 'ticslevel',
|
||||
'time_specifiers', 'timefmt', 'timestamp', 'title',
|
||||
'tmargin', 'trange', 'urange', 'view',
|
||||
'trange', 'urange', 'view',
|
||||
'vrange', 'x2data', 'x2dtics', 'x2label',
|
||||
'x2mtics', 'x2range', 'x2tics', 'x2zeroaxis',
|
||||
'xdata', 'xdtics', 'xlabel', 'xmtics',
|
||||
|
@ -144,11 +144,11 @@ $language_data = array (
|
|||
'exists', 'exp', 'floor', 'gamma',
|
||||
'gprintf', 'ibeta', 'igamma', 'imag',
|
||||
'int', 'inverf', 'invnorm', 'lambertw',
|
||||
'lgamma', 'log', 'log10', 'norm',
|
||||
'lgamma', 'log10', 'norm',
|
||||
'rand', 'random', 'real', 'sgn',
|
||||
'sin', 'sinh', 'sprintf', 'sqrt',
|
||||
'stringcolumn', 'strlen', 'strstrt', 'substr',
|
||||
'system', 'tan', 'tanh', 'timecolumn',
|
||||
'tan', 'tanh', 'timecolumn',
|
||||
'tm_hour', 'tm_mday', 'tm_min', 'tm_mon',
|
||||
'tm_sec', 'tm_wday', 'tm_yday', 'tm_year',
|
||||
'valid', 'word', 'words',
|
||||
|
@ -156,12 +156,12 @@ $language_data = array (
|
|||
5 => array(
|
||||
// mixed arguments
|
||||
// there is no sane way to get these ones easily...
|
||||
'notitle', 'autofreq', 'x', 'y', 'z',
|
||||
'autofreq', 'x', 'y', 'z',
|
||||
'lt', 'linetype', 'lw', 'linewidth', 'ls', 'linestyle',
|
||||
'out', 'rotate by', 'screen',
|
||||
'enhanced', 'via',
|
||||
// `help set key`
|
||||
'on', 'off', 'default', 'inside', 'outside', 'lmargin', 'rmargin', 'tmargin', 'bmargin',
|
||||
'on', 'off', 'default', 'inside', 'outside', 'tmargin',
|
||||
'at', 'left', 'right', 'center', 'top', 'bottom', 'vertical', 'horizontal', 'Left', 'Right',
|
||||
'noreverse', 'reverse', 'noinvert', 'invert', 'samplen', 'spacing', 'width', 'height',
|
||||
'noautotitle', 'autotitle', 'noenhanced', 'nobox', 'box',
|
||||
|
@ -170,7 +170,7 @@ $language_data = array (
|
|||
'landscape', 'portrait', 'eps', 'defaultplex', 'simplex', 'duplex',
|
||||
'fontfile', 'add', 'delete', 'nofontfiles', 'level1', 'leveldefault',
|
||||
'color', 'colour', 'monochrome', 'solid', 'dashed', 'dashlength', 'dl',
|
||||
'rounded', 'butt', 'palfuncparam', 'size', 'blacktext', 'colortext', 'colourtext',
|
||||
'rounded', 'butt', 'palfuncparam', 'blacktext', 'colortext', 'colourtext',
|
||||
'font',
|
||||
|
||||
// help set terminal png
|
||||
|
@ -180,10 +180,10 @@ $language_data = array (
|
|||
|
||||
// `help plot`
|
||||
'acsplines', 'bezier', 'binary', 'csplines',
|
||||
'datafile', 'every',
|
||||
'every',
|
||||
'example', 'frequency', 'index', 'matrix',
|
||||
'parametric', 'ranges', 'sbezier', 'smooth',
|
||||
'special-filenames', 'style', 'thru', 'title',
|
||||
'ranges', 'sbezier', 'smooth',
|
||||
'special-filenames', 'thru',
|
||||
'unique', 'using', 'with',
|
||||
|
||||
// `help plotting styles`
|
||||
|
@ -216,7 +216,7 @@ $language_data = array (
|
|||
),
|
||||
'REGEXPS' => array(
|
||||
//Variable assignment
|
||||
0 => "([a-zA-Z_][a-zA-Z0-9_]*)\s*=",
|
||||
0 => "(?<![?;>\w])([a-zA-Z_][a-zA-Z0-9_]*)\s*=",
|
||||
//Numbers with unit
|
||||
1 => "(?<=^|\s)([0-9]*\.?[0-9]+\s*cm)"
|
||||
),
|
||||
|
@ -292,5 +292,3 @@ $language_data = array (
|
|||
),
|
||||
'TAB_WIDTH' => 4
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
373
serendipity_event_geshi/geshi/go.php
Normal file
373
serendipity_event_geshi/geshi/go.php
Normal file
|
@ -0,0 +1,373 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* go.php
|
||||
* --------
|
||||
* Author: Markus Jarderot (mizardx at gmail dot com)
|
||||
* Copyright: (c) 2010 Markus Jarderot
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/05/20
|
||||
*
|
||||
* Go language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2010/05/20 (1.0.8.9)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2010/05/20)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'Go',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
# Raw strings (escapes and linebreaks ignored)
|
||||
2 => "#`[^`]*`#"
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"', "'"),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'ESCAPE_REGEXP' => array(
|
||||
1 => "#\\\\[abfnrtv\\\\\'\"]#",
|
||||
2 => "#\\\\[0-7]{3}#",
|
||||
3 => "#\\\\x[0-9a-fA-F]{2}#",
|
||||
4 => "#\\\\u[0-9a-fA-F]{4}#",
|
||||
5 => "#\\\\U[0-9a-fA-F]{8}#"
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
# integer literals (possibly imaginary)
|
||||
0 => '\b([1-9][0-9]*i?|0[0-7]*|0[xX][0-9a-f]+|0[0-9]*i)\b',
|
||||
# real floating point literals
|
||||
1 => '\b((?:\d+\.\d*(?:[Ee][+-]?\d+\b)?|\.\d+(?:[Ee][+-]?\d+)?|\d+[Ee][+-]?\d+)?)\b',
|
||||
# imaginary floating point literals
|
||||
2 => '\b((?:\d+\.\d*(?:[Ee][+-]?\d+)?|\.\d+(?:[Ee][+-]?\d+)?|\d+[Ee][+-]?\d+)?i)\b'
|
||||
),
|
||||
'KEYWORDS' => array(
|
||||
# statements
|
||||
1 => array(
|
||||
'break', 'case', 'const', 'continue', 'default', 'defer', 'else',
|
||||
'fallthrough', 'for', 'go', 'goto', 'if', 'import', 'package',
|
||||
'range', 'return', 'select', 'switch', 'type', 'var'
|
||||
),
|
||||
# literals
|
||||
2 => array(
|
||||
'nil', 'true', 'false'
|
||||
),
|
||||
# built-in functions
|
||||
3 => array(
|
||||
'close', 'closed', 'len', 'cap', 'new', 'make', 'copy', 'cmplx',
|
||||
'real', 'imag', 'panic', 'recover', 'print', 'println'
|
||||
),
|
||||
# built-in types
|
||||
4 => array(
|
||||
'chan', 'func', 'interface', 'map', 'struct', 'bool', 'uint8',
|
||||
'uint16', 'uint32', 'uint64', 'int8', 'int16', 'int32', 'int64',
|
||||
'float32', 'float64', 'complex64', 'complex128', 'byte', 'uint',
|
||||
'int', 'float', 'complex', 'uintptr', 'string'
|
||||
),
|
||||
# library types
|
||||
5 => array(
|
||||
'aes.Cipher', 'aes.KeySizeError', 'ascii85.CorruptInputError', 'asn1.BitString',
|
||||
'asn1.RawValue', 'asn1.StructuralError', 'asn1.SyntaxError', 'ast.ChanDir',
|
||||
'ast.Comment', 'ast.CommentGroup', 'ast.Decl', 'ast.Expr', 'ast.Field',
|
||||
'ast.FieldList', 'ast.File', 'ast.Filter', 'ast.MergeMode', 'ast.Node',
|
||||
'ast.ObjKind', 'ast.Object', 'ast.Package', 'ast.Scope', 'ast.Stmt',
|
||||
'ast.Visitor', 'av.Color', 'av.Image', 'av.Window', 'base64.CorruptInputError',
|
||||
'base64.Encoding', 'big.Int', 'big.Word', 'bignum.Integer', 'bignum.Rational',
|
||||
'binary.ByteOrder', 'block.Cipher', 'block.EAXTagError', 'blowfish.Cipher',
|
||||
'blowfish.KeySizeError', 'bufio.BufSizeError', 'bufio.Error', 'bufio.ReadWriter',
|
||||
'bufio.Reader', 'bufio.Writer', 'bytes.Buffer', 'datafmt.Environment',
|
||||
'datafmt.Format', 'datafmt.Formatter', 'datafmt.FormatterMap', 'datafmt.State',
|
||||
'doc.Filter', 'doc.FuncDoc', 'doc.PackageDoc', 'doc.TypeDoc', 'doc.ValueDoc',
|
||||
'draw.Color', 'draw.Context', 'draw.Image', 'draw.Mouse', 'draw.Op',
|
||||
'draw.Point', 'draw.Rectangle', 'dwarf.AddrType', 'dwarf.ArrayType',
|
||||
'dwarf.Attr', 'dwarf.BasicType', 'dwarf.BoolType', 'dwarf.CharType',
|
||||
'dwarf.CommonType', 'dwarf.ComplexType', 'dwarf.Data', 'dwarf.DecodeError',
|
||||
'dwarf.DotDotDotType', 'dwarf.Entry', 'dwarf.EnumType', 'dwarf.EnumValue',
|
||||
'dwarf.Field', 'dwarf.FloatType', 'dwarf.FuncType', 'dwarf.IntType',
|
||||
'dwarf.Offset', 'dwarf.PtrType', 'dwarf.QualType', 'dwarf.Reader',
|
||||
'dwarf.StructField', 'dwarf.StructType', 'dwarf.Tag', 'dwarf.Type',
|
||||
'dwarf.TypedefType', 'dwarf.UcharType', 'dwarf.UintType', 'dwarf.VoidType',
|
||||
'elf.Class', 'elf.Data', 'elf.Dyn32', 'elf.Dyn64', 'elf.DynFlag', 'elf.DynTag',
|
||||
'elf.File', 'elf.FileHeader', 'elf.FormatError', 'elf.Header32', 'elf.Header64',
|
||||
'elf.Machine', 'elf.NType', 'elf.OSABI', 'elf.Prog', 'elf.Prog32', 'elf.Prog64',
|
||||
'elf.ProgFlag', 'elf.ProgHeader', 'elf.ProgType', 'elf.R_386', 'elf.R_ALPHA',
|
||||
'elf.R_ARM', 'elf.R_PPC', 'elf.R_SPARC', 'elf.R_X86_64', 'elf.Rel32',
|
||||
'elf.Rel64', 'elf.Rela32', 'elf.Rela64', 'elf.Section', 'elf.Section32',
|
||||
'elf.Section64', 'elf.SectionFlag', 'elf.SectionHeader', 'elf.SectionIndex',
|
||||
'elf.SectionType', 'elf.Sym32', 'elf.Sym64', 'elf.SymBind', 'elf.SymType',
|
||||
'elf.SymVis', 'elf.Symbol', 'elf.Type', 'elf.Version', 'eval.ArrayType',
|
||||
'eval.ArrayValue', 'eval.BoolValue', 'eval.BoundedType', 'eval.ChanType',
|
||||
'eval.Code', 'eval.Constant', 'eval.Def', 'eval.DivByZeroError',
|
||||
'eval.FloatValue', 'eval.Frame', 'eval.Func', 'eval.FuncDecl', 'eval.FuncType',
|
||||
'eval.FuncValue', 'eval.IMethod', 'eval.IdealFloatValue', 'eval.IdealIntValue',
|
||||
'eval.IndexError', 'eval.IntValue', 'eval.Interface', 'eval.InterfaceType',
|
||||
'eval.InterfaceValue', 'eval.KeyError', 'eval.Map', 'eval.MapType',
|
||||
'eval.MapValue', 'eval.Method', 'eval.MultiType', 'eval.NamedType',
|
||||
'eval.NegativeCapacityError', 'eval.NegativeLengthError', 'eval.NilPointerError',
|
||||
'eval.PtrType', 'eval.PtrValue', 'eval.RedefinitionError', 'eval.Scope',
|
||||
'eval.Slice', 'eval.SliceError', 'eval.SliceType', 'eval.SliceValue',
|
||||
'eval.StringValue', 'eval.StructField', 'eval.StructType', 'eval.StructValue',
|
||||
'eval.Thread', 'eval.Type', 'eval.UintValue', 'eval.Value', 'eval.Variable',
|
||||
'eval.World', 'exec.Cmd', 'expvar.Int', 'expvar.IntFunc', 'expvar.KeyValue',
|
||||
'expvar.Map', 'expvar.String', 'expvar.StringFunc', 'expvar.Var', 'flag.Flag',
|
||||
'flag.Value', 'flate.CorruptInputError', 'flate.InternalError',
|
||||
'flate.ReadError', 'flate.Reader', 'flate.WriteError', 'flate.WrongValueError',
|
||||
'fmt.Formatter', 'fmt.GoStringer', 'fmt.State', 'fmt.Stringer',
|
||||
'git85.CorruptInputError', 'gob.Decoder', 'gob.Encoder', 'gosym.DecodingError',
|
||||
'gosym.Func', 'gosym.LineTable', 'gosym.Obj', 'gosym.Sym', 'gosym.Table',
|
||||
'gosym.UnknownFileError', 'gosym.UnknownLineError', 'gzip.Deflater',
|
||||
'gzip.Header', 'gzip.Inflater', 'hash.Hash', 'hash.Hash32', 'hash.Hash64',
|
||||
'heap.Interface', 'hex.InvalidHexCharError', 'hex.OddLengthInputError',
|
||||
'http.ClientConn', 'http.Conn', 'http.Handler', 'http.HandlerFunc',
|
||||
'http.ProtocolError', 'http.Request', 'http.Response', 'http.ServeMux',
|
||||
'http.ServerConn', 'http.URL', 'http.URLError', 'http.URLEscapeError',
|
||||
'image.Alpha', 'image.AlphaColor', 'image.Color', 'image.ColorImage',
|
||||
'image.ColorModel', 'image.ColorModelFunc', 'image.Image', 'image.NRGBA',
|
||||
'image.NRGBA64', 'image.NRGBA64Color', 'image.NRGBAColor', 'image.Paletted',
|
||||
'image.RGBA', 'image.RGBA64', 'image.RGBA64Color', 'image.RGBAColor',
|
||||
'io.Closer', 'io.Error', 'io.PipeReader', 'io.PipeWriter', 'io.ReadByter',
|
||||
'io.ReadCloser', 'io.ReadSeeker', 'io.ReadWriteCloser', 'io.ReadWriteSeeker',
|
||||
'io.ReadWriter', 'io.Reader', 'io.ReaderAt', 'io.ReaderFrom', 'io.SectionReader',
|
||||
'io.Seeker', 'io.WriteCloser', 'io.WriteSeeker', 'io.Writer', 'io.WriterAt',
|
||||
'io.WriterTo', 'iterable.Func', 'iterable.Group', 'iterable.Grouper',
|
||||
'iterable.Injector', 'iterable.Iterable', 'jpeg.FormatError', 'jpeg.Reader',
|
||||
'jpeg.UnsupportedError', 'json.Decoder', 'json.Encoder',
|
||||
'json.InvalidUnmarshalError', 'json.Marshaler', 'json.MarshalerError',
|
||||
'json.SyntaxError', 'json.UnmarshalTypeError', 'json.Unmarshaler',
|
||||
'json.UnsupportedTypeError', 'list.Element', 'list.List', 'log.Logger',
|
||||
'macho.Cpu', 'macho.File', 'macho.FileHeader', 'macho.FormatError', 'macho.Load',
|
||||
'macho.LoadCmd', 'macho.Regs386', 'macho.RegsAMD64', 'macho.Section',
|
||||
'macho.Section32', 'macho.Section64', 'macho.SectionHeader', 'macho.Segment',
|
||||
'macho.Segment32', 'macho.Segment64', 'macho.SegmentHeader', 'macho.Thread',
|
||||
'macho.Type', 'net.Addr', 'net.AddrError', 'net.Conn', 'net.DNSConfigError',
|
||||
'net.DNSError', 'net.Error', 'net.InvalidAddrError', 'net.InvalidConnError',
|
||||
'net.Listener', 'net.OpError', 'net.PacketConn', 'net.TCPAddr', 'net.TCPConn',
|
||||
'net.TCPListener', 'net.UDPAddr', 'net.UDPConn', 'net.UnixAddr', 'net.UnixConn',
|
||||
'net.UnixListener', 'net.UnknownNetworkError', 'net.UnknownSocketError',
|
||||
'netchan.Dir', 'netchan.Exporter', 'netchan.Importer', 'nntp.Article',
|
||||
'nntp.Conn', 'nntp.Error', 'nntp.Group', 'nntp.ProtocolError', 'ogle.Arch',
|
||||
'ogle.ArchAlignedMultiple', 'ogle.ArchLSB', 'ogle.Breakpoint', 'ogle.Event',
|
||||
'ogle.EventAction', 'ogle.EventHandler', 'ogle.EventHook', 'ogle.FormatError',
|
||||
'ogle.Frame', 'ogle.Goroutine', 'ogle.GoroutineCreate', 'ogle.GoroutineExit',
|
||||
'ogle.NoCurrentGoroutine', 'ogle.NotOnStack', 'ogle.Process',
|
||||
'ogle.ProcessNotStopped', 'ogle.ReadOnlyError', 'ogle.RemoteMismatchError',
|
||||
'ogle.UnknownArchitecture', 'ogle.UnknownGoroutine', 'ogle.UsageError',
|
||||
'os.Errno', 'os.Error', 'os.ErrorString', 'os.File', 'os.FileInfo',
|
||||
'os.LinkError', 'os.PathError', 'os.SyscallError', 'os.Waitmsg', 'patch.Diff',
|
||||
'patch.File', 'patch.GitBinaryLiteral', 'patch.Op', 'patch.Set',
|
||||
'patch.SyntaxError', 'patch.TextChunk', 'patch.Verb', 'path.Visitor',
|
||||
'pdp1.HaltError', 'pdp1.LoopError', 'pdp1.Trapper', 'pdp1.UnknownInstrError',
|
||||
'pdp1.Word', 'pem.Block', 'png.FormatError', 'png.IDATDecodingError',
|
||||
'png.UnsupportedError', 'printer.Config', 'printer.HTMLTag', 'printer.Styler',
|
||||
'proc.Breakpoint', 'proc.Cause', 'proc.Process', 'proc.ProcessExited',
|
||||
'proc.Regs', 'proc.Signal', 'proc.Stopped', 'proc.Thread', 'proc.ThreadCreate',
|
||||
'proc.ThreadExit', 'proc.Word', 'quick.CheckEqualError', 'quick.CheckError',
|
||||
'quick.Config', 'quick.Generator', 'quick.SetupError', 'rand.Rand',
|
||||
'rand.Source', 'rand.Zipf', 'rc4.Cipher', 'rc4.KeySizeError',
|
||||
'reflect.ArrayOrSliceType', 'reflect.ArrayOrSliceValue', 'reflect.ArrayType',
|
||||
'reflect.ArrayValue', 'reflect.BoolType', 'reflect.BoolValue', 'reflect.ChanDir',
|
||||
'reflect.ChanType', 'reflect.ChanValue', 'reflect.Complex128Type',
|
||||
'reflect.Complex128Value', 'reflect.Complex64Type', 'reflect.Complex64Value',
|
||||
'reflect.ComplexType', 'reflect.ComplexValue', 'reflect.Float32Type',
|
||||
'reflect.Float32Value', 'reflect.Float64Type', 'reflect.Float64Value',
|
||||
'reflect.FloatType', 'reflect.FloatValue', 'reflect.FuncType',
|
||||
'reflect.FuncValue', 'reflect.Int16Type', 'reflect.Int16Value',
|
||||
'reflect.Int32Type', 'reflect.Int32Value', 'reflect.Int64Type',
|
||||
'reflect.Int64Value', 'reflect.Int8Type', 'reflect.Int8Value', 'reflect.IntType',
|
||||
'reflect.IntValue', 'reflect.InterfaceType', 'reflect.InterfaceValue',
|
||||
'reflect.MapType', 'reflect.MapValue', 'reflect.Method', 'reflect.PtrType',
|
||||
'reflect.PtrValue', 'reflect.SliceHeader', 'reflect.SliceType',
|
||||
'reflect.SliceValue', 'reflect.StringHeader', 'reflect.StringType',
|
||||
'reflect.StringValue', 'reflect.StructField', 'reflect.StructType',
|
||||
'reflect.StructValue', 'reflect.Type', 'reflect.Uint16Type',
|
||||
'reflect.Uint16Value', 'reflect.Uint32Type', 'reflect.Uint32Value',
|
||||
'reflect.Uint64Type', 'reflect.Uint64Value', 'reflect.Uint8Type',
|
||||
'reflect.Uint8Value', 'reflect.UintType', 'reflect.UintValue',
|
||||
'reflect.UintptrType', 'reflect.UintptrValue', 'reflect.UnsafePointerType',
|
||||
'reflect.UnsafePointerValue', 'reflect.Value', 'regexp.Error', 'regexp.Regexp',
|
||||
'ring.Ring', 'rpc.Call', 'rpc.Client', 'rpc.ClientCodec', 'rpc.InvalidRequest',
|
||||
'rpc.Request', 'rpc.Response', 'rpc.ServerCodec', 'rsa.DecryptionError',
|
||||
'rsa.MessageTooLongError', 'rsa.PKCS1v15Hash', 'rsa.PrivateKey', 'rsa.PublicKey',
|
||||
'rsa.VerificationError', 'runtime.ArrayType', 'runtime.BoolType',
|
||||
'runtime.ChanDir', 'runtime.ChanType', 'runtime.Complex128Type',
|
||||
'runtime.Complex64Type', 'runtime.ComplexType', 'runtime.Error',
|
||||
'runtime.Float32Type', 'runtime.Float64Type', 'runtime.FloatType',
|
||||
'runtime.Func', 'runtime.FuncType', 'runtime.Int16Type', 'runtime.Int32Type',
|
||||
'runtime.Int64Type', 'runtime.Int8Type', 'runtime.IntType',
|
||||
'runtime.InterfaceType', 'runtime.Itable', 'runtime.MapType',
|
||||
'runtime.MemProfileRecord', 'runtime.MemStatsType', 'runtime.PtrType',
|
||||
'runtime.SliceType', 'runtime.StringType', 'runtime.StructType', 'runtime.Type',
|
||||
'runtime.TypeAssertionError', 'runtime.Uint16Type', 'runtime.Uint32Type',
|
||||
'runtime.Uint64Type', 'runtime.Uint8Type', 'runtime.UintType',
|
||||
'runtime.UintptrType', 'runtime.UnsafePointerType', 'scanner.Error',
|
||||
'scanner.ErrorHandler', 'scanner.ErrorVector', 'scanner.Position',
|
||||
'scanner.Scanner', 'script.Close', 'script.Closed', 'script.Event',
|
||||
'script.ReceivedUnexpected', 'script.Recv', 'script.RecvMatch', 'script.Send',
|
||||
'script.SetupError', 'signal.Signal', 'signal.UnixSignal', 'sort.Interface',
|
||||
'srpc.Client', 'srpc.Errno', 'srpc.Handler', 'srpc.RPC', 'strconv.NumError',
|
||||
'strings.Reader', 'sync.Mutex', 'sync.RWMutex',
|
||||
'syscall.ByHandleFileInformation', 'syscall.Cmsghdr', 'syscall.Dirent',
|
||||
'syscall.EpollEvent', 'syscall.Fbootstraptransfer_t', 'syscall.FdSet',
|
||||
'syscall.Filetime', 'syscall.Flock_t', 'syscall.Fstore_t', 'syscall.Iovec',
|
||||
'syscall.Kevent_t', 'syscall.Linger', 'syscall.Log2phys_t', 'syscall.Msghdr',
|
||||
'syscall.Overlapped', 'syscall.PtraceRegs', 'syscall.Radvisory_t',
|
||||
'syscall.RawSockaddr', 'syscall.RawSockaddrAny', 'syscall.RawSockaddrInet4',
|
||||
'syscall.RawSockaddrInet6', 'syscall.RawSockaddrUnix', 'syscall.Rlimit',
|
||||
'syscall.Rusage', 'syscall.Sockaddr', 'syscall.SockaddrInet4',
|
||||
'syscall.SockaddrInet6', 'syscall.SockaddrUnix', 'syscall.Stat_t',
|
||||
'syscall.Statfs_t', 'syscall.Sysinfo_t', 'syscall.Time_t', 'syscall.Timespec',
|
||||
'syscall.Timeval', 'syscall.Timex', 'syscall.Tms', 'syscall.Ustat_t',
|
||||
'syscall.Utimbuf', 'syscall.Utsname', 'syscall.WaitStatus',
|
||||
'syscall.Win32finddata', 'syslog.Priority', 'syslog.Writer', 'tabwriter.Writer',
|
||||
'tar.Header', 'tar.Reader', 'tar.Writer', 'template.Error',
|
||||
'template.FormatterMap', 'template.Template', 'testing.Benchmark',
|
||||
'testing.Regexp', 'testing.Test', 'time.ParseError', 'time.Ticker', 'time.Time',
|
||||
'tls.CASet', 'tls.Certificate', 'tls.Config', 'tls.Conn', 'tls.ConnectionState',
|
||||
'tls.Listener', 'token.Position', 'token.Token', 'unicode.CaseRange',
|
||||
'unicode.Range', 'unsafe.ArbitraryType', 'vector.LessInterface',
|
||||
'websocket.Conn', 'websocket.Draft75Handler', 'websocket.Handler',
|
||||
'websocket.ProtocolError', 'websocket.WebSocketAddr', 'x509.Certificate',
|
||||
'x509.ConstraintViolationError', 'x509.KeyUsage', 'x509.Name',
|
||||
'x509.PublicKeyAlgorithm', 'x509.SignatureAlgorithm',
|
||||
'x509.UnhandledCriticalExtension', 'x509.UnsupportedAlgorithmError', 'xml.Attr',
|
||||
'xml.EndElement', 'xml.Name', 'xml.Parser', 'xml.ProcInst', 'xml.StartElement',
|
||||
'xml.SyntaxError', 'xml.Token', 'xml.UnmarshalError', 'xtea.Cipher',
|
||||
'xtea.KeySizeError'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
# delimiters
|
||||
1 => array(
|
||||
'(', ')', '{', '}', '[', ']', ',', ':', ';'
|
||||
),
|
||||
# assignments
|
||||
2 => array(
|
||||
'<<=', '!=', '%=', '&=', '&^=', '*=', '+=', '-=', '/=', ':=', '>>=',
|
||||
'^=', '|=', '=', '++', '--'
|
||||
),
|
||||
# operators
|
||||
3 => array(
|
||||
'<=', '<', '==', '>', '>=', '&&', '!', '||', '&', '&^', '|', '^',
|
||||
'>>', '<<', '*', '%', '+', '-', '.', '/', '<-'),
|
||||
# vararg
|
||||
4 => array(
|
||||
'...'
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
# statements
|
||||
1 => 'color: #b1b100; font-weight: bold;',
|
||||
# literals
|
||||
2 => 'color: #000000; font-weight: bold;',
|
||||
# built-in functions
|
||||
3 => 'color: #000066;',
|
||||
# built-in types
|
||||
4 => 'color: #993333;',
|
||||
# library types
|
||||
5 => 'color: #003399;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
# single-line comments
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
# raw strings
|
||||
2 => 'color: #0000ff;',
|
||||
# multi-line comments
|
||||
'MULTI' => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
# simple escape
|
||||
1 => 'color: #000099; font-weight: bold;',
|
||||
# octal escape
|
||||
2 => 'color: #000099;',
|
||||
# hex escape
|
||||
3 => 'color: #000099;',
|
||||
# unicode escape
|
||||
4 => 'color: #000099;',
|
||||
# long unicode escape
|
||||
5 => 'color: #000099;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #0000ff;',
|
||||
0 => 'color: #cc66cc;' // FIXME: Duplicate array key
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #004000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
# delimiters
|
||||
1 => 'color: #339933;',
|
||||
# assignments
|
||||
2 => 'color: #339933;',
|
||||
# operators
|
||||
3 => 'color: #339933;',
|
||||
# vararg (highlighted as a keyword)
|
||||
4 => 'color: #000000; font-weight: bold;'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
# If CSS classes are enabled, these would be highlighted as numbers (nu0)
|
||||
# integer literals (possibly imaginary)
|
||||
//0 => 'color: #cc66cc;',
|
||||
# real floating point literals
|
||||
//1 => 'color: #cc66cc;',
|
||||
# imaginary floating point literals
|
||||
//2 => 'color: #cc66cc;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => 'http://golang.org/search?q={FNAME}'
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(1 => '.'),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(),
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'BRACKETS' => GESHI_NEVER, # handled by symbols
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ----------
|
||||
* Author: Ivan F. Villanueva B. (geshi_groovy@artificialidea.com)
|
||||
* Copyright: (c) 2006 Ivan F. Villanueva B.(http://www.artificialidea.com)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2006/04/29
|
||||
*
|
||||
* Groovy language file for GeSHi.
|
||||
|
@ -983,15 +983,15 @@ $language_data = array (
|
|||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAMEL}',
|
||||
2 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAMEL}',
|
||||
3 => 'http://www.google.de/search?as_q={FNAME}&num=100&hl=en&as_occt=url&as_sitesearch=java.sun.com%2Fj2se%2F1.5.0%2Fdocs%2Fapi%2F',
|
||||
4 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAME}',
|
||||
5 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAME}',
|
||||
6 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAME}',
|
||||
7 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAME}',
|
||||
8 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAME}',
|
||||
9 => 'http://www.google.de/search?q=site%3Adocs.codehaus.org/%20{FNAME}'
|
||||
1 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAMEL}',
|
||||
2 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAMEL}',
|
||||
3 => 'http://www.google.de/search?as_q={FNAME}&num=100&hl=en&as_occt=url&as_sitesearch=java.sun.com%2Fj2se%2F1%2E5%2E0%2Fdocs%2Fapi%2F',
|
||||
4 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAME}',
|
||||
5 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAME}',
|
||||
6 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAME}',
|
||||
7 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAME}',
|
||||
8 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAME}',
|
||||
9 => 'http://www.google.de/search?q=site%3Agroovy.codehaus.org/%20{FNAME}'
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
|
@ -1007,5 +1007,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
151
serendipity_event_geshi/geshi/gwbasic.php
Normal file
151
serendipity_event_geshi/geshi/gwbasic.php
Normal file
|
@ -0,0 +1,151 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* gwbasic.php
|
||||
* ----------
|
||||
* Author: José Gabriel Moya Yangüela (josemoya@gmail.com)
|
||||
* Copyright: (c) 2010 José Gabriel Moya Yangüela (http://doc.apagada.com)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/01/30
|
||||
*
|
||||
* GwBasic language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* REM was not classified as comment.
|
||||
* APPEND and RANDOM missing.
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'GwBasic',
|
||||
'COMMENT_SINGLE' => array(1 => "'", 2=> "REM"),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
/* Statements */
|
||||
1 => array('END','FOR','NEXT','DATA','INPUT','DIM','READ','LET',
|
||||
'GOTO','RUN','IF','RESTORE','GOSUB','RETURN','REM',
|
||||
'STOP','PRINT','CLEAR','LIST','NEW','ON','WAIT','DEF',
|
||||
'POKE','CONT','OUT','LPRINT','LLIST','WIDTH','ELSE',
|
||||
'TRON','TROFF','SWAP','ERASE','EDIT','ERROR','RESUME',
|
||||
'DELETE','AUTO','RENUM','DEFSTR','DEFINT','DEFSNG',
|
||||
'DEFDBL','LINE','WHILE','WEND','CALL','WRITE','OPTION',
|
||||
'RANDOMIZE','OPEN','CLOSE','LOAD','MERGE','SAVE',
|
||||
'COLOR','CLS','MOTOR','BSAVE','BLOAD','SOUND','BEEP',
|
||||
'PSET','PRESET','SCREEN','KEY','LOCATE','TO','THEN',
|
||||
'STEP','USR','FN','SPC','NOT','ERL','ERR','STRING',
|
||||
'USING','INSTR','VARPTR','CSRLIN','POINT','OFF',
|
||||
'FILES','FIELD','SYSTEM','NAME','LSET','RSET','KILL',
|
||||
'PUT','GET','RESET','COMMON','CHAIN','PAINT','COM',
|
||||
'CIRCLE','DRAW','PLAY','TIMER','IOCTL','CHDIR','MKDIR',
|
||||
'RMDIR','SHELL','VIEW','WINDOW','PMAP','PALETTE','LCOPY',
|
||||
'CALLS','PCOPY','LOCK','UNLOCK','RANDOM','APPEND',
|
||||
),
|
||||
2 => array(
|
||||
/* Functions */
|
||||
'CVI','CVS','CVD','MKI','MKS','MKD','ENVIRON',
|
||||
'LEFT','RIGHT','MID','SGN','INT','ABS',
|
||||
'SQR','SIN','LOG','EXP','COS','TAN','ATN',
|
||||
'FRE','INP','POS','LEN','STR','VAL','ASC',
|
||||
'CHR','PEEK','SPACE','OCT','HEX','LPOS',
|
||||
'CINT','CSNG','CDBL','FIX','PEN','STICK',
|
||||
'STRIG','EOF','LOC','LOF'
|
||||
),
|
||||
3 => array(
|
||||
/* alpha Operators */
|
||||
'AND','OR','XOR','EQV','IMP','MOD'
|
||||
),
|
||||
4 => array(
|
||||
/* parameterless functions */
|
||||
'INKEY','DATE','TIME','ERDEV','RND'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => array(
|
||||
'>','=','<','+','-','*','/','^','\\'
|
||||
),
|
||||
1 => array(
|
||||
'?'
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false,
|
||||
2 => false,
|
||||
3 => false,
|
||||
4 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #00a1a1;font-weight: bold',
|
||||
2 => 'color: #000066;font-weight: bold',
|
||||
3 => 'color: #00a166;font-weight: bold',
|
||||
4 => 'color: #0066a1;font-weight: bold'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #808080;',
|
||||
2 => 'color: #808080;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;'
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
/* Same as KEYWORDS[3] (and, or, not...) */
|
||||
0 => 'color: #00a166;font-weight: bold',
|
||||
1 => 'color: #00a1a1;font-weight: bold',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => 'color: #708090'
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
1 => '^[0-9]+ '
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
|
@ -2,21 +2,15 @@
|
|||
/*************************************************************************************
|
||||
* haskell.php
|
||||
* ----------
|
||||
* Author: Jason Dagit (dagit@codersbase.com) based on ocaml.php by Flaie (fireflaie@gmail.com)
|
||||
* Author: Daniel Mlot (duplode_1 at yahoo dot com dot br)
|
||||
* Based on haskell.php by Jason Dagit (dagit@codersbase.com), which was
|
||||
* based on ocaml.php by Flaie (fireflaie@gmail.com).
|
||||
* Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter)
|
||||
* Release Version: 1.0.8.1
|
||||
* Date Started: 2005/08/27
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2014/05/12
|
||||
*
|
||||
* Haskell language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2005/08/27 (1.0.0)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated 2005/08/27)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
|
@ -41,10 +35,13 @@ $language_data = array (
|
|||
'LANG_NAME' => 'Haskell',
|
||||
'COMMENT_SINGLE' => array( 1 => '--'),
|
||||
'COMMENT_MULTI' => array('{-' => '-}'),
|
||||
'COMMENT_REGEXP' => array(2 => "/-->/"),
|
||||
'COMMENT_REGEXP' => array(
|
||||
2 => "/-->/",
|
||||
3 => "/{-(?:(?R)|.)-}/s", //Nested Comments
|
||||
),
|
||||
'CASE_KEYWORDS' => 0,
|
||||
'QUOTEMARKS' => array('"'),
|
||||
'ESCAPE_CHAR' => "\\",
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
/* main haskell keywords */
|
||||
1 => array(
|
||||
|
@ -55,7 +52,7 @@ $language_data = array (
|
|||
'instance', 'let', 'in', 'module', 'newtype',
|
||||
'qualified', 'type', 'where'
|
||||
),
|
||||
/* define names of main librarys, so we can link to it */
|
||||
/* define names of main libraries, so we can link to it */
|
||||
2 => array(
|
||||
'Foreign', 'Numeric', 'Prelude'
|
||||
),
|
||||
|
@ -92,7 +89,7 @@ $language_data = array (
|
|||
'product', 'concat', 'concatMap', 'maximum',
|
||||
'minimum', 'scanl', 'scanl1', 'scanr', 'scanr1',
|
||||
'iterate', 'repeat', 'cycle', 'take', 'drop',
|
||||
'splitAt', 'teakWhile', 'dropWhile', 'span',
|
||||
'splitAt', 'takeWhile', 'dropWhile', 'span',
|
||||
'break', 'elem', 'notElem', 'lookup', 'zip',
|
||||
'zip3', 'zipWith', 'zipWith3', 'unzip', 'unzip3',
|
||||
'lines', 'words', 'unlines',
|
||||
|
@ -104,35 +101,34 @@ $language_data = array (
|
|||
'interact', 'readFile', 'writeFile', 'appendFile',
|
||||
'readIO', 'readLn', 'ioError', 'userError', 'catch'
|
||||
),
|
||||
/* here Prelude Types */
|
||||
/* Prelude types */
|
||||
4 => array (
|
||||
'Bool', 'Maybe', 'Either', 'Ord', 'Ordering',
|
||||
'Char', 'String', 'Eq', 'Enum', 'Bounded',
|
||||
'Bool', 'Maybe', 'Either', 'Ordering',
|
||||
'Char', 'String',
|
||||
'Int', 'Integer', 'Float', 'Double', 'Rational',
|
||||
'Num', 'Real', 'Integral', 'Fractional',
|
||||
'Floating', 'RealFrac', 'RealFloat', 'Monad',
|
||||
'Functor', 'Show', 'ShowS', 'Read', 'ReadS',
|
||||
'IO'
|
||||
'ShowS', 'ReadS',
|
||||
'IO', 'IOError', 'IOException'
|
||||
),
|
||||
/* finally Prelude Exceptions */
|
||||
/* Prelude classes */
|
||||
5 => array (
|
||||
'IOError', 'IOException'
|
||||
'Ord', 'Eq', 'Enum', 'Bounded',
|
||||
'Num', 'Real', 'Integral', 'Fractional',
|
||||
'Floating', 'RealFrac', 'RealFloat',
|
||||
'Monad', 'Functor',
|
||||
'Show', 'Read'
|
||||
)
|
||||
),
|
||||
/* highlighting symbols is really important in Haskell */
|
||||
/* Most symbol combinations can be valid Haskell operators */
|
||||
'SYMBOLS' => array(
|
||||
'|', '->', '<-', '@', '!', '::', '_', '~', '=', '?',
|
||||
'&&', '||', '==', '/=', '<', '<=', '>',
|
||||
'>=','+', '-', '*','/', '%', '**', '^', '^^',
|
||||
'>>=', '>>', '=<<', '$', '.', ',', '$!',
|
||||
'++', '!!'
|
||||
'!', '@', '#', '$', '%', '&', '*', '-', '+', '=',
|
||||
'^', '~', '|', '\\', '>', '<', ':', '?', '/'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true, /* functions name are case seinsitive */
|
||||
3 => true, /* types name too */
|
||||
4 => true, /* finally exceptions too */
|
||||
1 => true, /* Haskell is a case sensitive language */
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true
|
||||
),
|
||||
'STYLES' => array(
|
||||
|
@ -141,12 +137,13 @@ $language_data = array (
|
|||
2 => 'color: #06c; font-weight: bold;', /* blue as well */
|
||||
3 => 'font-weight: bold;', /* make the preduled functions bold */
|
||||
4 => 'color: #cccc00; font-weight: bold;', /* give types a different bg */
|
||||
5 => 'color: maroon;'
|
||||
5 => 'color: maroon; font-weight: bold;' /* similarly for classes */
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #5d478b; font-style: italic;',
|
||||
2 => 'color: #339933; font-weight: bold;',
|
||||
'MULTI' => 'color: #5d478b; font-style: italic;' /* light purpHle */
|
||||
3 => 'color: #5d478b; font-style: italic;', /* light purple */
|
||||
'MULTI' => 'color: #5d478b; font-style: italic;' /* light purple */
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'background-color: #3cb371; font-weight: bold;'
|
||||
|
@ -155,7 +152,7 @@ $language_data = array (
|
|||
0 => 'color: green;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'background-color: #3cb371;' /* nice green */
|
||||
0 => 'color: #3cb371;' /* nice green */
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: red;' /* pink */
|
||||
|
@ -181,7 +178,7 @@ $language_data = array (
|
|||
/* link to Prelude types */
|
||||
4 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
|
||||
/* link to Prelude exceptions */
|
||||
5 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}',
|
||||
5 => 'http://haskell.org/ghc/docs/latest/html/libraries/base/Prelude.html#t:{FNAME}'
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
|
@ -194,5 +191,3 @@ $language_data = array (
|
|||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
158
serendipity_event_geshi/geshi/haxe.php
Normal file
158
serendipity_event_geshi/geshi/haxe.php
Normal file
|
@ -0,0 +1,158 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* haxe.php
|
||||
* --------
|
||||
* Author: Andy Li (andy@onthewings.net)
|
||||
* John Liao (colorhook@gmail.com)
|
||||
* Copyright: (c) 2012 onthewings (http://www.onthewings.net/)
|
||||
* 2010 colorhook (http://colorhook.com/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/10/05
|
||||
*
|
||||
* Haxe language file for GeSHi.
|
||||
* Haxe version: 2.10
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'Haxe',
|
||||
'COMMENT_SINGLE' => array(1 => '//'),
|
||||
'COMMENT_MULTI' => array('/*' => '*/'),
|
||||
'COMMENT_REGEXP' => array(
|
||||
//Import and Package directives (Basic Support only)
|
||||
2 => '/(?:(?<=import[\\n\\s])|(?<=using[\\n\\s])|(?<=package[\\n\\s]))[\\n\\s]*([a-zA-Z0-9_]+\\.)*([a-zA-Z0-9_]+|\*)(?=[\n\s;])/i',
|
||||
// Haxe comments
|
||||
3 => '#/\*\*(?![\*\/]).*\*/#sU',
|
||||
),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array("'", '"'),
|
||||
'ESCAPE_CHAR' => '\\',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
//http://haxe.org/ref/keywords
|
||||
'break', 'callback', 'case', 'cast', 'catch', 'class', 'continue', 'default', 'do', 'dynamic',
|
||||
'else', 'enum', 'extends', 'extern', /*'false',*/ 'for', 'function', 'here', 'if',
|
||||
'implements', 'import', 'in', 'inline', 'interface', 'never', 'new', /*'null',*/ 'override',
|
||||
'package', 'private', 'public', 'return', 'static', 'super', 'switch', 'this', 'throw',
|
||||
'trace', /*'true',*/ 'try', 'typedef', 'untyped', 'using', 'var', 'while',
|
||||
'macro', '$type',
|
||||
),
|
||||
2 => array(
|
||||
//primitive values
|
||||
'null', 'false', 'true',
|
||||
),
|
||||
3 => array(
|
||||
//global types
|
||||
'Array', 'ArrayAccess', /*'Bool',*/ 'Class', 'Date', 'DateTools', 'Dynamic',
|
||||
'EReg', 'Enum', 'EnumValue', /*'Float',*/ 'Hash', /*'Int',*/ 'IntHash', 'IntIter',
|
||||
'Iterable', 'Iterator', 'Lambda', 'List', 'Math', 'Null', 'Reflect', 'Std',
|
||||
/*'String',*/ 'StringBuf', 'StringTools', 'Sys', 'Type', /*'UInt',*/ 'ValueType',
|
||||
/*'Void',*/ 'Xml', 'XmlType',
|
||||
),
|
||||
4 => array(
|
||||
//primitive types
|
||||
'Void', 'Bool', 'Int', 'Float', 'UInt', 'String',
|
||||
),
|
||||
5 => array(
|
||||
//compiler switches
|
||||
"#if", "#elseif", "#else", "#end", "#error",
|
||||
),
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
//http://haxe.org/manual/operators
|
||||
'++', '--',
|
||||
'%',
|
||||
'*', '/',
|
||||
'+', '-',
|
||||
'<<', '>>', '>>>',
|
||||
'|', '&', '^',
|
||||
'==', '!=', '>', '>=', '<', '<=',
|
||||
'...',
|
||||
'&&',
|
||||
'||',
|
||||
'?', ':',
|
||||
'=', '+=', '-=', '/=', '*=', '<<=', '>>=', '>>>=', '|=', '&=', '^=',
|
||||
'(', ')', '[', ']', '{', '}', ';',
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => true,
|
||||
2 => true,
|
||||
3 => true,
|
||||
4 => true,
|
||||
5 => true,
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #6699cc; font-weight: bold;',
|
||||
2 => 'color: #000066; font-weight: bold;',
|
||||
3 => 'color: #03F; ',
|
||||
4 => 'color: #000033; font-weight: bold;',
|
||||
5 => 'color: #330000; font-weight: bold;',
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
2 => 'color: #006699;',
|
||||
3 => 'color: #008000; font-style: italic; font-weight: bold;',
|
||||
'MULTI' => 'color: #666666; font-style: italic;',
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;',
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #000000;',
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #FF0000;',
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
1 => 'color: #006633;',
|
||||
2 => 'color: #006633;',
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #339933;',
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
1 => '',
|
||||
2 => '',
|
||||
3 => '',
|
||||
4 => '',
|
||||
5 => '',
|
||||
),
|
||||
'OOLANG' => true,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
1 => '.',
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
);
|
106
serendipity_event_geshi/geshi/hicest.php
Normal file
106
serendipity_event_geshi/geshi/hicest.php
Normal file
|
@ -0,0 +1,106 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* hicest.php
|
||||
* --------
|
||||
* Author: Georg Petrich (spt@hicest.com)
|
||||
* Copyright: (c) 2010 Georg Petrich (http://www.HicEst.com)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2010/03/15
|
||||
*
|
||||
* HicEst language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* yyyy/mm/dd (v.v.v.v)
|
||||
* - First Release
|
||||
*
|
||||
* TODO (updated yyyy/mm/dd)
|
||||
* -------------------------
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
|
||||
$language_data = array(
|
||||
'LANG_NAME' => 'HicEst',
|
||||
'COMMENT_SINGLE' => array(1 => '!'),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
|
||||
'QUOTEMARKS' => array('"', '\''),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
1 => array(
|
||||
'$cmd_line', 'abs', 'acos', 'alarm', 'alias', 'allocate', 'appendix', 'asin', 'atan', 'axis', 'beep',
|
||||
'call', 'ceiling', 'char', 'character', 'com', 'continue', 'cos', 'cosh', 'data', 'diffeq', 'dimension', 'dlg', 'dll',
|
||||
'do', 'edit', 'else', 'elseif', 'end', 'enddo', 'endif', 'exp', 'floor', 'function', 'fuz', 'goto', 'iand', 'ichar',
|
||||
'ieor', 'if', 'index', 'init', 'int', 'intpol', 'ior', 'key', 'len', 'len_trim', 'line', 'lock', 'log', 'max', 'maxloc',
|
||||
'min', 'minloc', 'mod', 'nint', 'not', 'open', 'pop', 'ran', 'read', 'real', 'return', 'rgb', 'roots', 'sign', 'sin',
|
||||
'sinh', 'solve', 'sort', 'subroutine', 'sum', 'system', 'tan', 'tanh', 'then', 'time', 'use', 'window', 'write', 'xeq'
|
||||
)
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
1 => array(
|
||||
'(', ')', '+', '-', '*', '/', '=', '<', '>', '!', '^', ':', ','
|
||||
),
|
||||
2 => array(
|
||||
'$', '$$'
|
||||
)
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false,
|
||||
1 => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
1 => 'color: #ff0000;'
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
1 => 'color: #666666; font-style: italic;',
|
||||
'MULTI' => 'color: #666666; font-style: italic;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
0 => 'color: #000099; font-weight: bold;'
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #009900;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #0000ff;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
0 => 'color: #cc66cc;',
|
||||
),
|
||||
'METHODS' => array(
|
||||
0 => 'color: #004000;'
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
1 => 'color: #339933;',
|
||||
2 => 'color: #ff0000;'
|
||||
),
|
||||
'REGEXPS' => array(),
|
||||
'SCRIPT' => array()
|
||||
),
|
||||
'URLS' => array(1 => ''),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(),
|
||||
'REGEXPS' => array(),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array()
|
||||
);
|
102
serendipity_event_geshi/geshi/hq9plus.php
Normal file
102
serendipity_event_geshi/geshi/hq9plus.php
Normal file
|
@ -0,0 +1,102 @@
|
|||
<?php
|
||||
/*************************************************************************************
|
||||
* hq9plus.php
|
||||
* ----------
|
||||
* Author: Benny Baumann (BenBE@geshi.org)
|
||||
* Copyright: (c) 2008 Benny Baumann (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2009/10/31
|
||||
*
|
||||
* HQ9+ language file for GeSHi.
|
||||
*
|
||||
* CHANGES
|
||||
* -------
|
||||
* 2008/10/31 (1.0.8.1)
|
||||
* - First Release
|
||||
*
|
||||
* TODO
|
||||
* ----
|
||||
*
|
||||
*************************************************************************************
|
||||
*
|
||||
* This file is part of GeSHi.
|
||||
*
|
||||
* GeSHi is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* GeSHi is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with GeSHi; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*
|
||||
************************************************************************************/
|
||||
$language_data = array (
|
||||
'LANG_NAME' => 'HQ9+',
|
||||
'COMMENT_SINGLE' => array(),
|
||||
'COMMENT_MULTI' => array(),
|
||||
'COMMENT_REGEXP' => array(),
|
||||
'CASE_KEYWORDS' => GESHI_CAPS_UPPER,
|
||||
'QUOTEMARKS' => array(),
|
||||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
'H', 'Q', '9', '+', 'h', 'q'
|
||||
),
|
||||
'CASE_SENSITIVE' => array(
|
||||
GESHI_COMMENTS => false
|
||||
),
|
||||
'STYLES' => array(
|
||||
'KEYWORDS' => array(
|
||||
),
|
||||
'COMMENTS' => array(
|
||||
),
|
||||
'BRACKETS' => array(
|
||||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'STRINGS' => array(
|
||||
0 => 'color: #ff0000;'
|
||||
),
|
||||
'NUMBERS' => array(
|
||||
),
|
||||
'METHODS' => array(
|
||||
),
|
||||
'SYMBOLS' => array(
|
||||
0 => 'color: #a16000;'
|
||||
),
|
||||
'ESCAPE_CHAR' => array(
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
)
|
||||
),
|
||||
'URLS' => array(
|
||||
),
|
||||
'OOLANG' => false,
|
||||
'OBJECT_SPLITTERS' => array(
|
||||
),
|
||||
'REGEXPS' => array(
|
||||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_NEVER,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
),
|
||||
'TAB_WIDTH' => 4,
|
||||
'PARSER_CONTROL' => array(
|
||||
'ENABLE_FLAGS' => array(
|
||||
'KEYWORDS' => GESHI_NEVER,
|
||||
'COMMENTS' => GESHI_NEVER,
|
||||
'STRINGS' => GESHI_NEVER,
|
||||
'REGEXPS' => GESHI_NEVER,
|
||||
'NUMBERS' => GESHI_NEVER
|
||||
)
|
||||
)
|
||||
);
|
|
@ -4,7 +4,7 @@
|
|||
* ---------------
|
||||
* Author: Nigel McNie (nigel@geshi.org)
|
||||
* Copyright: (c) 2004 Nigel McNie (http://qbnz.com/highlighter/)
|
||||
* Release Version: 1.0.8.1
|
||||
* Release Version: 1.0.9.0
|
||||
* Date Started: 2004/07/10
|
||||
*
|
||||
* HTML 4.01 strict language file for GeSHi.
|
||||
|
@ -58,42 +58,24 @@ $language_data = array (
|
|||
'ESCAPE_CHAR' => '',
|
||||
'KEYWORDS' => array(
|
||||
2 => array(
|
||||
'a', 'abbr', 'acronym', 'address', 'applet',
|
||||
|
||||
'a', 'abbr', 'acronym', 'address', 'applet', 'area',
|
||||
'base', 'basefont', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'b',
|
||||
|
||||
'caption', 'center', 'cite', 'code', 'colgroup', 'col',
|
||||
|
||||
'dd', 'del', 'dfn', 'dir', 'div', 'dl', 'dt',
|
||||
|
||||
'em',
|
||||
|
||||
'fieldset', 'font', 'form', 'frame', 'frameset',
|
||||
|
||||
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'html',
|
||||
|
||||
'iframe', 'ilayer', 'img', 'input', 'ins', 'isindex', 'i',
|
||||
|
||||
'kbd',
|
||||
|
||||
'label', 'legend', 'link', 'li',
|
||||
|
||||
'map', 'meta',
|
||||
|
||||
'noframes', 'noscript',
|
||||
|
||||
'object', 'ol', 'optgroup', 'option',
|
||||
|
||||
'param', 'pre', 'p',
|
||||
|
||||
'q',
|
||||
|
||||
'samp', 'script', 'select', 'small', 'span', 'strike', 'strong', 'style', 'sub', 'sup', 's',
|
||||
|
||||
'table', 'tbody', 'td', 'textarea', 'text', 'tfoot', 'thead', 'th', 'title', 'tr', 'tt',
|
||||
|
||||
'ul', 'u',
|
||||
|
||||
'var',
|
||||
),
|
||||
3 => array(
|
||||
|
@ -151,6 +133,7 @@ $language_data = array (
|
|||
0 => 'color: #66cc66;'
|
||||
),
|
||||
'SCRIPT' => array(
|
||||
-2 => 'color: #404040;', // CDATA
|
||||
-1 => 'color: #808080; font-style: italic;', // comments
|
||||
0 => 'color: #00bbdd;',
|
||||
1 => 'color: #ddbb00;',
|
||||
|
@ -170,6 +153,9 @@ $language_data = array (
|
|||
),
|
||||
'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
|
||||
'SCRIPT_DELIMITERS' => array(
|
||||
-2 => array(
|
||||
'<![CDATA[' => ']]>'
|
||||
),
|
||||
-1 => array(
|
||||
'<!--' => '-->'
|
||||
),
|
||||
|
@ -184,6 +170,7 @@ $language_data = array (
|
|||
)
|
||||
),
|
||||
'HIGHLIGHT_STRICT_BLOCK' => array(
|
||||
-2 => false,
|
||||
-1 => false,
|
||||
0 => false,
|
||||
1 => false,
|
||||
|
@ -199,5 +186,3 @@ $language_data = array (
|
|||
)
|
||||
)
|
||||
);
|
||||
|
||||
?>
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue