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