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

Public Member Functions

 HFile_ugapt ()
 
 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_ugapt.php.

Member Function Documentation

◆ donothing()

HFile_ugapt::donothing (   $keywordin)

Definition at line 104 of file HFile_ugapt.php.

105  {
106  return $keywordin;
107  }

◆ HFile_ugapt()

HFile_ugapt::HFile_ugapt ( )

Definition at line 9 of file HFile_ugapt.php.

References array.

10  {
11  $this->HFile();
12  /*************************************/
13  // Beautifier Highlighting Configuration File
14  // UG/APT Source
15  /*************************************/
16  // Flags
17 
18  $this->nocase = "1";
19  $this->notrim = "0";
20  $this->perl = "0";
21 
22  // Colours
23 
24  $this->colours = array("blue", "purple", "brown", "blue", "purple", "gray", "brown");
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("PPR");
43  $this->blockcommenton = array("$");
44  $this->blockcommentoff = array("");
45 
46  // Keywords (keyword mapping to colour number)
47 
48  $this->keywords = array(
49  "CALL" => "1",
50  "CHOOSE" => "1",
51  "GPOS" => "1",
52  "IDENT" => "1",
53  "LOAD" => "1",
54  "MACRO" => "1",
55  "PARAM" => "1",
56  "TERMAC" => "1",
57  "TEXT" => "1",
58  "RAPID" => "2",
59  "AUXFUN" => "4",
60  "INSERT" => "4",
61  "IF" => "4",
62  "JUMP" => "4",
63  "MODE" => "4",
64  "PLABEL" => "4",
65  "POSTN" => "4",
66  "PREFUN" => "4",
67  "COPY" => "5",
68  "INDEX" => "5",
69  "OPSKIP" => "5",
70  "TRACUT" => "5",
71  "TRANS" => "5",
72  "APPEND" => "6",
73  "CREATE" => "6",
74  "DELIM" => "6",
75  "FILE" => "6",
76  "FETCH" => "6",
77  "FPRINT" => "6",
78  "FTERM" => "6",
79  "READ" => "6",
80  "RESET" => "6",
81  "WRITE" => "6",
82  "LOADTL" => "7",
83  "COOLNT" => "8",
84  "SPINDL" => "8");
85 
86  // Special extensions
87 
88  // Each category can specify a PHP function that returns an altered
89  // version of the keyword.
90 
91 
92 
93  $this->linkscripts = array(
94  "1" => "donothing",
95  "2" => "donothing",
96  "4" => "donothing",
97  "5" => "donothing",
98  "6" => "donothing",
99  "7" => "donothing",
100  "8" => "donothing");
101  }
Create styles array
The data for the language used.
Definition: HFile.php:21

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