ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
HFile_map Class Reference
+ Inheritance diagram for HFile_map:
+ Collaboration diagram for HFile_map:

Public Member Functions

 HFile_map ()
 
 donothing ($keywordin)
 
- Public Member Functions inherited from HFile
 HFile ()
 
 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 5 of file HFile_map.php.

Member Function Documentation

◆ donothing()

HFile_map::donothing (   $keywordin)

Definition at line 131 of file HFile_map.php.

132 {
133  return $keywordin;
134 }

◆ HFile_map()

HFile_map::HFile_map ( )

Definition at line 6 of file HFile_map.php.

References HFile\HFile().

6  {
7  $this->HFile();
8 /*************************************/
9 // Beautifier Highlighting Configuration File
10 // MAP File
11 /*************************************/
12 // Flags
13 
14 $this->nocase = "0";
15 $this->notrim = "0";
16 $this->perl = "0";
17 
18 // Colours
19 
20 $this->colours = array("blue", "purple", "gray", "brown", "blue", "purple", "gray", "brown");
21 $this->quotecolour = "blue";
22 $this->blockcommentcolour = "green";
23 $this->linecommentcolour = "green";
24 
25 // Indent Strings
26 
27 $this->indent = array();
28 $this->unindent = array();
29 
30 // String characters and delimiters
31 
32 $this->stringchars = array();
33 $this->delimiters = array(".", " ", ",", " ", ":");
34 $this->escchar = "";
35 
36 // Comment settings
37 
38 $this->linecommenton = array("");
39 $this->blockcommenton = array("");
40 $this->blockcommentoff = array("");
41 
42 // Keywords (keyword mapping to colour number)
43 
44 $this->keywords = array(
45  "BIT" => "1",
46  "BTW" => "1",
47  "BYT" => "1",
48  "CODE" => "1",
49  "D16" => "1",
50  "DATA" => "1",
51  "DT3" => "1",
52  "DT4" => "1",
53  "DT8" => "1",
54  "FAR" => "1",
55  "HDAT" => "1",
56  "INT" => "1",
57  "LDAT" => "1",
58  "NEA" => "1",
59  "PDAT" => "1",
60  "REG" => "1",
61  "TSK" => "1",
62  "WOR" => "1",
63  "BITA" => "2",
64  "BYTE" => "2",
65  "DWORD" => "2",
66  "IRAM" => "2",
67  "PAGE" => "2",
68  "PECA" => "2",
69  "SEGM" => "2",
70  "WORD" => "2",
71  "AT" => "3",
72  "COMM" => "3",
73  "GLOB" => "3",
74  "GUSK" => "3",
75  "PRIV" => "3",
76  "PUBL" => "3",
77  "SSTK" => "3",
78  "USTK" => "3",
79  "ABS" => "4",
80  "RAM" => "4",
81  "ROM" => "5",
82  "Reserved" => "5",
83  "?FI" => "6",
84  "?LI" => "6",
85  "?SY" => "6",
86  "EXT" => "6",
87  "GLB" => "6",
88  "LOC" => "6",
89  "PUB" => "6",
90  "CBITS" => "7",
91  "CBITWORDS" => "7",
92  "CFAR" => "7",
93  "CFARROM" => "7",
94  "CHUGE" => "7",
95  "CHUGEROM" => "7",
96  "CINITROM" => "7",
97  "CIRAM" => "7",
98  "CNEAR" => "7",
99  "CNEAR2" => "7",
100  "CPROGRAM" => "7",
101  "CROM" => "7",
102  "CSHUGE" => "7",
103  "CSHUGEROM" => "7",
104  "CSYSTEM" => "7",
105  "CUSTACK" => "7",
106  "C_INIT" => "7",
107  "CLIBRARY" => "8",
108  "RTLIBRARY" => "8",
109  "SHAREDCLIB" => "8",
110  "SHAREDRTLIB" => "8");
111 
112 // Special extensions
113 
114 // Each category can specify a PHP function that returns an altered
115 // version of the keyword.
116 
117 
118 
119 $this->linkscripts = array(
120  "1" => "donothing",
121  "2" => "donothing",
122  "3" => "donothing",
123  "4" => "donothing",
124  "5" => "donothing",
125  "6" => "donothing",
126  "7" => "donothing",
127  "8" => "donothing");
128 }
HFile()
Definition: HFile.php:24
+ Here is the call graph for this function:

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