ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
HFile_sap Class Reference
+ Inheritance diagram for HFile_sap:
+ Collaboration diagram for HFile_sap:

Public Member Functions

 HFile_sap ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 __construct ()
 
 parse_file ($file)
 
 to_perl ($stub, $tofile=1)
 
 to_php ($stub, $tofile=1)
 
 _get_categories ()
 
 _dump_linkscripts ()
 
 _dump_perl_linkscripts ()
 
 _dump_perl_defaultscripts ()
 
 _dump_colours ()
 
 _dump_var ($variable, $name)
 
 _dump_array ($array, $name)
 
 _dump_perl_array ($array, $name)
 
 _dump_hash ($hash, $name)
 
 _dump_perl_hash ($hash, $name)
 

Detailed Description

Definition at line 7 of file HFile_sap.php.

Member Function Documentation

◆ donothing()

HFile_sap::donothing (   $keywordin)

Definition at line 510 of file HFile_sap.php.

511  {
512  return $keywordin;
513  }

◆ HFile_sap()

HFile_sap::HFile_sap ( )

Definition at line 9 of file HFile_sap.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // SAP - ABAP/4
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "0";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array("FORM", "CONSTANTS:", "DATA:", "TABLES:", "TYPE-POOLS:", "PARAMETERS:", "FUNCITON", "IF", "ELSE", "ELSEIF", "SELECT", "LOOP", "DO", "WHILE", "CASE", "AT", "ON", "MODULE", "PROVIDE");
32  $this->unindent = array("ENDFORM", "ENDFUNCTION", "ENDIF", "ENDSELECT", "ENDLOOP", "ENDDO", "ENDWHILE", "ENDCASE", "ENDAT", "ENDON", "ENDMODULE", "ENDPROVIDE");
33 
34  // String characters and delimiters
35 
36  $this->stringchars = array();
37  $this->delimiters = array("~", "!", "@", "%", "^", "&", "*", "(", ")", "+", "=", "|", "\\", "/", "{", "}", "[", "]", ";", "\"", "'", "<", ">", " ", ".", ",", " ", " ", " ", " ", " ", " ", " ", " ", "?");
38  $this->escchar = "";
39 
40  // Comment settings
41 
42  $this->linecommenton = array("");
43  $this->blockcommenton = array("");
44  $this->blockcommentoff = array("");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "ABS" => "1",
50  "ACOS" => "1",
51  "ADD" => "1",
52  "ADD-CORRESPONDING" => "1",
53  "ADJACENT" => "1",
54  "ALL" => "1",
55  "AND" => "1",
56  "ANALYZER" => "1",
57  "APPEND" => "1",
58  "ASCENDING" => "1",
59  "ASIN" => "1",
60  "AT" => "1",
61  "ATAN" => "1",
62  "AUTHORITY-CHECK" => "1",
63  "AVG" => "1",
64  "BACK" => "1",
65  "BEGIN" => "1",
66  "BETWEEN" => "1",
67  "BINARY" => "1",
68  "BLANK" => "1",
69  "BLOCK" => "1",
70  "BREAK-POINT" => "1",
71  "BY" => "1",
72  "CA" => "1",
73  "CALL" => "1",
74  "CASE" => "1",
75  "CATCH" => "1",
76  "CEIL" => "1",
77  "CENTERED" => "1",
78  "CHANGE" => "1",
79  "CHECK" => "1",
80  "CHECKBOX" => "1",
81  "CLEAR" => "1",
82  "CLEAR:" => "1",
83  "CLOSE" => "1",
84  "CN" => "1",
85  "CNT" => "1",
86  "CO" => "1",
87  "COLLECT" => "1",
88  "COLOR" => "1",
89  "COMMIT" => "1",
90  "COMMUNICATION" => "1",
91  "COMPUTE" => "1",
92  "CONCATENATE" => "1",
93  "CONDENSE" => "1",
94  "CONSTANTS" => "1",
95  "CONSTANTS:" => "1",
96  "CONTINUE" => "1",
97  "CONTROL" => "1",
98  "CONTROLS" => "1",
99  "CONVERT" => "1",
100  "COPY" => "1",
101  "COS" => "1",
102  "COSH" => "1",
103  "COUNT" => "1",
104  "COUNTRY" => "1",
105  "CP" => "1",
106  "CURRENCY" => "1",
107  "CUSTOMER-FUNCTION" => "1",
108  "DATA" => "1",
109  "DATA:" => "1",
110  "DATASET" => "1",
111  "DECIMALS" => "1",
112  "DEFINE" => "1",
113  "DEFAULT" => "1",
114  "DELETE" => "1",
115  "DESCENDING" => "1",
116  "DESCRIBE" => "1",
117  "DIALOG" => "1",
118  "DISTINCT" => "1",
119  "DIV" => "1",
120  "DIVIDE" => "1",
121  "DIVIDE-CORRESPONDING" => "1",
122  "DO" => "1",
123  "DUPLICATES" => "1",
124  "EDITOR-CALL" => "1",
125  "ELSE" => "1",
126  "ELSEIF" => "1",
127  "END" => "1",
128  "ENDCATCH" => "1",
129  "END-OF-DEFINITION" => "1",
130  "END-OF-PAGE" => "1",
131  "END-OF-SELECTION" => "1",
132  "ENDAT" => "1",
133  "ENDCASE" => "1",
134  "ENDDO" => "1",
135  "ENDFORM" => "1",
136  "ENDFUNCTION" => "1",
137  "ENDIF" => "1",
138  "ENDLOOP" => "1",
139  "ENDMODULE" => "1",
140  "ENDON" => "1",
141  "ENDPROVIDE" => "1",
142  "ENDSELECT" => "1",
143  "ENDWHILE" => "1",
144  "ENTRIES" => "1",
145  "EQ" => "1",
146  "EXCEPTIONS" => "1",
147  "EXEC" => "1",
148  "EXIT" => "1",
149  "EXP" => "1",
150  "EXPONENT" => "1",
151  "EXPORT" => "1",
152  "EXPORTING" => "1",
153  "EXTENDED" => "1",
154  "EXTRACT" => "1",
155  "FETCH" => "1",
156  "FIELD-GROUP" => "1",
157  "FIELD-SYMBOLS" => "1",
158  "FIELD-SYMBOLS:" => "1",
159  "FLOOR" => "1",
160  "FOR" => "1",
161  "FORM" => "1",
162  "FORMAT" => "1",
163  "FRAC" => "1",
164  "FRAME" => "1",
165  "FREE" => "1",
166  "FROM" => "1",
167  "FUNCTION" => "1",
168  "FUNCTION-POOL" => "1",
169  "GE" => "1",
170  "GENERATE" => "1",
171  "GET" => "1",
172  "GT" => "1",
173  "HIDE" => "1",
174  "HOTSPOT" => "1",
175  "HEADER" => "1",
176  "HEADING." => "1",
177  "HEADING" => "1",
178  "ICON" => "1",
179  "IF" => "1",
180  "IMPORT" => "1",
181  "IMPORTING" => "1",
182  "IN" => "1",
183  "INCLUDE" => "1",
184  "INDEX" => "1",
185  "INFOTYPES" => "1",
186  "INITIAL" => "1",
187  "INITIALIZATION" => "1",
188  "INPUT" => "1",
189  "INSERT" => "1",
190  "INTO" => "1",
191  "INTENSIFIED" => "1",
192  "INVERSE" => "1",
193  "IS" => "1",
194  "KEY" => "1",
195  "LANGUAGE" => "1",
196  "LE" => "1",
197  "LEAVE" => "1",
198  "LEFT-JUSTIFIED" => "1",
199  "LIKE" => "1",
200  "LINE" => "1",
201  "LINE-COUNT" => "1",
202  "LINE-SIZE" => "1",
203  "LINES" => "1",
204  "LIST-PROCESSING" => "1",
205  "LOAD" => "1",
206  "LOCAL" => "1",
207  "LOCALE" => "1",
208  "LOG" => "1",
209  "LOG10" => "1",
210  "LOOP" => "1",
211  "LT" => "1",
212  "MESSAGE-ID" => "1",
213  "MESSAGE" => "1",
214  "M" => "1",
215  "MARGIN" => "1",
216  "MAX" => "1",
217  "MIN" => "1",
218  "MOD" => "1",
219  "MODE" => "1",
220  "MODIFY" => "1",
221  "MODULE" => "1",
222  "MOVE" => "1",
223  "MOVE-CORRESPONDING" => "1",
224  "MULTIPLY" => "1",
225  "MULTIPLY-CORRESPONDING" => "1",
226  "NA" => "1",
227  "NE" => "1",
228  "NEW-LINE" => "1",
229  "NEW-PAGE" => "1",
230  "NO-GAP" => "1",
231  "NO-HEADING" => "1",
232  "NO-SCROLLING" => "1",
233  "NO-SIGN" => "1",
234  "NO-TITLE" => "1",
235  "NO-ZERO" => "1",
236  "NOT" => "1",
237  "NP" => "1",
238  "NS" => "1",
239  "NO" => "1",
240  "STANDARD" => "1",
241  "PAGE" => "1",
242  "O" => "1",
243  "OBLIGATORY" => "1",
244  "OCCURS" => "1",
245  "OF" => "1",
246  "OFF" => "1",
247  "ON" => "1",
248  "OPEN" => "1",
249  "OR" => "1",
250  "ORDER" => "1",
251  "OUTPUT" => "1",
252  "OVERLAY" => "1",
253  "PACK" => "1",
254  "PARAMETERS" => "1",
255  "PARAMETERS:" => "1",
256  "PERFORM" => "1",
257  "PF-STATUS" => "1",
258  "POSITION" => "1",
259  "PRINT" => "1",
260  "PRINT-CONTROL" => "1",
261  "PROGRAM" => "1",
262  "PROVIDE" => "1",
263  "PUT" => "1",
264  "RADIOBUTTON" => "1",
265  "RAISE" => "1",
266  "RAISING" => "1",
267  "RANGES" => "1",
268  "READ" => "1",
269  "RECEIVE" => "1",
270  "REFRESH" => "1",
271  "REJECT" => "1",
272  "REPLACE" => "1",
273  "REPORT" => "1",
274  "RESERVE" => "1",
275  "RESET" => "1",
276  "RIGHT-JUSTIFIED" => "1",
277  "ROLLBACK" => "1",
278  "ROUND" => "1",
279  "RUN" => "1",
280  "SCAN" => "1",
281  "SCREEN" => "1",
282  "SCROLL" => "1",
283  "SCROLL-BOUNDARY" => "1",
284  "SEARCH" => "1",
285  "SELECT" => "1",
286  "SELECT-OPTIONS" => "1",
287  "SELECT-OPTIONS:" => "1",
288  "SELECTION-SCREEN" => "1",
289  "SELECTION-SCREEN:" => "1",
290  "SELECTION-TABLE" => "1",
291  "SET" => "1",
292  "SHIFT" => "1",
293  "SIGN" => "1",
294  "SIN" => "1",
295  "SINGLE" => "1",
296  "SINH" => "1",
297  "SKIP" => "1",
298  "SORT" => "1",
299  "SPACE" => "1",
300  "SPLIT" => "1",
301  "SQL" => "1",
302  "SQRT" => "1",
303  "START-OF-SELECTION" => "1",
304  "STATICS" => "1",
305  "STOP" => "1",
306  "STRLEN" => "1",
307  "STRUCTURE" => "1",
308  "SUBMIT" => "1",
309  "SUBSTRACT" => "1",
310  "SUBSTRACT-CORRESPONDING" => "1",
311  "SUM" => "1",
312  "SUPPRESS" => "1",
313  "SYMBOL" => "1",
314  "SYNTAX-CHECK" => "1",
315  "SYNTAX-TRACE" => "1",
316  "SYSTEM-EXCEPTIONS" => "1",
317  "TABLE" => "1",
318  "TABLES" => "1",
319  "TABLES:" => "1",
320  "TAN" => "1",
321  "TANH" => "1",
322  "THEN" => "1",
323  "TIME" => "1",
324  "TITLE" => "1",
325  "TITLEBAR" => "1",
326  "TO" => "1",
327  "TOP-OF-PAGE" => "1",
328  "TRANSACTION" => "1",
329  "TRANSFER" => "1",
330  "TRANSLATE" => "1",
331  "TRUNC" => "1",
332  "TYPE-POOLS" => "1",
333  "TYPE-POOL" => "1",
334  "TYPES" => "1",
335  "TYPE" => "1",
336  "ULINE" => "1",
337  "UNDER" => "1",
338  "UNIT" => "1",
339  "UNPACK" => "1",
340  "UPDATE" => "1",
341  "USER-COMMAND" => "1",
342  "USING" => "1",
343  "USING:" => "1",
344  "VALUE" => "1",
345  "WHEN" => "1",
346  "WHERE" => "1",
347  "WHILE" => "1",
348  "WINDOW" => "1",
349  "WITH" => "1",
350  "WITH-TITLE" => "1",
351  "WORK" => "1",
352  "WRITE" => "1",
353  "WRITE:" => "1",
354  "WRITE-TO" => "1",
355  "Z" => "1",
356  "BDCDATA" => "2",
357  "SY-ABCDE" => "2",
358  "SY-APPLI" => "2",
359  "SY-BATCH" => "2",
360  "SY-BATZD" => "2",
361  "SY-BATZM" => "2",
362  "SY-BATZO" => "2",
363  "SY-BATZS" => "2",
364  "SY-BATZW" => "2",
365  "SY-BINPT" => "2",
366  "SY-BREP4" => "2",
367  "SY-BSPLD" => "2",
368  "SY-CALLD" => "2",
369  "SY-CALLR" => "2",
370  "SY-CCURS" => "2",
371  "SY-CCURT" => "2",
372  "SY-CDATE" => "2",
373  "SY-COLNO" => "2",
374  "SY-CPAGE" => "2",
375  "SY-CPROG" => "2",
376  "SY-CTABL" => "2",
377  "SY-CTYPE" => "2",
378  "SY-CUCOL" => "2",
379  "SY-CUROW" => "2",
380  "SY-DATAR" => "2",
381  "SY-DATLO" => "2",
382  "SY-DATUM" => "2",
383  "SY-DATUT" => "2",
384  "SY-DAYST" => "2",
385  "SY-DBCNT" => "2",
386  "SY-DBNAM" => "2",
387  "SY-DBSYS" => "2",
388  "SY-DCSYS" => "2",
389  "SY-DSNAM" => "2",
390  "SY-DYNGR" => "2",
391  "SY-DYNNR" => "2",
392  "SY-FDAYW" => "2",
393  "SY-FDPOS" => "2",
394  "SY-FMKEY" => "2",
395  "SY-HOST" => "2",
396  "SY-INDEX" => "2",
397  "SY-LANGU" => "2",
398  "SY-LDBPG" => "2",
399  "SY-LILLI" => "2",
400  "SY-LINCT" => "2",
401  "SY-LINNO" => "2",
402  "SY-LINSZ" => "2",
403  "SY-LISEL" => "2",
404  "SY-LISTI" => "2",
405  "SY-LOCDB" => "2",
406  "SY-LOCOP" => "2",
407  "SY-LOOPC" => "2",
408  "SY-LSIND" => "2",
409  "SY-LSTAT" => "2",
410  "SY-MACDB" => "2",
411  "SY-MACOL" => "2",
412  "SY-MANDT" => "2",
413  "SY-MARKY" => "2",
414  "SY-MAROW" => "2",
415  "SY-MODNO" => "2",
416  "SY-MSGID" => "2",
417  "SY-MSGLI" => "2",
418  "SY-MSGNO" => "2",
419  "SY-MSGTY" => "2",
420  "SY-MSGV1" => "2",
421  "SY-MSGV2" => "2",
422  "SY-MSGV3" => "2",
423  "SY-MSGV4" => "2",
424  "SY-OPSYS" => "2",
425  "SY-PAART" => "2",
426  "SY-PAGCT" => "2",
427  "SY-PAGNO" => "2",
428  "SY-PDEST" => "2",
429  "SY-PEXPI" => "2",
430  "SY-PFKEY" => "2",
431  "SY-PLIST" => "2",
432  "SY-PRABT" => "2",
433  "SY-PRBIG" => "2",
434  "SY-PRCOP" => "2",
435  "SY-PRDSN" => "2",
436  "SY-PREFX" => "2",
437  "SY-PRIMM" => "2",
438  "SY-PRNEW" => "2",
439  "SY-PRREC" => "2",
440  "SY-PRREL" => "2",
441  "SY-PRTXT" => "2",
442  "SY-REPID" => "2",
443  "SY-SPONR" => "2",
444  "SY-SROWS" => "2",
445  "SY-STACO" => "2",
446  "SY-STARO" => "2",
447  "SY-STEPL" => "2",
448  "SY-SUBRC" => "2",
449  "SY-SUBTY" => "2",
450  "SY-SYSID" => "2",
451  "SY-TABIX" => "2",
452  "SY-TCODE" => "2",
453  "SY-TFDSN" => "2",
454  "SY-TFILL" => "2",
455  "SY-TIMLO" => "2",
456  "SY-TIMUT" => "2",
457  "SY-TITLE" => "2",
458  "SY-TLENG" => "2",
459  "SY-TMAXL" => "2",
460  "SY-TNAME" => "2",
461  "SY-TOCCU" => "2",
462  "SY-TPAGI" => "2",
463  "SY-TSTLO" => "2",
464  "SY-TSTUT" => "2",
465  "SY-TTABC" => "2",
466  "SY-TTABI" => "2",
467  "SY-TVAR0" => "2",
468  "SY-TVAR1" => "2",
469  "SY-TVAR2" => "2",
470  "SY-TVAR3" => "2",
471  "SY-TVAR4" => "2",
472  "SY-TVAR5" => "2",
473  "SY-TVAR6" => "2",
474  "SY-TVAR7" => "2",
475  "SY-TVAR8" => "2",
476  "SY-TVAR9" => "2",
477  "SY-TZONE" => "2",
478  "SY-UCOMM" => "2",
479  "SY-ULINE" => "2",
480  "SY-UNAME" => "2",
481  "SY-UZEIT" => "2",
482  "SY-VLINE" => "2",
483  "SY-WAERS" => "2",
484  "SY-WILLI" => "2",
485  "SY-WINCO" => "2",
486  "SY-WINDI" => "2",
487  "SY-WINRO" => "2",
488  "SY-WINSL" => "2",
489  "SY-WINX2" => "2",
490  "SY-WINXI" => "2",
491  "SY-WINY1" => "2",
492  "SY-WINY2" => "2",
493  "SY-WTITL" => "2",
494  "SY-XCODE" => "2",
495  "SY-ZON" => "2");
496 
497  // Special extensions
498 
499  // Each category can specify a PHP function that returns an altered
500  // version of the keyword.
501 
502 
503 
504  $this->linkscripts = array(
505  "1" => "donothing",
506  "2" => "donothing");
507  }
Create styles array
The data for the language used.
Definition: HFile.php:21

The documentation for this class was generated from the following file: