openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

abap.php (3913B)


      1 <?php
      2 /*************************************************************************************
      3  * abap.php
      4  * --------
      5  * Author: Andres Picazo (andres@andrespicazo.com)
      6  * Copyright: (c) 2007 Andres Picazo
      7  * Release Version: 1.0.7.20
      8  * CVS Revision Version: $Revision$
      9  * Date Started: 2004/06/04
     10  * Last Modified: $Date$
     11  *
     12  * ABAP language file for GeSHi.
     13  *
     14  * CHANGES
     15  * -------
     16  * 2007/06/27 (1.0.0)
     17  *   -  First Release
     18  *
     19  * TODO
     20  * ----
     21  *
     22  *************************************************************************************
     23  *
     24  *     This file is part of GeSHi.
     25  *
     26  *   GeSHi is free software; you can redistribute it and/or modify
     27  *   it under the terms of the GNU General Public License as published by
     28  *   the Free Software Foundation; either version 2 of the License, or
     29  *   (at your option) any later version.
     30  *
     31  *   GeSHi is distributed in the hope that it will be useful,
     32  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
     33  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     34  *   GNU General Public License for more details.
     35  *
     36  *   You should have received a copy of the GNU General Public License
     37  *   along with GeSHi; if not, write to the Free Software
     38  *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     39  *
     40  ************************************************************************************/
     41 
     42 $language_data = array (
     43 	'LANG_NAME' => 'ABAP',
     44     'COMMENT_SINGLE' => array(1 => '"', 2 => '*'),
     45     'CASE_KEYWORDS' => 0,
     46 	'QUOTEMARKS' => array("'"),
     47     'ESCAPE_CHAR' => '',
     48 	'KEYWORDS' => array(
     49 		1 => array(
     50 			'if', 'return', 'while', 'case', 'default',
     51             'do', 'else', 'for', 'endif', 'elseif', 'eq',
     52             'not', 'and'
     53 			),
     54 		2 => array(
     55 			'data', 'types', 'seletion-screen', 'parameters', 'field-symbols', 'extern', 'inline'
     56 			),
     57 		3 => array(
     58 			'report', 'write', 'append', 'select', 'endselect', 'call method', 'call function',
     59 			'loop', 'endloop', 'raise', 'read table', 'concatenate', 'split', 'shift',
     60 			'condense', 'describe', 'clear', 'endfunction', 'assign', 'create data', 'translate',
     61 			'continue', 'start-of-selection', 'at selection-screen', 'modify', 'call screen',
     62 			'create object', 'perform', 'form', 'endform',
     63 			'reuse_alv_block_list_init', 'zbcialv', 'include'
     64 			),
     65 		4 => array(
     66 			'type ref to', 'type', 'begin of',  'end of', 'like', 'into',
     67 			'from', 'where', 'order by', 'with key', 'into', 'string', 'separated by',
     68             'exporting', 'importing', 'to upper case', 'to', 'exceptions', 'tables',
     69             'using', 'changing'
     70 			),
     71 		),
     72 	'SYMBOLS' => array(
     73 		'(', ')', '{', '}', '[', ']', '=', '+', '-', '*', '/', '!', '%', '^', '&', ':'
     74 		),
     75 	'CASE_SENSITIVE' => array(
     76 		GESHI_COMMENTS => true,
     77 		1 => false,
     78 		2 => false,
     79 		3 => false,
     80 		4 => false,
     81 		),
     82 	'STYLES' => array(
     83 		'KEYWORDS' => array(
     84 			1 => 'color: #b1b100;',
     85 			2 => 'color: #000000; font-weight: bold;',
     86 			3 => 'color: #000066;',
     87 			4 => 'color: #993333;'
     88 			),
     89 		'COMMENTS' => array(
     90 			1 => 'color: #808080; font-style: italic;',
     91 			2 => 'color: #339933;',
     92 			'MULTI' => 'color: #808080; font-style: italic;'
     93 			),
     94 		'ESCAPE_CHAR' => array(
     95 			0 => 'color: #000099; font-weight: bold;'
     96 			),
     97 		'BRACKETS' => array(
     98 			0 => 'color: #66cc66;'
     99 			),
    100 		'STRINGS' => array(
    101 			0 => 'color: #ff0000;'
    102 			),
    103 		'NUMBERS' => array(
    104 			0 => 'color: #cc66cc;'
    105 			),
    106 		'METHODS' => array(
    107 			1 => 'color: #202020;',
    108 			2 => 'color: #202020;'
    109 			),
    110 		'SYMBOLS' => array(
    111 			0 => 'color: #66cc66;'
    112 			),
    113 		'REGEXPS' => array(
    114 			),
    115 		'SCRIPT' => array(
    116 			)
    117 		),
    118 	'URLS' => array(
    119 		1 => '',
    120 		2 => '',
    121 		3 => 'http://sap4.com/wiki/index.php?title={FNAME}',
    122 		4 => ''
    123 		),
    124 	'OOLANG' => true,
    125 	'OBJECT_SPLITTERS' => array(
    126 		1 => '.',
    127 		2 => '::'
    128 		),
    129 	'REGEXPS' => array(
    130 		),
    131 	'STRICT_MODE_APPLIES' => GESHI_NEVER,
    132 	'SCRIPT_DELIMITERS' => array(
    133 		),
    134 	'HIGHLIGHT_STRICT_BLOCK' => array(
    135 		)
    136 );
    137 
    138 ?>