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

Public Member Functions

 HFile_makefile ()
 
 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_makefile.php.

Member Function Documentation

◆ donothing()

HFile_makefile::donothing (   $keywordin)

Definition at line 76 of file HFile_makefile.php.

77  {
78  return $keywordin;
79  }

◆ HFile_makefile()

HFile_makefile::HFile_makefile ( )

Definition at line 9 of file HFile_makefile.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // Makefiles
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();
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  ".DEFAULT:" => "1",
50  ".IGNORE:" => "1",
51  ".PRECIOUS:" => "1",
52  ".SILENT:" => "1",
53  ".SUFFIXES" => "1",
54  "?" => "2",
55  "@" => "2",
56  "$" => "2",
57  "$@" => "2",
58  "<" => "2",
59  "*" => "2",
60  "%" => "2",
61  "()" => "2");
62 
63  // Special extensions
64 
65  // Each category can specify a PHP function that returns an altered
66  // version of the keyword.
67 
68 
69 
70  $this->linkscripts = array(
71  "1" => "donothing",
72  "2" => "donothing");
73  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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