plugins/geshi/geshi/abap.php
changeset 2 9e3258dfae15
parent 0 441963e5b07a
child 3 f3e2bbbd2155
equal deleted inserted replaced
1:c715631f809a 2:9e3258dfae15
     2 /*************************************************************************************
     2 /*************************************************************************************
     3  * abap.php
     3  * abap.php
     4  * --------
     4  * --------
     5  * Author: Andres Picazo (andres@andrespicazo.com)
     5  * Author: Andres Picazo (andres@andrespicazo.com)
     6  * Copyright: (c) 2007 Andres Picazo
     6  * Copyright: (c) 2007 Andres Picazo
     7  * Release Version: 1.0.7.20
     7  * Release Version: 1.0.8.2
     8  * CVS Revision Version: $Revision: 1.6 $
       
     9  * Date Started: 2004/06/04
     8  * Date Started: 2004/06/04
    10  * Last Modified: $Date: 2005/11/20 07:47:40 $
       
    11  *
     9  *
    12  * ABAP language file for GeSHi.
    10  * ABAP language file for GeSHi.
    13  *
    11  *
    14  * CHANGES
    12  * CHANGES
    15  * -------
    13  * -------
    38  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    36  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
    39  *
    37  *
    40  ************************************************************************************/
    38  ************************************************************************************/
    41 
    39 
    42 $language_data = array (
    40 $language_data = array (
    43 	'LANG_NAME' => 'ABAP',
    41     'LANG_NAME' => 'ABAP',
    44     'COMMENT_SINGLE' => array(1 => '"', 2 => '*'),
    42     'COMMENT_SINGLE' => array(1 => '"', 2 => '*'),
       
    43     'COMMENT_MULTI' => array(),
    45     'CASE_KEYWORDS' => 0,
    44     'CASE_KEYWORDS' => 0,
    46 	'QUOTEMARKS' => array("'"),
    45     'QUOTEMARKS' => array("'"),
    47     'ESCAPE_CHAR' => '',
    46     'ESCAPE_CHAR' => '',
    48 	'KEYWORDS' => array(
    47     'KEYWORDS' => array(
    49 		1 => array(
    48         1 => array(
    50 			'if', 'return', 'while', 'case', 'default',
    49             'if', 'return', 'while', 'case', 'default',
    51             'do', 'else', 'for', 'endif', 'elseif', 'eq',
    50             'do', 'else', 'for', 'endif', 'elseif', 'eq',
    52             'not', 'and'
    51             'not', 'and'
    53 			),
    52             ),
    54 		2 => array(
    53         2 => array(
    55 			'data', 'types', 'seletion-screen', 'parameters', 'field-symbols', 'extern', 'inline'
    54             'data', 'types', 'seletion-screen', 'parameters', 'field-symbols', 'extern', 'inline'
    56 			),
    55             ),
    57 		3 => array(
    56         3 => array(
    58 			'report', 'write', 'append', 'select', 'endselect', 'call method', 'call function',
    57             'report', 'write', 'append', 'select', 'endselect', 'call method', 'call function',
    59 			'loop', 'endloop', 'raise', 'read table', 'concatenate', 'split', 'shift',
    58             'loop', 'endloop', 'raise', 'read table', 'concatenate', 'split', 'shift',
    60 			'condense', 'describe', 'clear', 'endfunction', 'assign', 'create data', 'translate',
    59             'condense', 'describe', 'clear', 'endfunction', 'assign', 'create data', 'translate',
    61 			'continue', 'start-of-selection', 'at selection-screen', 'modify', 'call screen',
    60             'continue', 'start-of-selection', 'at selection-screen', 'modify', 'call screen',
    62 			'create object', 'perform', 'form', 'endform',
    61             'create object', 'perform', 'form', 'endform',
    63 			'reuse_alv_block_list_init', 'zbcialv', 'include'
    62             'reuse_alv_block_list_init', 'zbcialv', 'include'
    64 			),
    63             ),
    65 		4 => array(
    64         4 => array(
    66 			'type ref to', 'type', 'begin of',  'end of', 'like', 'into',
    65             'type ref to', 'type', 'begin of',  'end of', 'like', 'into',
    67 			'from', 'where', 'order by', 'with key', 'into', 'string', 'separated by',
    66             'from', 'where', 'order by', 'with key', 'string', 'separated by',
    68             'exporting', 'importing', 'to upper case', 'to', 'exceptions', 'tables',
    67             'exporting', 'importing', 'to upper case', 'to', 'exceptions', 'tables',
    69             'using', 'changing'
    68             'using', 'changing'
    70 			),
    69             ),
    71 		),
    70         ),
    72 	'SYMBOLS' => array(
    71     'SYMBOLS' => array(
    73 		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
    72         '(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
    74 		),
    73         ),
    75 	'CASE_SENSITIVE' => array(
    74     'CASE_SENSITIVE' => array(
    76 		GESHI_COMMENTS => true,
    75         GESHI_COMMENTS => false,
    77 		1 => false,
    76         1 => false,
    78 		2 => false,
    77         2 => false,
    79 		3 => false,
    78         3 => false,
    80 		4 => false,
    79         4 => false,
    81 		),
    80         ),
    82 	'STYLES' => array(
    81     'STYLES' => array(
    83 		'KEYWORDS' => array(
    82         'KEYWORDS' => array(
    84 			1 => 'color: #b1b100;',
    83             1 => 'color: #b1b100;',
    85 			2 => 'color: #000000; font-weight: bold;',
    84             2 => 'color: #000000; font-weight: bold;',
    86 			3 => 'color: #000066;',
    85             3 => 'color: #000066;',
    87 			4 => 'color: #993333;'
    86             4 => 'color: #993333;'
    88 			),
    87             ),
    89 		'COMMENTS' => array(
    88         'COMMENTS' => array(
    90 			1 => 'color: #808080; font-style: italic;',
    89             1 => 'color: #808080; font-style: italic;',
    91 			2 => 'color: #339933;',
    90             2 => 'color: #339933;',
    92 			'MULTI' => 'color: #808080; font-style: italic;'
    91             'MULTI' => 'color: #808080; font-style: italic;'
    93 			),
    92             ),
    94 		'ESCAPE_CHAR' => array(
    93         'ESCAPE_CHAR' => array(
    95 			0 => 'color: #000099; font-weight: bold;'
    94             0 => 'color: #000099; font-weight: bold;'
    96 			),
    95             ),
    97 		'BRACKETS' => array(
    96         'BRACKETS' => array(
    98 			0 => 'color: #66cc66;'
    97             0 => 'color: #66cc66;'
    99 			),
    98             ),
   100 		'STRINGS' => array(
    99         'STRINGS' => array(
   101 			0 => 'color: #ff0000;'
   100             0 => 'color: #ff0000;'
   102 			),
   101             ),
   103 		'NUMBERS' => array(
   102         'NUMBERS' => array(
   104 			0 => 'color: #cc66cc;'
   103             0 => 'color: #cc66cc;'
   105 			),
   104             ),
   106 		'METHODS' => array(
   105         'METHODS' => array(
   107 			1 => 'color: #202020;',
   106             1 => 'color: #202020;',
   108 			2 => 'color: #202020;'
   107             2 => 'color: #202020;'
   109 			),
   108             ),
   110 		'SYMBOLS' => array(
   109         'SYMBOLS' => array(
   111 			0 => 'color: #66cc66;'
   110             0 => 'color: #66cc66;'
   112 			),
   111             ),
   113 		'REGEXPS' => array(
   112         'REGEXPS' => array(
   114 			),
   113             ),
   115 		'SCRIPT' => array(
   114         'SCRIPT' => array(
   116 			)
   115             )
   117 		),
   116         ),
   118 	'URLS' => array(
   117     'URLS' => array(
   119 		1 => '',
   118         1 => '',
   120 		2 => '',
   119         2 => '',
   121 		3 => 'http://sap4.com/wiki/index.php?title={FNAME}',
   120         3 => 'http://sap4.com/wiki/index.php?title={FNAMEL}',
   122 		4 => ''
   121         4 => ''
   123 		),
   122         ),
   124 	'OOLANG' => true,
   123     'OOLANG' => true,
   125 	'OBJECT_SPLITTERS' => array(
   124     'OBJECT_SPLITTERS' => array(
   126 		1 => '.',
   125         1 => '.',
   127 		2 => '::'
   126         2 => '::'
   128 		),
   127         ),
   129 	'REGEXPS' => array(
   128     'REGEXPS' => array(
   130 		),
   129         ),
   131 	'STRICT_MODE_APPLIES' => GESHI_NEVER,
   130     'STRICT_MODE_APPLIES' => GESHI_NEVER,
   132 	'SCRIPT_DELIMITERS' => array(
   131     'SCRIPT_DELIMITERS' => array(
   133 		),
   132         ),
   134 	'HIGHLIGHT_STRICT_BLOCK' => array(
   133     'HIGHLIGHT_STRICT_BLOCK' => array(
   135 		)
   134         )
   136 );
   135 );
   137 
   136 
   138 ?>
   137 ?>