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

Public Member Functions

 HFile_teradatasql ()
 
 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_teradatasql.php.

Member Function Documentation

◆ donothing()

HFile_teradatasql::donothing (   $keywordin)

Definition at line 483 of file HFile_teradatasql.php.

484  {
485  return $keywordin;
486  }

◆ HFile_teradatasql()

HFile_teradatasql::HFile_teradatasql ( )

Definition at line 9 of file HFile_teradatasql.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Teradata SQL
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", "gray", "purple");
25  $this->quotecolour = "blue";
26  $this->blockcommentcolour = "green";
27  $this->linecommentcolour = "green";
28 
29  // Indent Strings
30 
31  $this->indent = array();
32  $this->unindent = array();
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  "ABORT" => "1",
50  "ABORTSESSION" => "1",
51  "ABS" => "1",
52  "ACCESS_LOCK" => "1",
53  "ACCOUNT" => "1",
54  "ADD" => "1",
55  "ADD_MONTHS" => "1",
56  "AFTER" => "1",
57  "ALIAS" => "1",
58  "ALL" => "1",
59  "ALTER" => "1",
60  "AMP" => "1",
61  "AND" => "1",
62  "ANSIDATE" => "1",
63  "ANY" => "1",
64  "AS" => "1",
65  "ASC" => "1",
66  "ASCII" => "1",
67  "AT" => "1",
68  "ATOMIC" => "1",
69  "AUTHORIZATION" => "1",
70  "AVE" => "1",
71  "AVERAGE" => "1",
72  "AVG" => "1",
73  "BACKUP" => "1",
74  "BEFORE" => "1",
75  "BEGIN" => "1",
76  "BETWEEN" => "1",
77  "BOTH" => "1",
78  "BT" => "1",
79  "BUT" => "1",
80  "BY" => "1",
81  "BYTE" => "1",
82  "BYTEINT" => "1",
83  "BYTES" => "1",
84  "CASE" => "1",
85  "CASESPECIFIC" => "1",
86  "CAST" => "1",
87  "CD" => "1",
88  "CHAR" => "1",
89  "CHAR2HEXINT" => "1",
90  "CHARACTER" => "1",
91  "CHARACTERS" => "1",
92  "CHARACTER_LENGTH" => "1",
93  "CHARS" => "1",
94  "CHAR_LENGTH" => "1",
95  "CHECK" => "1",
96  "CHECKPOINT" => "1",
97  "CHECKSUM" => "1",
98  "CLUSTER" => "1",
99  "CM" => "1",
100  "COALESCE" => "1",
101  "COLLATION" => "1",
102  "COLLECT" => "1",
103  "COLUMN" => "1",
104  "COMMENT" => "1",
105  "COMMIT" => "1",
106  "COMPRESS" => "1",
107  "CONSTRAINT" => "1",
108  "CONVERT" => "1",
109  "CONVERT_TABLE_HEADER" => "1",
110  "COUNT" => "1",
111  "CREATE" => "1",
112  "CROSS" => "1",
113  "CS" => "1",
114  "CSUM" => "1",
115  "CT" => "1",
116  "CURRENT" => "1",
117  "CURRENT_DATE" => "1",
118  "CURRENT_TIME" => "1",
119  "CURRENT_TIMESTAMP" => "1",
120  "CURSOR" => "1",
121  "CV" => "1",
122  "DATABASE" => "1",
123  "DATABLOCKSIZE" => "1",
124  "DATE" => "1",
125  "DATEFORM" => "1",
126  "DAY" => "1",
127  "DEC" => "1",
128  "DECIMAL" => "1",
129  "DEFAULT" => "1",
130  "DEL" => "1",
131  "DELETE" => "1",
132  "DESC" => "1",
133  "DESCRIPTOR" => "1",
134  "DIAGNOSTIC" => "1",
135  "DISABLED" => "1",
136  "DISTINCT" => "1",
137  "DOUBLE" => "1",
138  "DROP" => "1",
139  "DUAL" => "1",
140  "DUMP" => "1",
141  "EACH" => "1",
142  "EBCDIC" => "1",
143  "ECHO" => "1",
144  "ELSE" => "1",
145  "ENABLED" => "1",
146  "END" => "1",
147  "EQ" => "1",
148  "ERROR" => "1",
149  "ERRORFILES" => "1",
150  "ERRORTABLES" => "1",
151  "ESCAPE" => "1",
152  "ET" => "1",
153  "EXCEPT" => "1",
154  "EXCL" => "1",
155  "EXCLUSIVE" => "1",
156  "EXEC" => "1",
157  "EXECUTE" => "1",
158  "EXISTS" => "1",
159  "EXP" => "1",
160  "EXPLAIN" => "1",
161  "EXTRACT" => "1",
162  "FALLBACK" => "1",
163  "FASTEXPORT" => "1",
164  "FIRST" => "1",
165  "FLOAT" => "1",
166  "FOR" => "1",
167  "FOREIGN" => "1",
168  "FORMAT" => "1",
169  "FREESPACE" => "1",
170  "FROM" => "1",
171  "FULL" => "1",
172  "GE" => "1",
173  "GIVE" => "1",
174  "GLOBAL" => "1",
175  "GO" => "1",
176  "GOTO" => "1",
177  "GRANT" => "1",
178  "GRAPHIC" => "1",
179  "GROUP" => "1",
180  "GT" => "1",
181  "HASH" => "1",
182  "HASHAMP" => "1",
183  "HASHBAKAMP" => "1",
184  "HASHBUCKET" => "1",
185  "HASHROW" => "1",
186  "HAVING" => "1",
187  "HELP" => "1",
188  "HOUR" => "1",
189  "IMMEDIATE" => "1",
190  "IN" => "1",
191  "INCONSISTENT" => "1",
192  "INDEX" => "1",
193  "INDICATOR" => "1",
194  "INITIATE" => "1",
195  "INNER" => "1",
196  "INS" => "1",
197  "INSERT" => "1",
198  "INSTEAD" => "1",
199  "INT" => "1",
200  "INTEGER" => "1",
201  "INTEGERDATE" => "1",
202  "INTERSECT" => "1",
203  "INTERVAL" => "1",
204  "INTO" => "1",
205  "IS" => "1",
206  "JOIN" => "1",
207  "JOURNAL" => "1",
208  "KANJI1" => "1",
209  "KANJISJIS" => "1",
210  "KBYTES" => "1",
211  "KEY" => "1",
212  "KILOBYTES" => "1",
213  "LAST" => "1",
214  "LATIN" => "1",
215  "LE" => "1",
216  "LEADING" => "1",
217  "LEFT" => "1",
218  "LEVEL" => "1",
219  "LIKE" => "1",
220  "LN" => "1",
221  "LOADING" => "1",
222  "LOCAL" => "1",
223  "LOCK" => "1",
224  "LOCKING" => "1",
225  "LOG" => "1",
226  "LOGGING" => "1",
227  "LOGON" => "1",
228  "LONG" => "1",
229  "LOWER" => "1",
230  "LT" => "1",
231  "MACRO" => "1",
232  "MAVG" => "1",
233  "MAX" => "1",
234  "MAXIMUM" => "1",
235  "MCHARACTERS" => "1",
236  "MDIFF" => "1",
237  "MIN" => "1",
238  "MINDEX" => "1",
239  "MINIMUM" => "1",
240  "MINUS" => "1",
241  "MINUTE" => "1",
242  "MLINREG" => "1",
243  "MLOAD" => "1",
244  "MOD" => "1",
245  "MODE" => "1",
246  "MODIFY" => "1",
247  "MONITOR" => "1",
248  "MONRESOURCE" => "1",
249  "MONSESSION" => "1",
250  "MONTH" => "1",
251  "MSUBSTR" => "1",
252  "MSUM" => "1",
253  "MULTISET" => "1",
254  "NAMED" => "1",
255  "NATURAL" => "1",
256  "NE" => "1",
257  "NEW" => "1",
258  "NEW_TABLE" => "1",
259  "NO" => "1",
260  "NOT" => "1",
261  "NOWAIT" => "1",
262  "NULL" => "1",
263  "NULLIF" => "1",
264  "NULLIFZERO" => "1",
265  "NUMERIC" => "1",
266  "OCTET_LENGTH" => "1",
267  "OF" => "1",
268  "OFF" => "1",
269  "OLD" => "1",
270  "OLD_TABLE" => "1",
271  "ON" => "1",
272  "OPTION" => "1",
273  "OR" => "1",
274  "ORDER" => "1",
275  "OUTER" => "1",
276  "OVERLAP" => "1",
277  "OVERLAPS" => "1",
278  "OVERRIDE" => "1",
279  "PASSWORD" => "1",
280  "PERCENT" => "1",
281  "PERM" => "1",
282  "PERMANENT" => "1",
283  "PN" => "1",
284  "POSITION" => "1",
285  "PRECISION" => "1",
286  "PRESERVE" => "1",
287  "PRIMARY" => "1",
288  "PRIVATE" => "1",
289  "PRIVILEGES" => "1",
290  "PROTECTION" => "1",
291  "PUBLIC" => "1",
292  "QUALIFY" => "1",
293  "QUANTILE" => "1",
294  "RANK" => "1",
295  "READ" => "1",
296  "REAL" => "1",
297  "REFERENCES" => "1",
298  "REFERENCING" => "1",
299  "RELEASE" => "1",
300  "RENAME" => "1",
301  "REPLACE" => "1",
302  "REPLICATION" => "1",
303  "REPOVERRIDE" => "1",
304  "REQUEST" => "1",
305  "RESTART" => "1",
306  "RESTORE" => "1",
307  "RESUME" => "1",
308  "RET" => "1",
309  "RETRIEVE" => "1",
310  "REVALIDATE" => "1",
311  "REVOKE" => "1",
312  "RIGHT" => "1",
313  "RIGHTS" => "1",
314  "ROLE" => "1",
315  "ROLLBACK" => "1",
316  "ROLLFORWARD" => "1",
317  "ROW" => "1",
318  "ROWID" => "1",
319  "SAMPLE" => "1",
320  "SAMPLEID" => "1",
321  "SECOND" => "1",
322  "SEL" => "1",
323  "SELECT" => "1",
324  "SESSION" => "1",
325  "SET" => "1",
326  "SETRESRATE" => "1",
327  "SETSESSRATE" => "1",
328  "SHARE" => "1",
329  "SHOW" => "1",
330  "SMALLINT" => "1",
331  "SOME" => "1",
332  "SPOOL" => "1",
333  "SQRT" => "1",
334  "SS" => "1",
335  "STARTUP" => "1",
336  "STATEMENT" => "1",
337  "STATISTICS" => "1",
338  "STRING_CHK" => "1",
339  "STRING_CS" => "1",
340  "SUBSCRIBER" => "1",
341  "SUBSTR" => "1",
342  "SUBSTRING" => "1",
343  "SUM" => "1",
344  "SUSPEND" => "1",
345  "SYS_CALENDAR" => "1",
346  "TABLE" => "1",
347  "TBL_CS" => "1",
348  "TEMPORARY" => "1",
349  "TERMINATE" => "1",
350  "THEN" => "1",
351  "TIME" => "1",
352  "TIMESTAMP" => "1",
353  "TIMEZONE_HOUR" => "1",
354  "TIMEZONE_MINUTE" => "1",
355  "TITLE" => "1",
356  "TO" => "1",
357  "TRAILING" => "1",
358  "TRANSACTION" => "1",
359  "TRANSLATE" => "1",
360  "TRANSLATE_CHK" => "1",
361  "TRIGGER" => "1",
362  "TRIM" => "1",
363  "TYPE" => "1",
364  "UC" => "1",
365  "UNDEFINED" => "1",
366  "UNICODE" => "1",
367  "UNION" => "1",
368  "UNIQUE" => "1",
369  "UPD" => "1",
370  "UPDATE" => "1",
371  "UPPER" => "1",
372  "UPPERCASE" => "1",
373  "USER" => "1",
374  "USING" => "1",
375  "VALUES" => "1",
376  "VARBYTE" => "1",
377  "VARCHAR" => "1",
378  "VARGRAPHIC" => "1",
379  "VARYING" => "1",
380  "VIEW" => "1",
381  "VOLATILE" => "1",
382  "WAIT" => "1",
383  "WHEN" => "1",
384  "WHERE" => "1",
385  "WITH" => "1",
386  "WORK" => "1",
387  "WRITE" => "1",
388  "YEAR" => "1",
389  "ZEROIFNULL" => "1",
390  "ZONE" => "1",
391  "=" => "3",
392  "BTEQ" => "2",
393  "CHARSET" => "2",
394  "CMS" => "2",
395  "CONTROLS" => "2",
396  "DEFAULTS" => "2",
397  "ECHOREQ" => "2",
398  "ERRORLEVEL" => "2",
399  "ERROROUT" => "2",
400  "EXECUTION" => "2",
401  "EXIT" => "2",
402  "EXPORT" => "2",
403  "FOLDLINE" => "2",
404  "FOOTING" => "2",
405  "FORMCHAR" => "2",
406  "HALT" => "2",
407  "HANG" => "2",
408  "HEADING" => "2",
409  "IF" => "2",
410  "IMPORT" => "2",
411  "INDICDATA" => "2",
412  "LABEL" => "2",
413  "LOGOFF" => "2",
414  "MAXERROR" => "2",
415  "OMIT" => "2",
416  "PAGEBREAK" => "2",
417  "PAGELENGTH" => "2",
418  "QUIET" => "2",
419  "QUIT" => "2",
420  "RECORDMODE" => "2",
421  "REMARK" => "2",
422  "REPEAT" => "2",
423  "RETCANCEL" => "2",
424  "RETLIMIT" => "2",
425  "RETRY" => "2",
426  "RTITLE" => "2",
427  "RUN" => "2",
428  "SEPARATOR" => "2",
429  "SESSIONS" => "2",
430  "SIDETITLES" => "2",
431  "SKIPDOUBLE" => "2",
432  "SKIPLINE" => "2",
433  "SQLFLAG" => "2",
434  "SUPPRESS" => "2",
435  "TDP" => "2",
436  "TITLEDASHES" => "2",
437  "TSO" => "2",
438  "UNDERLINE" => "2",
439  "VERSIONS" => "2",
440  "WIDTH" => "2",
441  "!" => "3",
442  "\"" => "3",
443  "$" => "3",
444  "%" => "3",
445  "&" => "3",
446  "'" => "3",
447  "(" => "3",
448  ")" => "3",
449  "*" => "3",
450  "+" => "3",
451  "," => "3",
452  "-" => "3",
453  "." => "3",
454  ":" => "3",
455  ";" => "3",
456  "<" => "3",
457  ">" => "3",
458  "?" => "3",
459  "@" => "3",
460  "[" => "3",
461  "\\" => "3",
462  "]" => "3",
463  "^" => "3",
464  "{" => "3",
465  "|" => "3",
466  "}" => "3",
467  "~" => "3");
468 
469  // Special extensions
470 
471  // Each category can specify a PHP function that returns an altered
472  // version of the keyword.
473 
474 
475 
476  $this->linkscripts = array(
477  "1" => "donothing",
478  "3" => "donothing",
479  "2" => "donothing");
480  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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